On 17/07/12 03:19 -0700, guly200 wrote: > Thanks Cedric > > I thought of doing the following on the invoice line object: > - add one function field "base_quantity" > - add one function field "percentage" > > on each of these function fields, declare a "setter" function that will > calculate : base_quantity x percentage / 100 > The result will be written by the setter function in the original tryton > "quantity" field ? > I will hide the original quantity field and make sure a uom of "unit" gets > enought digits to be relevant ? > > Doing this I would not break anything ? > And I could create invoices with a wizard requesting a percentage for each > line and checking that it does not exceed the reminder ? > what do you think ? Did I overlook something ?
I think it is a bad idea. What is exactly your purpose? PS: Pleas don't top-post on this mailing-list. For more informations see http://groups.tryton.org/netiquette -- 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/
pgpo9AAl4ESEN.pgp
Description: PGP signature
