seitime-frappe/frappe/model
Shubh Doshi 5092225cbc
fix!: prevent submission of non-submittable doctype (#37009)
* fix: prevent submission of non-submittable doctype

* fix: updated failing test cases to use submittable doctype as required

* refactor: corrected to_docstatus and from_docstatus use

* fix: inherit submittability from parent for child tables

* Revert "fix: inherit submittability from parent for child tables"

This reverts commit ee83ee59b4f0596e2d402a1547e92b131ae49579.

* feat: introduce skip_docstatus_validation flag

* test: add test cases for skip_docstatus_validation flag and docstatus transition of non-submittable doctype
2026-03-12 17:24:21 +05:30
..
utils fix: add type hints to whitelisted methods 3 (#37149) 2026-02-20 06:50:19 +00:00
__init__.py fix: use correct core doctypes set in _get_filterable_fields (#37932) 2026-03-11 17:19:48 +05:30
base_document.py fix: skip _validate_update_after_submit() for virtual fields (#37390) 2026-02-23 12:59:57 +00:00
create_new.py fix: remove default value from time field (#33515) 2025-08-04 12:59:25 +05:30
db_query.py fix(db_query): relax some restrictions (#37314) 2026-02-23 12:21:26 +05:30
delete_doc.py fix: delete passwords after before_trash 2026-02-25 16:21:37 +05:30
docfield.py chore!: dead code (#19551) 2023-01-10 18:53:08 +05:30
docstatus.py chore: fix typo in new DocStatus constant 2025-03-05 08:29:47 +05:30
document.py fix!: prevent submission of non-submittable doctype (#37009) 2026-03-12 17:24:21 +05:30
dynamic_links.py fix(dynamic_links): skip virtual docfields in dynamic link map 2025-09-25 16:55:18 +05:30
mapper.py fix: add type hints to whitelisted methods 3 (#37149) 2026-02-20 06:50:19 +00:00
meta.py Merge branch 'develop' into fix-currency-precision-js 2026-02-26 09:47:48 +00:00
naming.py feat: Enhance autoname functionality (#36827) 2026-02-07 06:22:28 +00:00
qb_query.py fix(with_comment_count): handle string values 2025-12-18 18:11:02 +05:30
rename_doc.py fix: rename autoincrement sequence on doctype rename (#37578) 2026-02-27 17:08:30 +05:30
sync.py fix: check if app value exists 2026-02-24 14:44:51 +05:30
trace.py feat: global frappe.in_test flag (#32960) 2025-06-17 19:19:31 +05:30
virtual_doctype.py refactor: migrate virtual doctypes to new API 2024-03-11 18:25:05 +05:30
workflow.py fix: use string representation of exceptions in translated strings (#37756) 2026-03-06 13:02:16 +05:30