diff options
| author | Pierre Masereel <pim@odoo.com> | 2019-08-19 07:22:23 +0000 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2019-08-19 08:04:31 +0000 |
| commit | a248171d96de3ad6d8e22c855886dfae61e145e2 (patch) | |
| tree | ed416e643bba74244cee0a8df9b32d9cb300973b /odoo/addons/base/security/ir.model.access.csv | |
| parent | 1699be05dab39a8ef4641df113178e688ce13a29 (diff) | |
[IMP] point_of_sale: improve consistencies between models
The deletion of some records can create inconsistencies in the
point_of_sale.
It can create inconsistencies when a session is open, for example if you
delete a partner that can be set on a pos order. You'll also got
problems if you remove an employee and this employee can be used in an
open session.
We also avoid to get point_of_sale config inconsistencies, by deleting
models required by it. If you delete a picking type used in a pos
config or a sequence.
To avoid all this consistencies, we have restricted the deletion of some
records in specific cases.
TASK-ID: 1879971
closes odoo/odoo#35793
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'odoo/addons/base/security/ir.model.access.csv')
0 files changed, 0 insertions, 0 deletions
