diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-12-16 11:19:49 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-12-16 11:23:18 +0100 |
| commit | 9fd715e1f5d2f62c940c8d9d5f184110be493a97 (patch) | |
| tree | f486d7a2878b1e2c473e8bcc4a854416bf17cd0e /addons/web/static/src | |
| parent | e0c9b9c2cd4f0a2d965d27b4f241d941e5bcd8a7 (diff) | |
[FIX] account_analytic_default: invoice, avoid account overwrite
Due to the following revision:
bdf630f9b89a3d47c3826dac6fe9a04e6aa701d5
When creating an invoice from a purchase order with an
analytic account set, the analytic account was no longer
copied on the invoice, as the analytic account that was added
thanks to
https://github.com/odoo/odoo/blob/9.0/addons/purchase/invoice.py#L53
was overwritten with `False` as `rec` was False
or if `rec` was True, it was overwritten with the analytic account
of `rec`.
opw-697702
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
