Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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.
- Loading branch information