91bcd84a021383ecdd3c78fdd5106176c082b439
Purpose ======= When a Access Rights user create the invoice for the first time, when click save it will raise an access right issue A user belong to group Access Rights, when he create a invoice he'll be able to edit 'sequence_number_next' The reason is he belongs to 'group_erp_manager' which makes _is_admin return True. However, he does not have rights to edit on model 'ir.sequence.date_range'. So that we should not allow him to edit the sequence of invoice in any case Specification ============= Since only users belong to 'group_system' can edit model ir.sequence. We should not allow other users edit sequences on invoice form, so the field won't be displayed for them to edit
…
…
…
…
…
…
…
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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%