Added new print formats_auto

This commit is contained in:
Away 2025-04-07 17:37:15 +00:00
parent 0acf82383f
commit 1b9baa2055
39 changed files with 2647 additions and 0 deletions

View File

@ -19,12 +19,32 @@ def create_custom_fields():
insert_after='swift_number'
)
],
"Bank Account": [
dict(
fieldname='payment_account',
label='Payment account (h/h)',
fieldtype='Data',
insert_after='iban'
),
dict(
fieldname='сorrespondent_account',
label='Correspondent account (m/h)',
fieldtype='Data',
insert_after='payment_account'
)
],
"Employee Transfer": [
dict(
fieldname='reason',
label='Reason',
fieldtype='Data',
insert_after='amended_from'
),
dict(
fieldname='order_number',
label='Order number',
fieldtype='Data',
insert_after='reason'
)
],
"Company": [

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

View File

@ -0,0 +1,25 @@
{
"attached_to_doctype": "Print Format",
"attached_to_field": "print_designer_preview_img",
"attached_to_name": "Ba\u015fqa i\u015f\u0259 ke\u00e7irilm\u0259 bar\u0259d\u0259",
"content_hash": "6b8e3df0a2b6816c7717899a71de5b05",
"creation": "2025-03-19 12:47:14.691565",
"docstatus": 0,
"doctype": "File",
"file_name": "print_designer-ba\u015fqa_i\u015f\u0259_ke\u00e7irilm\u0259_bar\u0259d\u0259-preview.jpg",
"file_size": 70613,
"file_type": "JPG",
"file_url": "/private/files/print_designer-ba\u015fqa_i\u015f\u0259_ke\u00e7irilm\u0259_bar\u0259d\u0259-previewde5b05.jpg",
"folder": "Home",
"idx": 0,
"is_attachments_folder": 0,
"is_folder": 0,
"is_home_folder": 0,
"is_private": 1,
"modified": "2025-03-19 12:47:14.691565",
"modified_by": "Administrator",
"name": "7d211e5e02",
"owner": "Administrator",
"uploaded_to_dropbox": 0,
"uploaded_to_google_drive": 0
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -29,6 +29,12 @@ def after_migrate_combined():
from jey_erp.custom_fields import create_custom_fields
create_custom_fields()
fixtures = [
{
"doctype": "Print Format"
}
]
# Includes in <head>
# ------------------