Tuesday, August 23, 2016
7 changes · master
Code cleanup and technical improvements
The marketing campaign module was simplified by removing its old workflow mechanism as part of a broader rework. This reduces outdated behavior and helps prepare the module for future changes, with a small fix included to avoid a migration issue.
Original PR description
odoo task : https://www.odoo.com/web#id=27871&view_type=form&model=project.task&action=333&active_id=131&menu_id=
The repair process has been cleaned up by removing an older internal workflow mechanism. This makes the repair module easier to maintain while keeping the business process clearer and more reliable for future updates.
Original PR description
odoo task : https://www.odoo.com/web#id=27205&view_type=form&model=project.task&action=333&active_id=248&menu_id=5195
The payroll module no longer relies on its older workflow mechanism and now handles payslip status changes directly in code. This should make payroll behavior easier to maintain and more consistent, with limited visible change for everyday users.
Original PR description
remove workflow from hr_payroll odoo task : https://www.odoo.com/web#id=27201&view_type=form&model=project.task&action=333&active_id=248&menu_id=5195
The time off module now handles leave request status changes directly in the application instead of relying on an older workflow mechanism. This makes approvals and follower notifications more reliable, and also fixes a related calendar issue that could break tests.
Original PR description
- Fix a bad call in calendar (made a test fail in hr_holidays) - Remove workflows from the hr_holiday module and replace it by python methods. odoo task : https://www.odoo.com/web#id=27200&view_type=form&model=project.task&action=333&active_id=248&menu_id=4720 pad : https://pad.odoo.com/p/openerp-project.task-5OOMFN4R7D
The accounting app no longer relies on the old workflow mechanism for invoice and payment status changes, using direct application logic instead. This should make invoicing behavior easier to maintain and more reliable, including correctly marking invoices as paid.
Original PR description
Workflow removed, replaced by python methods. odoo task: https://www.odoo.com/web#id=27198&view_type=form&model=project.task&action=333&active_id=248&menu_id=4720
The timesheet sheet approval process was updated to use direct application logic instead of the older workflow mechanism. This keeps the same business process while making it easier to maintain and less dependent on legacy infrastructure.
Original PR description
repalce workflow by python code odoo task : https://www.odoo.com/web#id=27202&view_type=form&model=project.task&action=333&active_id=248&menu_id=4720
This change removes older internal workflow machinery from Point of Sale orders and sessions while keeping the business process checks in the actions themselves. It should make the Point of Sale code easier to maintain without changing the day-to-day cashier or manager experience.
Original PR description
odoo task : https://www.odoo.com/web#id=27207&view_type=form&model=project.task&action=333&active_id=248&menu_id=5195