diff options
| author | Goffin Simon <sig@odoo.com> | 2020-03-19 14:00:16 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2020-03-26 09:35:12 +0000 |
| commit | 50e425ce02bc7b2476dc9b97286a550e945abdb7 (patch) | |
| tree | fd8a3dbf63cc3771b82501008bdb35cf58849f61 /addons/payment_authorize/data | |
| parent | 75191f8ac44103163dbcaa5cf16f67365d5b2127 (diff) | |
[FIX] sale: Re-invoicing policy
Steps to reproduce the bug:
- Let's consider a product P
- Let's consider that a draft SO has been created for P with analytic account AA
- P can be sold (sale_ok=True) and Re-invoicing policy = 'At cost'
- Untick the option 'Can be sold' on P
- Create an expense E for P with the analytic account AA
- Submit E and try to post the entries
Bug:
A UserError was raised saying that SO with analytic account AA must validated but
P is no more salable.
opw:2217773
closes odoo/odoo#48408
X-original-commit: 3db629cbcde9c4c3bbe2874c18e01dd31abe092d
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Diffstat (limited to 'addons/payment_authorize/data')
0 files changed, 0 insertions, 0 deletions
