Add letterhead field and mapper in Packing Slip
This commit is contained in:
parent
6c5cfd2148
commit
f60f111afe
@ -381,7 +381,8 @@ def make_packing_slip(source_name, target_doc=None):
|
||||
"Delivery Note": {
|
||||
"doctype": "Packing Slip",
|
||||
"field_map": {
|
||||
"name": "delivery_note"
|
||||
"name": "delivery_note",
|
||||
"letter_head": "letter_head"
|
||||
},
|
||||
"validation": {
|
||||
"docstatus": ["=", 0]
|
||||
|
@ -158,6 +158,23 @@
|
||||
"permlevel": 0,
|
||||
"read_only": 0
|
||||
},
|
||||
{
|
||||
"fieldname": "letter_head_details",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "Letter Head",
|
||||
"permlevel": 0,
|
||||
"precision": ""
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"fieldname": "letter_head",
|
||||
"fieldtype": "Link",
|
||||
"label": "Letter Head",
|
||||
"options": "Letter Head",
|
||||
"permlevel": 0,
|
||||
"precision": "",
|
||||
"print_hide": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "misc_details",
|
||||
"fieldtype": "Section Break",
|
||||
@ -180,7 +197,7 @@
|
||||
"icon": "icon-suitcase",
|
||||
"idx": 1,
|
||||
"is_submittable": 1,
|
||||
"modified": "2014-05-27 03:49:14.251039",
|
||||
"modified": "2014-11-13 16:50:50.423299",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Stock",
|
||||
"name": "Packing Slip",
|
||||
|
Loading…
Reference in New Issue
Block a user