[MIG] bemade_fsm to 18.0
Aside from fixing standard 17.0..18.0 stuff and fixing XML ID
references:
1. **Remove `_get_closed_stage_by_project()`**: This method is
obsolete - it was copied from base FSM but no longer exists in
18.0. Base system now uses `is_closed` field.
2. **Implement State Propagation**: Enhance the `write()` method
to propagate done/cancelled states to child tasks using `is_closed` field logic.
3. **Test Task Creation**: Thoroughly test the custom task creation logic
against base 18.0
All 56 tests are passing.
- Remove date from main title heading (only in planned start)
- Add customer PO number under main heading
- Remove technician assignment info (only in timesheets)
- Add table for timesheet entries
- Remove time from time and materials section
- Hide visit section headers from materials section
- Add a section for showing the description of the visit task
- Add some <hr> elements for better visual separation
FixesDur-Pro/bemade-addons#83
Also added some styling to prevent table headers overlapping with table
content when tables run multiple pages. This is due to a rendering bug
in wkhtmltopdf.
* Equipment summary added after the sale line summary.
FixesDur-Pro/bemade-addons#60.
* Different blocks of the document made conditional to content
* Improved how tasks and subtasks are rendered
Found which template to extend to inject our new work order template
into the front-end signature page. Now need to add the timesheets info
with task tree into our template and we should be good to go.
FixesDur-Pro/bemade-addons#94