Added new print formats_auto
|
|
@ -19,12 +19,32 @@ def create_custom_fields():
|
||||||
insert_after='swift_number'
|
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": [
|
"Employee Transfer": [
|
||||||
dict(
|
dict(
|
||||||
fieldname='reason',
|
fieldname='reason',
|
||||||
label='Reason',
|
label='Reason',
|
||||||
fieldtype='Data',
|
fieldtype='Data',
|
||||||
insert_after='amended_from'
|
insert_after='amended_from'
|
||||||
|
),
|
||||||
|
dict(
|
||||||
|
fieldname='order_number',
|
||||||
|
label='Order number',
|
||||||
|
fieldtype='Data',
|
||||||
|
insert_after='reason'
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
"Company": [
|
"Company": [
|
||||||
|
|
|
||||||
|
After Width: | Height: | Size: 65 KiB |
|
|
@ -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
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 81 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
|
@ -29,6 +29,12 @@ def after_migrate_combined():
|
||||||
from jey_erp.custom_fields import create_custom_fields
|
from jey_erp.custom_fields import create_custom_fields
|
||||||
create_custom_fields()
|
create_custom_fields()
|
||||||
|
|
||||||
|
fixtures = [
|
||||||
|
{
|
||||||
|
"doctype": "Print Format"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
# Includes in <head>
|
# Includes in <head>
|
||||||
# ------------------
|
# ------------------
|
||||||
|
|
||||||
|
|
|
||||||