On 07/12/11 12:01 +0100, Robin Baumgartner wrote: > > Could you give some hints about those fields? > > They are mostly from account.invoice: > > - untaxed_amount > - taxed_amount > - total_amount > - amount_to_pay > > And 'amount' from account.invoice.line. > > > Me alive, it will never happen :-) > > Joking aside, I don't think it is a good idea to have such > > functionnality by default.Of course, we can store some computed > > value > > but it must be solved case by case (like in the stock period or the > > closing fiscal year). > > Yes, this should definitly not be the standard behavior. But once an > invoice is in the 'opened' state, the fields above are immutable anyway. > That makes them a reasonable case, don't you think?
I thought the same 1,5 year ago :-) https://bugs.tryton.org/issue1382 > Btw: You mean storing them via setter method of the Function field, right? Yes, the same way as in ir.action.report -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgpWx88tyo8sd.pgp
Description: PGP signature
