diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-08-03 13:03:24 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-08-05 09:06:12 +0000 |
| commit | 88fa6f774b1ed3578ea59e1305708bc0e6095e73 (patch) | |
| tree | fe5c25adc4b1079c5136ec5b9681867ccdbc5a31 /addons/base_setup | |
| parent | cfc066c323afe8eda597bac8e4c1aa3d1b11ce7f (diff) | |
[FIX] account: domain on product
- Create a product P which cannot be sold (purchase only)
- Create a customer invoice
The product can be select on the invoice.
The `sale_ok` (as well as the `purchase_ok`) field is not taken into
account in the domain.
The solution is a bit hacky but has the advantage to be safe in regards
to customizations.
opw-2308897
closes odoo/odoo#55442
X-original-commit: 88b0b664606bb42acf26165e2b7fdda44a15e0a7
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/base_setup')
0 files changed, 0 insertions, 0 deletions
