[FIX] spreadsheet_dashboard_{}: remove non existing field from json files
before this commit, on clicking top reinvoiced orders section in the expense dashboard throws traveback saying invalid field analytic_account_id. as analytic_account_id field is now replaced by analytic_distribution, removing the usage of analytic_account_id from json files. closes odoo/odoo#109014 X-original-commit: baea94b9e7e5e5d120e11d454194fbfd70dee4ef Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
This commit is contained in:
committed by
Lucas Lefèvre
parent
22801dbb62
commit
64ac4f80df
@@ -105,7 +105,7 @@
|
||||
},
|
||||
"A32": {
|
||||
"style": 1,
|
||||
"content": "[Top Reinvoiced Orders](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[[\"analytic_account_id\",\"!=\",false]],\"context\":{\"group_by\":[\"analytic_account_id\"],\"pivot_measures\":[\"__count\",\"total_amount\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"analytic_account_id\"]},\"modelName\":\"hr.expense\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"list\"],[false,\"kanban\"],[false,\"form\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Expenses Analysis\"})",
|
||||
"content": "[Top Reinvoiced Orders](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[[\"sale_order_id\",\"!=\",false]],\"context\":{\"group_by\":[\"sale_order_id\"],\"pivot_measures\":[\"__count\",\"total_amount\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"sale_order_id\"]},\"modelName\":\"hr.expense\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"list\"],[false,\"kanban\"],[false,\"form\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Expenses Analysis\"})",
|
||||
"border": 1
|
||||
},
|
||||
"A33": {
|
||||
@@ -909,7 +909,6 @@
|
||||
"employee_id",
|
||||
"payment_mode",
|
||||
"activity_ids",
|
||||
"analytic_account_id",
|
||||
"company_id",
|
||||
"attachment_number",
|
||||
"total_amount_company",
|
||||
|
||||
Reference in New Issue
Block a user