diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-06-08 14:58:53 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-06-11 10:39:18 +0200 |
| commit | 0d35f569f421e5f7ec1fb964c8560aaf078db0cc (patch) | |
| tree | 3c4e36fd3d30390081fa993f5f799bbbb0ea2878 /setup/package.dfsrc | |
| parent | 61c9921596662a2cbc15a154a91dd2f52c9854fd (diff) | |
[FIX] point_of_sale: prevent product unlink
- Create a product with variants which can be sold in the POS
- Open a POS session
- Delete a variant (e.g. change the attributes)
- Sell the product in the POS, validate
The POS order cannot be created because the product ID doesn't exist
anymore.
We extend the existing constain on `product.template` on
`product.product`.
opw-1850598
Diffstat (limited to 'setup/package.dfsrc')
0 files changed, 0 insertions, 0 deletions
