-
- Downloads
[FIX] spreadsheet_dashboard_hr_expense: remove wrong dependency
Module `spreadsheet_dashboard_hr_expense` depends on `hr_expense`
but uses the field `sale_order_id` which is only introduced with
`sale_expense`.
`spreadsheet_dashboard_hr_expense`'s dependencies are wrong.
To fix the issue:
1) we remove references to `sale_order_id` in `spreadsheet_dashboard_hr_expense`.
Note that it won't be applied to existing databases. The spreadsheet would
need to be updated "by hand" by deleting the cells, the filter and the pivot
object.
2) we introduce a new auto_install module with the correct dependencies to restore
the current dashboard.
On the master branch, `spreadsheet_dashboard_hr_expense`'s
dependencies is correctly changed to `sale_expense` by odoo/odoo#105148
closes #103899
closes odoo/odoo#104125
Signed-off-by:
Rémi Rahir (rar) <rar@odoo.com>
Showing
- addons/spreadsheet_dashboard_hr_expense/data/files/expense_dashboard.json 34 additions, 284 deletions...et_dashboard_hr_expense/data/files/expense_dashboard.json
- addons/spreadsheet_dashboard_sale_expense/__init__.py 1 addition, 0 deletionsaddons/spreadsheet_dashboard_sale_expense/__init__.py
- addons/spreadsheet_dashboard_sale_expense/__manifest__.py 17 additions, 0 deletionsaddons/spreadsheet_dashboard_sale_expense/__manifest__.py
- addons/spreadsheet_dashboard_sale_expense/data/dashboards.xml 8 additions, 0 deletions...ns/spreadsheet_dashboard_sale_expense/data/dashboards.xml
- addons/spreadsheet_dashboard_sale_expense/data/files/expense_dashboard.json 1402 additions, 0 deletions..._dashboard_sale_expense/data/files/expense_dashboard.json
- addons/spreadsheet_dashboard_sale_expense/i18n/spreadsheet_dashboard_hr_expense.pot 181 additions, 0 deletions...rd_sale_expense/i18n/spreadsheet_dashboard_hr_expense.pot
This diff is collapsed.
Please register or sign in to comment