diff options
| author | Nasreddin (bon) <bon@odoo.com> | 2020-07-06 13:31:51 +0000 |
|---|---|---|
| committer | Nasreddin (bon) <bon@odoo.com> | 2020-07-13 15:46:45 +0000 |
| commit | e00361997ba79639a2c5701bd6c2191400732028 (patch) | |
| tree | 682aa1035d1f38428424123b306a63c8caf09679 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 099291d117bdb8352dcf96f7a89d978376b44358 (diff) | |
[FIX] account: disable default analytic on receivable/payable
Issue
- Install "Accounting" and "Account Analytic Defaults".
- Create an Analytic Tag and use the distribution (eg.: 60/40)
- Create an Analytic Defaults for a specific partner.
with the Analytc tag just created.
- Create a bill, select the the same partner as the Analytic Defaults and
add a new Invoice Line with a price (eg.: 1000).
The tag is applied to the payable account, which is
wrong and it leads to an analytic inconsistency.
Solution
Apply analytic tags only on move lines not excluded from invoice tab.
opw-2269757
closes odoo/odoo#54410
X-original-commit: 6e0bb7a24cad46891c80ddc384311dd81eca1e82
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
