refactor: limit reposting to only supported doctypes

This commit is contained in:
ruthra kumar
2026-04-15 12:15:31 +05:30
parent ece85c770f
commit 940d3cfe0a
3 changed files with 18 additions and 1 deletions

View File

@@ -703,3 +703,11 @@ fields_for_group_similar_items = ["qty", "amount"]
# List of apps whose translatable strings should be excluded from this app's translations.
ignore_translatable_strings_from = ["frappe"]
require_type_annotated_api_methods = True
repost_allowed_doctypes = [
"Sales Invoice",
"Purchase Invoice",
"Journal Entry",
"Payment Entry",
"Purchase Receipt",
]