chore: Remove extra columns

This commit is contained in:
Deepesh Garg
2022-05-07 22:44:53 +05:30
parent ac362c75db
commit b0e929b8ae

View File

@@ -65,10 +65,6 @@ def get_columns():
{"fieldname": "stock_qty", "label": _("Stock Qty"), "fieldtype": "Float", "width": 90},
{"fieldname": "tax_rate", "label": _("Tax Rate"), "fieldtype": "Data", "width": 90},
{"fieldname": "total_amount", "label": _("Total Amount"), "fieldtype": "Currency", "width": 120},
{"fieldname": "description", "label": _("Description"), "fieldtype": "Data", "width": 300},
{"fieldname": "stock_uom", "label": _("Stock UOM"), "fieldtype": "Data", "width": 100},
{"fieldname": "stock_qty", "label": _("Stock Qty"), "fieldtype": "Float", "width": 90},
{"fieldname": "total_amount", "label": _("Total Amount"), "fieldtype": "Currency", "width": 120},
{
"fieldname": "taxable_amount",
"label": _("Total Taxable Amount"),
@@ -222,6 +218,7 @@ def get_tax_accounts(
def get_merged_data(columns, data):
print(data)
merged_hsn_dict = {} # to group same hsn under one key and perform row addition
result = []