seitime-frappe/frappe/model
Gavin D'souza 5a3d8f925e feat: Document.rename API
Transform current document object using the rename_doc API. The design
of the API should allow for easy action queueing.

Defined as `rename(self, name: str, merge: bool = False, force: bool = False)`

Usage:

    In [1]: doc = frappe.get_doc("Person", "5a188f66c1")

    In [2]: doc.rename("5a188f66c2")

    In [3]: doc.name
    Out[3]: '5a188f66c2'
2022-02-25 01:27:21 +05:30
..
utils chore: Add type hints for rename_doc module 2022-02-18 17:56:42 +05:30
__init__.py chore: adding back idx column 2022-02-07 16:40:01 +05:30
base_document.py Merge branch 'develop' into update-if-missing 2022-02-21 20:12:53 +05:30
create_new.py chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
db_query.py refactor: a not in b 2022-02-21 19:54:34 +01:00
delete_doc.py test: use now instead of is_async in tests 2022-02-23 15:37:56 +05:30
docfield.py chore: Update header: license.txt => LICENSE 2021-09-03 12:02:59 +05:30
docstatus.py feat: utility methods for docstatus (#15515) 2022-02-04 07:41:25 +00:00
document.py feat: Document.rename API 2022-02-25 01:27:21 +05:30
dynamic_links.py refactor: use is None instead of == None 2022-01-17 10:37:51 +01:00
mapper.py chore: adding back idx column 2022-02-07 16:40:01 +05:30
meta.py Merge pull request #15990 from hrwX/translated_doctype_links 2022-02-16 05:24:56 +00:00
naming.py chore: Add type hints for rename_doc module 2022-02-18 17:56:42 +05:30
rename_doc.py perf: Pass document through rename_doc API to bypass extra get_doc 2022-02-25 01:08:31 +05:30
sync.py refactor: a not in b 2022-02-21 19:54:34 +01:00
workflow.py feat: utility methods for docstatus (#15515) 2022-02-04 07:41:25 +00:00