[fix] [minor] Analytics role added in Financial Statements report
This commit is contained in:
parent
f3a9b31b1f
commit
29c8327a2f
@ -2,7 +2,7 @@
|
||||
{
|
||||
"creation": "2013-01-27 16:30:52",
|
||||
"docstatus": 0,
|
||||
"modified": "2013-07-11 14:41:59",
|
||||
"modified": "2013-08-14 12:47:45",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "Administrator"
|
||||
},
|
||||
@ -19,14 +19,18 @@
|
||||
"name": "__common__",
|
||||
"parent": "Financial Statements",
|
||||
"parentfield": "roles",
|
||||
"parenttype": "Page",
|
||||
"role": "Accounts Manager"
|
||||
"parenttype": "Page"
|
||||
},
|
||||
{
|
||||
"doctype": "Page",
|
||||
"name": "Financial Statements"
|
||||
},
|
||||
{
|
||||
"doctype": "Page Role"
|
||||
"doctype": "Page Role",
|
||||
"role": "Accounts Manager"
|
||||
},
|
||||
{
|
||||
"doctype": "Page Role",
|
||||
"role": "Analytics"
|
||||
}
|
||||
]
|
@ -69,7 +69,8 @@ def get_item_details(args):
|
||||
|
||||
if cint(args.is_pos):
|
||||
pos_settings = get_pos_settings(args.company)
|
||||
out.update(apply_pos_settings(pos_settings, out))
|
||||
if pos_settings:
|
||||
out.update(apply_pos_settings(pos_settings, out))
|
||||
|
||||
return out
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user