Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow on submit field so #92

Merged
merged 1 commit into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions menghua_co/fixtures/property_setter.json
Original file line number Diff line number Diff line change
Expand Up @@ -654,5 +654,37 @@
"property_type": "Check",
"row_name": null,
"value": "1"
},
{
"default_value": null,
"doc_type": "Sales Order",
"docstatus": 0,
"doctype": "Property Setter",
"doctype_or_field": "DocField",
"field_name": "tc_name",
"is_system_generated": 0,
"modified": "2025-01-24 18:34:37.707550",
"module": null,
"name": "Sales Order-tc_name-allow_on_submit",
"property": "allow_on_submit",
"property_type": "Check",
"row_name": null,
"value": "1"
},
{
"default_value": null,
"doc_type": "Sales Order",
"docstatus": 0,
"doctype": "Property Setter",
"doctype_or_field": "DocField",
"field_name": "terms",
"is_system_generated": 0,
"modified": "2025-01-24 18:35:06.908124",
"module": null,
"name": "Sales Order-terms-allow_on_submit",
"property": "allow_on_submit",
"property_type": "Check",
"row_name": null,
"value": "1"
}
]
2 changes: 2 additions & 0 deletions menghua_co/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@
"Sales Order Item-actual_qty-in_list_view",
"Sales Order Item-rate-columns",
"Sales Order Item-warehouse-in_list_view",
"Sales Order-tc_name-allow_on_submit",
"Sales Order-terms-allow_on_submit",
"Purchase Invoice-supplier_invoice_details-collapsible",
"Address-address_type-description",
"Address-address_title-description",
Expand Down