brotherton-erpnext/erpnext/maintenance/doctype
Noah Jacob 8261b2bb4f
refactor: trigger generate schedule when any change made in items table (#29874)
* refactor: trigger generate schedule when any change made in items table

* chore: added serial validation on server side

* test: serials updated in schedules after save

* fix: schedule not generating after updating some fields

* feat: generate_schedule is triggered on_save when items table is changed

* test: updated tests to check other field changes on save

* chore: removed serial validation function for schedules table and added no_of_visits validation function

* test: updated for manually deleted schedele rows

* refactor: updated validate_items_table_change to return bool

* test: updated test_schedule_with_serials to cover validate_items_table_change

* fix: linting
2022-04-12 15:30:49 +05:30
..
maintenance_schedule refactor: trigger generate schedule when any change made in items table (#29874) 2022-04-12 15:30:49 +05:30
maintenance_schedule_detail chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
maintenance_schedule_item chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
maintenance_visit fix: ignore item-less maintenance visit for sr no (#30684) 2022-04-12 11:14:02 +05:30
maintenance_visit_purpose chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
__init__.py New Maintenance Module 2016-06-29 15:51:02 +05:30