Daily updates from Odoo
Tuesday, January 21, 2025
2 changes · master
Resolved issues and error corrections
The Manufacturing barcode app now prevents users from adding unexpected products when the operation type does not allow extra products. This helps teams enforce manufacturing rules consistently and avoid incorrect materials being added to production orders.
Original PR description
Issue Before This Commit ======================== The barcode application for the 'Manufacturing' operation type allowed products to be scan and added to a Manufacturing Order (MO) even when the 'Allow Extra Product' setting was disabled. Steps to Produce ================= - Disable the 'Allow Extra Product' option for the 'Manufacturing' operation type. - Create a new MO or open an existing MO. - Scan a product other than the MO product still allowed it to be added, despite the setting being disabled. This commit removes the code that allowed extra products to be added, ensuring compliance with the operation type setting. Task: [4369998](https://www.odoo.com/odoo/my-tasks/4369998)
This fix restores access to the bank reconciliation screen for Invoicing, Banks, and Accounting Manager users. It adds the required permissions explicitly so eligible users can continue reconciling bank transactions without access errors.
Original PR description
The bank.rec.widget models are not stored and are primarily used for onchange computations The Invoicing and Banks user, and Manager user were somehow able to use the bank.rec.widget models until https://github.com/odoo/odoo/commit/74c5cd56a0539edab6a61efa517ca6a08c08d915 By granting access to the models with explicit security records, this issue is resolved. `group_account_user` implies `group_account_basic` Why did it work before? JS uses the bank.reco.widget model directly, see `fetch_initial_data` https://github.com/odoo/enterprise/blob/00d8bf44824858d322fbe05682f50ad3b53d07ff/account_accountant/static/src/components/bank_reconciliation/kanban.js#L578-L580 runbot-112206 runbot-112205