Wednesday, February 14, 2024
3 changes · master
Resolved issues and error corrections
Manufacturing users can now update draft manufacturing orders without being blocked by a stock move deletion permission error. This prevents interruptions when changing the quantity, bill of materials, or product before an order is confirmed.
Original PR description
Steps to reproduce the bug:
- Connect as Marc Demo (with only MRP user access)
- Create an MO:
- select any BoM
- save
- Try to update the qty, BoM or product
Problem:
An access error is triggered:
“You are not allowed to delete 'Stock Move' (stock.move) records. This operation is allowed for the following groups: - Inventory/Administrator”
When the quantity is updated, the "_compute_move_finished_ids" function is triggered. Since the MO is in draft state, a command to delete existing moves from the database is added. However, upon saving, the unlink function is called, resulting in an access error:
https://github.com/odoo/odoo/blob/d9972ddec442d40a239d0e973d3fa29daf29de4d/addons/mrp/models/mrp_production.py#L742-L745
opw-3714683This fixes an issue where starting a self-order kiosk session could leave customers seeing a closed message instead of opening the session. It helps businesses avoid blocked kiosk ordering when a session is meant to be active.
Original PR description
When start kiosk session, it stay on "we are close for now". this fix repair this tasks id : 3743985
Course pages now show separate counts for people who finished a course and people who earned certification, preventing certification data from replacing completion data. This gives course managers clearer reporting and easier access to the list of certified attendees.
Original PR description
website_slides, website_slides_survey Context ------- Currently the Finished button that displays how many people finished a course turns into a Certified button when a certification is added to the…
website_slides, website_slides_survey
Context
-------
Currently the Finished button that displays how many people finished a
course turns into a Certified button when a certification is added to
the course. However the stat displayed is not accurate.
Specifications
--------------
- slide_channel form view:
- Keep the Finished button even when a certification is
added and add a Certified button to keep track of both stats.
- On click on the Certified button redirect to the list of certified
attendees of the given course.
- Replace the icon of the Finished button by a checkered flag and
use the cup icon for the Certified button.
- slide_channel_partner list view: add a default filter for certified
attendees.
- slide_channel kanban view: in the course card, do not replace Finished
by Certified.
task-3412724
Description of the issue/feature this PR addresses:
Current behavior before PR:
Desired behavior after PR is merged:
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr