Quote-to-cash PDF reports (portrait + landscape variants, 16 new actions): - Quotation / Sales Order, Work Order Traveller, Packing Slip, Bill of Lading, Certificate of Conformance (portrait added), Invoice, Payment Receipt - Shared fp_portrait_styles + fp_landscape_styles base templates Workflow gap fixes (fusion_plating_bridge_mrp): - Auto-assign recipe from SO coating config in MrpProduction.action_confirm - Auto-create draft CoC (fp.certificate) on MrpProduction.button_mark_done Notifications overhaul (fusion_plating_notifications v2.0): - Expanded TRIGGER_EVENTS to 7 (added quote_sent, mo_complete, shipped, payment_received) - Shared _dispatch method replaces three duplicated send helpers - Auto-attach PDF reports per template config (quote, SO, CoC, invoice, receipt, BoL) - Rebuilt 7 email templates with fusion_claims accent-bar design (info/success color-coded, theme-safe, 600px max-width) - New hooks: MrpProduction done, FpDelivery mark_delivered, AccountPayment post, SaleOrder action_quotation_send Wizards (fusion_plating_configurator): - fp.direct.order.wizard — skip quotation for repeat customers with PO in hand; optional new-revision drawing upload bumps fp.part.catalog revision and links new rev to the SO; creates + confirms the SO in one step - fp.part.catalog.import.wizard — 3-step CSV import with dry-run preview, tolerant parsing (customer by name/email/xmlid, human-readable selections), duplicate detection, create-missing-customers option, single transaction commit - Partner form stat buttons: Direct Order, Import Parts - CSV template download button Tier 1 practical plating features: - T1.1 Hydrogen bake window enforcement (fp.coating.config.requires_bake_relief, auto-create fusion.plating.bake.window on plating WO finish, FpDelivery lockout when window is open) - T1.2 Bath replenishment rules + pending suggestion queue (fusion.plating.bath.replenishment.rule + .suggestion, hook on bath log line create, operator Apply / Dismiss actions) - T1.3 Rack/fixture library (fusion.plating.rack with MTO counter, strip schedule, lifecycle: active → needs_strip → stripping → retired) - T1.4 Rework / strip-and-replate MOs (x_fc_is_rework, x_fc_original_production_id, Create Rework stat button on completed MOs) - T1.5 Parts location (x_fc_current_location computed on mrp.production — "In progress: Alkaline Clean" / "Queued: Bake Oven" / "Ready to Ship") Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
5.4 KiB
5.4 KiB
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_fp_process_category_operator | fp.process.category.operator | model_fusion_plating_process_category | group_fusion_plating_operator | 1 | 0 | 0 | 0 |
| 3 | access_fp_process_category_manager | fp.process.category.manager | model_fusion_plating_process_category | group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 4 | access_fp_process_type_operator | fp.process.type.operator | model_fusion_plating_process_type | group_fusion_plating_operator | 1 | 0 | 0 | 0 |
| 5 | access_fp_process_type_manager | fp.process.type.manager | model_fusion_plating_process_type | group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 6 | access_fp_bath_parameter_operator | fp.bath.parameter.operator | model_fusion_plating_bath_parameter | group_fusion_plating_operator | 1 | 0 | 0 | 0 |
| 7 | access_fp_bath_parameter_manager | fp.bath.parameter.manager | model_fusion_plating_bath_parameter | group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 8 | access_fp_facility_operator | fp.facility.operator | model_fusion_plating_facility | group_fusion_plating_operator | 1 | 0 | 0 | 0 |
| 9 | access_fp_facility_supervisor | fp.facility.supervisor | model_fusion_plating_facility | group_fusion_plating_supervisor | 1 | 0 | 0 | 0 |
| 10 | access_fp_facility_manager | fp.facility.manager | model_fusion_plating_facility | group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 11 | access_fp_work_center_operator | fp.work.center.operator | model_fusion_plating_work_center | group_fusion_plating_operator | 1 | 0 | 0 | 0 |
| 12 | access_fp_work_center_supervisor | fp.work.center.supervisor | model_fusion_plating_work_center | group_fusion_plating_supervisor | 1 | 1 | 0 | 0 |
| 13 | access_fp_work_center_manager | fp.work.center.manager | model_fusion_plating_work_center | group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 14 | access_fp_tank_operator | fp.tank.operator | model_fusion_plating_tank | group_fusion_plating_operator | 1 | 0 | 0 | 0 |
| 15 | access_fp_tank_supervisor | fp.tank.supervisor | model_fusion_plating_tank | group_fusion_plating_supervisor | 1 | 1 | 0 | 0 |
| 16 | access_fp_tank_manager | fp.tank.manager | model_fusion_plating_tank | group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 17 | access_fp_bath_operator | fp.bath.operator | model_fusion_plating_bath | group_fusion_plating_operator | 1 | 0 | 0 | 0 |
| 18 | access_fp_bath_supervisor | fp.bath.supervisor | model_fusion_plating_bath | group_fusion_plating_supervisor | 1 | 1 | 1 | 0 |
| 19 | access_fp_bath_manager | fp.bath.manager | model_fusion_plating_bath | group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 20 | access_fp_bath_target_operator | fp.bath.target.operator | model_fusion_plating_bath_target | group_fusion_plating_operator | 1 | 0 | 0 | 0 |
| 21 | access_fp_bath_target_supervisor | fp.bath.target.supervisor | model_fusion_plating_bath_target | group_fusion_plating_supervisor | 1 | 1 | 1 | 0 |
| 22 | access_fp_bath_target_manager | fp.bath.target.manager | model_fusion_plating_bath_target | group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 23 | access_fp_bath_log_operator | fp.bath.log.operator | model_fusion_plating_bath_log | group_fusion_plating_operator | 1 | 1 | 1 | 0 |
| 24 | access_fp_bath_log_supervisor | fp.bath.log.supervisor | model_fusion_plating_bath_log | group_fusion_plating_supervisor | 1 | 1 | 1 | 0 |
| 25 | access_fp_bath_log_manager | fp.bath.log.manager | model_fusion_plating_bath_log | group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 26 | access_fp_bath_log_line_operator | fp.bath.log.line.operator | model_fusion_plating_bath_log_line | group_fusion_plating_operator | 1 | 1 | 1 | 0 |
| 27 | access_fp_bath_log_line_supervisor | fp.bath.log.line.supervisor | model_fusion_plating_bath_log_line | group_fusion_plating_supervisor | 1 | 1 | 1 | 0 |
| 28 | access_fp_bath_log_line_manager | fp.bath.log.line.manager | model_fusion_plating_bath_log_line | group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 29 | access_fp_process_node_operator | fp.process.node.operator | model_fusion_plating_process_node | group_fusion_plating_operator | 1 | 0 | 0 | 0 |
| 30 | access_fp_process_node_supervisor | fp.process.node.supervisor | model_fusion_plating_process_node | group_fusion_plating_supervisor | 1 | 1 | 1 | 0 |
| 31 | access_fp_process_node_manager | fp.process.node.manager | model_fusion_plating_process_node | group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 32 | access_fp_process_node_input_operator | fp.process.node.input.operator | model_fusion_plating_process_node_input | group_fusion_plating_operator | 1 | 0 | 0 | 0 |
| 33 | access_fp_process_node_input_supervisor | fp.process.node.input.supervisor | model_fusion_plating_process_node_input | group_fusion_plating_supervisor | 1 | 1 | 1 | 0 |
| 34 | access_fp_process_node_input_manager | fp.process.node.input.manager | model_fusion_plating_process_node_input | group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 35 | access_fp_rack_operator | fp.rack.operator | model_fusion_plating_rack | group_fusion_plating_operator | 1 | 1 | 0 | 0 |
| 36 | access_fp_rack_supervisor | fp.rack.supervisor | model_fusion_plating_rack | group_fusion_plating_supervisor | 1 | 1 | 1 | 0 |
| 37 | access_fp_rack_manager | fp.rack.manager | model_fusion_plating_rack | group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 38 | access_fp_replenishment_rule_operator | fp.replenishment.rule.operator | model_fusion_plating_bath_replenishment_rule | group_fusion_plating_operator | 1 | 0 | 0 | 0 |
| 39 | access_fp_replenishment_rule_supervisor | fp.replenishment.rule.supervisor | model_fusion_plating_bath_replenishment_rule | group_fusion_plating_supervisor | 1 | 1 | 1 | 0 |
| 40 | access_fp_replenishment_rule_manager | fp.replenishment.rule.manager | model_fusion_plating_bath_replenishment_rule | group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 41 | access_fp_replenishment_suggestion_operator | fp.replenishment.suggestion.operator | model_fusion_plating_bath_replenishment_suggestion | group_fusion_plating_operator | 1 | 1 | 1 | 0 |
| 42 | access_fp_replenishment_suggestion_supervisor | fp.replenishment.suggestion.supervisor | model_fusion_plating_bath_replenishment_suggestion | group_fusion_plating_supervisor | 1 | 1 | 1 | 0 |
| 43 | access_fp_replenishment_suggestion_manager | fp.replenishment.suggestion.manager | model_fusion_plating_bath_replenishment_suggestion | group_fusion_plating_manager | 1 | 1 | 1 | 1 |