diff options
| author | Jorge Pinna Puissant <jpp@odoo.com> | 2019-12-11 10:04:41 +0000 |
|---|---|---|
| committer | Jorge Pinna Puissant <jpp@odoo.com> | 2020-01-07 08:18:58 +0000 |
| commit | fd0d8770cb71ba7367e58487278c6fb0135dc405 (patch) | |
| tree | 428afb11fd36e2641fe705a76700066e6852a3fb /addons/web/static/src/js/views/basic | |
| parent | 81b69f393b0ee3b1e1c7d0c0565c55d9fb2d68cf (diff) | |
[FIX] account: avoid receivable and payable accounts in sale and purchase journals
When an account of type receivable or payable is used as default debit
account or default credit account of a journal of type sale or
purchases, an error is raised.
Now, constraints are added to avoid this.
opw-2151924
closes odoo/odoo#42817
X-original-commit: 0c90eb50b352ee003d52ef927260d1b9310ec69f
Related: odoo/enterprise#7562
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
