diff options
| author | mgh-odoo <mgh@odoo.com> | 2019-04-08 15:55:02 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2019-04-10 06:49:37 +0000 |
| commit | b993a2d9c824050e1c3cf566d4bf9d8eb75c3f41 (patch) | |
| tree | cd6ae81ef5a00944c8dc78c32c4dbb31a0d4c304 /addons/web/static | |
| parent | 5eaa4f2967e88f9f619bfc95e82d89fbfcd03ed0 (diff) | |
[IMP] website_sale: restrict deleting/archiving pricelist for ecommerce
Before this commit, if none of the pricelist is available for the website
then frontend ecommerce will crash. This issue is arrived from #30675 PR.
The reason behind crash is, if there is no pricelist associated with
the website then the ecommerce will not get the currency and breaks the
frontend shop.
This commit will restrict user from making those changes which breaks the
frontend shop. We will ensure that atleast one pricelist is available for
each website.
task-1966811
Closes: #32534
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions
