removed duplicate keys (#13675)
This commit is contained in:
parent
46743d00d6
commit
742da8cfce
@ -25,8 +25,6 @@ def execute(filters=None):
|
||||
"buying_rate", "base_amount", "buying_amount", "gross_profit", "gross_profit_percent"],
|
||||
"warehouse": ["warehouse", "qty", "base_rate", "buying_rate", "base_amount", "buying_amount",
|
||||
"gross_profit", "gross_profit_percent"],
|
||||
"territory": ["territory", "qty", "base_rate", "buying_rate", "base_amount", "buying_amount",
|
||||
"gross_profit", "gross_profit_percent"],
|
||||
"brand": ["brand", "qty", "base_rate", "buying_rate", "base_amount", "buying_amount",
|
||||
"gross_profit", "gross_profit_percent"],
|
||||
"item_group": ["item_group", "qty", "base_rate", "buying_rate", "base_amount", "buying_amount",
|
||||
|
@ -249,7 +249,6 @@ class PurchaseOrder(BuyingController):
|
||||
'target_parent_dt': 'Sales Order',
|
||||
'target_parent_field': '',
|
||||
'join_field': 'sales_order_item',
|
||||
'source_dt': 'Purchase Order Item',
|
||||
'target_ref_field': 'stock_qty',
|
||||
'source_field': 'stock_qty'
|
||||
})
|
||||
|
@ -56,7 +56,6 @@ def get_data():
|
||||
{
|
||||
"module_name": "Lead",
|
||||
"icon": "octicon octicon-broadcast",
|
||||
"type": "module",
|
||||
"_doctype": "Lead",
|
||||
"type": "link",
|
||||
"link": "List/Lead"
|
||||
@ -81,7 +80,6 @@ def get_data():
|
||||
{
|
||||
"module_name": "Stock",
|
||||
"color": "#f39c12",
|
||||
"icon": "fa fa-truck",
|
||||
"icon": "octicon octicon-package",
|
||||
"type": "module",
|
||||
"hidden": 1
|
||||
@ -96,7 +94,6 @@ def get_data():
|
||||
{
|
||||
"module_name": "Selling",
|
||||
"color": "#1abc9c",
|
||||
"icon": "fa fa-tag",
|
||||
"icon": "octicon octicon-tag",
|
||||
"type": "module",
|
||||
"hidden": 1
|
||||
@ -104,7 +101,6 @@ def get_data():
|
||||
{
|
||||
"module_name": "Buying",
|
||||
"color": "#c0392b",
|
||||
"icon": "fa fa-shopping-cart",
|
||||
"icon": "octicon octicon-briefcase",
|
||||
"type": "module",
|
||||
"hidden": 1
|
||||
@ -112,7 +108,6 @@ def get_data():
|
||||
{
|
||||
"module_name": "HR",
|
||||
"color": "#2ecc71",
|
||||
"icon": "fa fa-group",
|
||||
"icon": "octicon octicon-organization",
|
||||
"label": _("Human Resources"),
|
||||
"type": "module",
|
||||
@ -121,7 +116,6 @@ def get_data():
|
||||
{
|
||||
"module_name": "Manufacturing",
|
||||
"color": "#7f8c8d",
|
||||
"icon": "fa fa-cogs",
|
||||
"icon": "octicon octicon-tools",
|
||||
"type": "module",
|
||||
"hidden": 1
|
||||
@ -145,7 +139,6 @@ def get_data():
|
||||
{
|
||||
"module_name": "Projects",
|
||||
"color": "#8e44ad",
|
||||
"icon": "fa fa-puzzle-piece",
|
||||
"icon": "octicon octicon-rocket",
|
||||
"type": "module",
|
||||
"hidden": 1
|
||||
@ -153,7 +146,6 @@ def get_data():
|
||||
{
|
||||
"module_name": "Support",
|
||||
"color": "#2c3e50",
|
||||
"icon": "fa fa-phone",
|
||||
"icon": "octicon octicon-issue-opened",
|
||||
"type": "module",
|
||||
"hidden": 1
|
||||
|
@ -97,17 +97,6 @@ data_map = {
|
||||
"conditions": ["docstatus=1"],
|
||||
"order_by": "posting_date, posting_time, name",
|
||||
},
|
||||
"Work Order": {
|
||||
"columns": ["name", "production_item as item_code",
|
||||
"(qty - produced_qty) as qty",
|
||||
"fg_warehouse as warehouse"],
|
||||
"conditions": ["docstatus=1", "status != 'Stopped'", "ifnull(fg_warehouse, '')!=''",
|
||||
"qty > produced_qty"],
|
||||
"links": {
|
||||
"item_code": ["Item", "name"],
|
||||
"warehouse": ["Warehouse", "name"]
|
||||
},
|
||||
},
|
||||
"Material Request Item": {
|
||||
"columns": ["item.name as name", "item_code", "warehouse",
|
||||
"(qty - ordered_qty) as qty"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user