diff options
| author | Jos De Graeve <Jos.DeGraeve@apertoso.be> | 2015-06-10 18:22:29 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2015-06-24 13:55:32 +0200 |
| commit | 3abd451acafa9c03856efc5398aa03b4c3c4c863 (patch) | |
| tree | 61bda56f01ec9fddfee0ade162468ee48029b910 /addons/analytic_user_function | |
| parent | 765cd3fbecd1007628a46517393eecf2958e2190 (diff) | |
[FIX]point of sale: passing analytic account
In the method action_invoice, the call to the method "_prepare_analytic_account" in dict "inv_line"
had no effect because the value of account_analytic_id was being cleared by the product_id_change statement.
So in the end the invoice line was created without any account attached
Now it checks for an existing value, and if it is not already filled in,
the value from _prepare_analytic_account is taken.
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions
