chat.freenode.net #tryton log beginning Fri May 14 12:00:01 AM CEST 2021 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 00:02 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 05:03 | |
-!- Timitos(~kpreisler@2001:a61:4ac:5b01:762b:62ff:fe84:ed7e) has joined #tryton | 05:38 | |
-!- lucascastro(~lucascast@177-185-139-167.dynamic.isotelco.net.br) has joined #tryton | 06:55 | |
-!- thaneor(~ldlc6@r167-61-5-6.dialup.adsl.anteldata.net.uy) has joined #tryton | 06:58 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 07:00 | |
-!- thaneor2(~acer8@r167-61-43-162.dialup.adsl.anteldata.net.uy) has joined #tryton | 08:37 | |
-!- thaneor(~ldlc6@r167-61-43-162.dialup.adsl.anteldata.net.uy) has joined #tryton | 08:53 | |
-!- rpit(~rpit@p200300c88f3713003fac4e9ad4ba86e0.dip0.t-ipconnect.de) has joined #tryton | 08:55 | |
-!- mariomop(~quassel@181.29.189.235) has joined #tryton | 11:02 | |
-!- mariomop(~quassel@181.29.189.235) has joined #tryton | 11:13 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 12:10 | |
-!- LordVan(~lordvan@gentoo/developer/LordVan) has joined #tryton | 13:25 | |
LordVan | hi | 13:26 |
---|---|---|
LordVan | I was just wondering | 13:46 |
LordVan | When I have invoices with articles | 13:46 |
LordVan | linked to sale lines. what data gets duplicated for invoice purposes / sale purposes and what just linked? | 13:47 |
LordVan | I did some tests but have not finished yet so i thought maybe someone happens to know | 13:47 |
LordVan | basically "historical" sale data / invoice data should be always what it was at point of sale/invoice ofc | 13:48 |
cedk | LordVan: well only what is stored on the model | 14:04 |
LordVan | of course yes. as I said i have not finished looking into it / testing yet | 14:06 |
LordVan | but doesn't that cause issues with historical records sometimes? | 14:06 |
pokoli | LordVan: you have the full details. If the customer ordered 5 units at 10€ but finally paid just 9€ each you will see on the linked invoice | 14:17 |
LordVan | pokoli, yes | 14:17 |
LordVan | but the product name is not copied from what i can see | 14:18 |
LordVan | so technically speaking i could generate a report later - in case i lost the odt file and have something else on it | 14:18 |
LordVan | [speaking of sale now not invoice] | 14:19 |
LordVan | - at least if i was filling in the product name on my report | 14:20 |
LordVan | I mean it's not a huge issue since most of the data i display on my reports so far are custom added fields anyway - which are duplicated from product -> sale_line | 14:25 |
pokoli | LordVan: probably easier to cache the sale report also | 14:27 |
pokoli | LordVan: if you need to generate exactly the same report | 14:27 |
LordVan | pokoli, I wasn't aware you can cache a report. | 14:29 |
pokoli | LordVan: that what the invoice model does with the invoice report | 14:29 |
LordVan | ah thanks I will look at that | 14:30 |
LordVan | [after checking again if it is needed with my reports at the moment] | 14:30 |
LordVan | question: If i add a new field to product and I add a default method to assign the default value .. is there a way to enforce all existing ones to get updated to have that default set ? | 15:09 |
LordVan | [otherwise i just use trytond-console again to update all existing which is no issue either] | 15:16 |
cedk | LordVan: new fields are created with a default value if there is one | 15:41 |
LordVan | cedk, ok thanks | 16:51 |
LordVan | hi | 17:41 |
LordVan | i am having a strange issue | 17:41 |
LordVan | I have a filed that is not shown on my form (SaleLine) - meaning not even in the XML file at all .. I want some other fields to depend on the value of this for their readonly state | 17:41 |
LordVan | but it seems that it is ignored? | 17:42 |
LordVan | does eval,.. only work when it is in the xml file for the form too? | 17:42 |
LordVan | ok figured it out .. it needs to be in the XML it seems | 18:14 |
-!- thaneor1(~acer8@r167-61-58-32.dialup.adsl.anteldata.net.uy) has joined #tryton | 20:37 | |
-!- thaneor(~ldlc6@r167-61-58-32.dialup.adsl.anteldata.net.uy) has joined #tryton | 20:54 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!