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:
Ankush Menat 2024-04-12 10:44:18 +05:30 committed by GitHub
parent a674e912c1
commit 535bc10340
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

View file

@ -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`

View file

@ -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",

View file

@ -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",