brotherton-erpnext/erpnext/manufacturing/doctype
marination 3fa0a46f39 chore: Less hacky tests, versioning (replace bom) and clearing log data (update cost)
- Remove `auto_commit_on_many_writes` in `update_cost_in_level()` as commits happen every N BOMs
- Auto commit every 50 BOMs
- test: Remove hacky `frappe.flags.in_test` returns
- test: Enqueue `now` if in tests (for update cost and replace bom)
- Replace BOM: Copy bom object to `_doc_before_save` so that version.py finds a difference between the two
- Replace BOM: Add reference to version
- Update Cost: Unset `processed_boms` if Log is completed (useless after completion)
- test: `update_cost_in_all_boms_in_test` works close to actual prod implementation (only call Cron job manually)
- Test: use `enqueue_replace_bom`  so that test works closest to production behaviour

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2022-06-09 16:27:51 +05:30
..
blanket_order style: format code with black 2022-03-28 18:52:46 +05:30
blanket_order_item chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
bom chore: get_valuation_rate sider fixes 2022-06-08 14:01:04 +05:30
bom_explosion_item feat: Only update exploded items rate and amount 2022-05-27 14:32:58 +05:30
bom_item fix: remove "scrap %" field (#31069) 2022-05-19 14:25:16 +05:30
bom_operation fix: remove bad defaults from BOM operation (#30644) 2022-04-08 11:23:02 +05:30
bom_scrap_item chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
bom_update_batch chore: Miscellanous fixes/enhancements 2022-06-06 17:01:51 +05:30
bom_update_log chore: Less hacky tests, versioning (replace bom) and clearing log data (update cost) 2022-06-09 16:27:51 +05:30
bom_update_tool chore: Less hacky tests, versioning (replace bom) and clearing log data (update cost) 2022-06-09 16:27:51 +05:30
bom_website_item chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
bom_website_operation chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
downtime_entry chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
job_card fix(job card): only hold during draft state (#31243) 2022-06-06 16:27:25 +05:30
job_card_item chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
job_card_operation chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
job_card_scrap_item feat: provision to add scrap item in job card (#27483) 2021-09-15 16:45:57 +05:30
job_card_time_log chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
manufacturing_settings style: format code with black 2022-03-28 18:52:46 +05:30
material_request_plan_item chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
operation style: format code with black 2022-03-28 18:52:46 +05:30
production_plan fix: test_work_order_with_non_stock_item 2022-05-20 03:12:42 +05:30
production_plan_item fix: subassembly items linked to temporary name 2022-03-24 15:00:05 +05:30
production_plan_item_reference chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
production_plan_material_request chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
production_plan_material_request_warehouse chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
production_plan_sales_order chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
production_plan_sub_assembly_item refactor!: dynamically compute bom_level 2022-01-30 22:06:24 +05:30
routing style: format code with black 2022-03-28 18:52:46 +05:30
sub_operation chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
work_order fix: test_work_order_with_non_stock_item 2022-05-20 03:12:42 +05:30
work_order_item style: format code with black 2022-03-28 18:52:46 +05:30
work_order_operation fix: changed fieldtype from int to float for the field Batch Size in the work order 2021-11-29 16:40:55 +05:30
workstation style: format code with black 2022-03-28 18:52:46 +05:30
workstation_working_hour chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
__init__.py chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30