Implement MAKAP Modules 1-7 backend foundations
This commit is contained in:
@@ -247,3 +247,28 @@ app_license = "mit"
|
||||
# List of apps whose translatable strings should be excluded from this app's translations.
|
||||
# ignore_translatable_strings_from = []
|
||||
|
||||
|
||||
# MAKAP Module 3 child-table registration
|
||||
after_migrate = ["makap_backend.makap_backend.setup.ensure_makap_functional_roles", "makap_backend.makap_backend.setup.ensure_makap_object_permissions", "makap_backend.makap_backend.setup_module3.ensure_module3_child_tables", "makap_backend.makap_backend.setup_extensions.ensure_custom_fields"]
|
||||
|
||||
# MAKAP cross-module server-side controls
|
||||
doc_events = {
|
||||
"Packaging Specification": {
|
||||
"validate": "makap_backend.makap_backend.controls.validate_packaging_specification",
|
||||
},
|
||||
"Quotation": {
|
||||
"validate": "makap_backend.makap_backend.controls.validate_quotation",
|
||||
},
|
||||
"Sales Order": {
|
||||
"validate": "makap_backend.makap_backend.controls.validate_sales_order",
|
||||
},
|
||||
"Work Order": {
|
||||
"validate": "makap_backend.makap_backend.controls.validate_work_order",
|
||||
},
|
||||
"Quality Inspection": {
|
||||
"validate": "makap_backend.makap_backend.controls.validate_quality_inspection",
|
||||
},
|
||||
"Purchase Order": {
|
||||
"validate": "makap_backend.makap_backend.controls.validate_purchase_order",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user