I was reading this: https://bugs.launchpad.net/openobject-addons/+bug/452854 And I checked the Tryton's code to see if we have the same issue. But we don't have it :-), the moves generated are always balanced (thanks to Decimal).
But this brings me a related issue. For now we use as counterpart amount, the sum of each lines and taxes (in the company currency). So this total is the same as the total of the invoice if the invoice is in the currency of the company. But when we are in foreign currency, it is not always correct (it can have rounding error). This means that the convertion rate is not always the same for all lines of the move (the total amount can have different currency rate). So my question is: is it correct? If we must have exactly the same rate for each lines of the move, we must introduce a new account on the invoice on which we put the write-off of the currency conversion. This account will be visible and used only for invoice with foreign currency. -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email: [email protected] Jabber: [email protected] Website: http://www.b2ck.com/
pgpJvMJoB7hS9.pgp
Description: PGP signature
