bbf860ae972bd10e8906796a7160baf307f506fe
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#63239 X-original-commit: 873340ca98b9732132e056c1ca79c614c6255c1c Signed-off-by: backspac <backspac@users.noreply.github.com> Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%