fix: make letterhead attachments public by default (#25925)
Also does it for web page. Note: This is just default config, users can change while uploading.
This commit is contained in:
parent
a674e912c1
commit
535bc10340
3 changed files with 6 additions and 2 deletions
|
|
@ -71,7 +71,9 @@ class TestWebhook(FrappeTestCase):
|
|||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
# delete any existing webhooks
|
||||
frappe.db.rollback()
|
||||
frappe.db.delete("Webhook")
|
||||
frappe.db.commit()
|
||||
|
||||
def setUp(self):
|
||||
# retrieve or create a User webhook for `after_insert`
|
||||
|
|
|
|||
|
|
@ -198,8 +198,9 @@
|
|||
"icon": "fa fa-font",
|
||||
"idx": 1,
|
||||
"links": [],
|
||||
"make_attachments_public": 1,
|
||||
"max_attachments": 3,
|
||||
"modified": "2024-03-23 16:03:28.922006",
|
||||
"modified": "2024-04-12 10:30:25.793932",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Printing",
|
||||
"name": "Letter Head",
|
||||
|
|
|
|||
|
|
@ -338,7 +338,8 @@
|
|||
"index_web_pages_for_search": 1,
|
||||
"is_published_field": "published",
|
||||
"links": [],
|
||||
"modified": "2024-03-23 16:04:02.407199",
|
||||
"make_attachments_public": 1,
|
||||
"modified": "2024-04-12 10:30:49.022735",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Website",
|
||||
"name": "Web Page",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue