[minor] hide recurring section if document is in __local state

This commit is contained in:
mbauskar 2017-02-22 18:22:14 +05:30
parent 7a61f12572
commit d6e409ea92
4 changed files with 10 additions and 8 deletions

View File

@ -3098,7 +3098,7 @@
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "is_recurring", "collapsible_depends_on": "is_recurring",
"columns": 0, "columns": 0,
"depends_on": "eval:doc.docstatus<2", "depends_on": "eval:doc.docstatus<2 && !doc.__islocal",
"fieldname": "recurring_invoice", "fieldname": "recurring_invoice",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hidden": 0, "hidden": 0,
@ -3527,7 +3527,7 @@
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": 0, "menu_index": 0,
"modified": "2017-02-17 16:30:09.952106", "modified": "2017-02-22 18:16:09.890488",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Purchase Invoice", "name": "Purchase Invoice",

View File

@ -3836,7 +3836,7 @@
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "is_recurring", "collapsible_depends_on": "is_recurring",
"columns": 0, "columns": 0,
"depends_on": "eval:doc.docstatus<2", "depends_on": "eval:doc.docstatus<2 && !doc.__islocal",
"fieldname": "recurring_invoice", "fieldname": "recurring_invoice",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hidden": 0, "hidden": 0,
@ -3846,7 +3846,7 @@
"in_global_search": 0, "in_global_search": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0, "in_standard_filter": 0,
"label": "Recurring", "label": "Recurring Invoice",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"options": "fa fa-time", "options": "fa fa-time",
@ -4327,7 +4327,7 @@
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": 0, "menu_index": 0,
"modified": "2017-02-17 16:12:30.694315", "modified": "2017-02-22 18:20:35.085909",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Sales Invoice", "name": "Sales Invoice",

View File

@ -2710,6 +2710,7 @@
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "is_recurring", "collapsible_depends_on": "is_recurring",
"columns": 0, "columns": 0,
"depends_on": "eval:doc.docstatus<2 && !doc.__islocal",
"fieldname": "recurring_order", "fieldname": "recurring_order",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hidden": 0, "hidden": 0,
@ -2719,7 +2720,7 @@
"in_global_search": 0, "in_global_search": 0,
"in_list_view": 0, "in_list_view": 0,
"in_standard_filter": 0, "in_standard_filter": 0,
"label": "Recurring", "label": "Recurring Order",
"length": 0, "length": 0,
"no_copy": 0, "no_copy": 0,
"options": "fa fa-time", "options": "fa fa-time",
@ -3167,7 +3168,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2017-02-17 16:46:02.996638", "modified": "2017-02-22 18:20:15.650815",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Buying", "module": "Buying",
"name": "Purchase Order", "name": "Purchase Order",

View File

@ -3026,6 +3026,7 @@
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "is_recurring", "collapsible_depends_on": "is_recurring",
"columns": 0, "columns": 0,
"depends_on": "eval:doc.docstatus<2 && !doc.__islocal",
"fieldname": "recurring_order", "fieldname": "recurring_order",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hidden": 0, "hidden": 0,
@ -3484,7 +3485,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2017-02-20 13:22:41.755708", "modified": "2017-02-22 18:17:15.293694",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Selling", "module": "Selling",
"name": "Sales Order", "name": "Sales Order",