seitime-frappe/frappe/model
Sagar Vora a42ca7d8c1
fix: raise exception if doc before save is not found (#18796)
* fix: raise exception if doc before save is not found

* test: ensure error is raised when trying to save new doc using `doc.save()`

* chore: add comment explaining condition

* test: clearer name and docstring
2022-11-09 19:45:41 +05:30
..
utils perf: use is_virtual_doctype and remove limit 2022-08-21 17:37:40 +05:30
__init__.py chore: remove unused update_log_for_doc_creation flag 2022-08-26 18:51:18 +05:30
base_document.py fix: ignore perm level validation if row deleted (#18290) 2022-10-05 11:16:28 +05:30
create_new.py Revert "fix(doc)!: Always cast datetime, date and time fields" 2022-07-05 13:43:32 +05:30
db_query.py refactor: better naming 2022-10-27 13:11:15 +05:30
delete_doc.py fix: prevent deleting standard doctypes in prod (#18803) 2022-11-08 21:27:41 +05:30
docfield.py refactor: clean up code to py310 supported features (#17367) 2022-07-01 11:51:05 +05:30
docstatus.py feat: utility methods for docstatus (#15515) 2022-02-04 07:41:25 +00:00
document.py fix: raise exception if doc before save is not found (#18796) 2022-11-09 19:45:41 +05:30
dynamic_links.py style: format all python files using black (#16453) 2022-04-12 10:59:25 +05:30
mapper.py refactor: clean up code to py310 supported features (#17367) 2022-07-01 11:51:05 +05:30
meta.py fix(meta): ensure that insert_after is always considered when sorting fields (#18682) 2022-10-31 15:37:55 +05:30
naming.py refactor: get_doctype_map() using single query and use generator for caching 2022-11-02 09:58:34 +00:00
rename_doc.py fix: do not rename fieldtype options (#18143) 2022-09-15 17:30:52 +05:30
sync.py fix: remove ad-hoc maintenance mode implementation 2022-09-09 17:34:46 +05:30
virtual_doctype.py test: add tests for virtual doctype desk interactions 2022-07-22 15:34:54 +05:30
workflow.py refactor: clean up code to py310 supported features (#17367) 2022-07-01 11:51:05 +05:30