summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authornie <nie@odoo.com>2020-12-09 11:56:28 +0000
committernie <nie@odoo.com>2020-12-11 10:22:11 +0000
commit873340ca98b9732132e056c1ca79c614c6255c1c (patch)
treea7ff31b7c172733889fc4364826387e0a827d8d0 /doc/reference/javascript_reference.rst
parentf25da5fef15d10b184d744bf5533b90364a35a81 (diff)
[FIX] sale_coupon: allow salespeople to use coupons
Steps: - Have a demo user with "User: Own Documents Only" rights on Sales. - Connect as admin - Go to Sales > Products > Coupon Program - Click one of the programs - Generate a Coupon - Reconnect as demo user - Create a Sales Order - Apply the generated coupon Bug: Access rights restriction on the coupon. Sorry, you are not allowed to modify documents of type 'Sales Coupon' (sale.coupon). This operation is allowed for the groups: - Sales/Administrator - (Operation: write, User: 6) Explanation: When applying a coupon to the sales order, it tries to update the coupon's state and link it to the order. This needs to update the coupon record. This commit also fixes confirming quotations and cancelling sales orders with coupons for salespeople. opw:2409858 closes odoo/odoo#63214 X-original-commit: edd99f28444e84f496466e830db12bd8cc74cd72 Signed-off-by: backspac <backspac@users.noreply.github.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions