summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/form_common.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2016-02-05 11:19:18 +0100
committerNicolas Martinelli <nim@odoo.com>2016-02-15 14:57:45 +0100
commitcf62fdb44b4ec217381742f9bd986137e28dfe1d (patch)
treec166e74c4e6707c9037dd628c75fc6d10a244324 /addons/web/static/src/js/views/form_common.js
parenta6cf37e930ee935309c9bfdd25e782590a30f356 (diff)
[FIX] product: default pricelist item
By default, a pricelist can be created without pricelist item. However, if a user does not have the rights to manage the pricelist items (or simply does not want to manage them), the feature is unusable. Indeed, the user will create a new pricelist (for example, in a new currency), but this pricelist will not have any item. Therefore, the pricelist will not apply to anything. The fix creates a pricelist item by default. The pricelist item is the most generic possible: it applies to all products and uses the list price as a base price. opw-667607
Diffstat (limited to 'addons/web/static/src/js/views/form_common.js')
0 files changed, 0 insertions, 0 deletions