summaryrefslogtreecommitdiff
path: root/odoo/fields.py
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2020-06-19 08:32:51 +0000
committerNicolas Martinelli <nim@odoo.com>2020-06-19 14:10:00 +0000
commitd5ba35cb7cd2cebbd53b11cbd8b9c73808e88ad5 (patch)
tree779c564218ee4556d7bfcefa3e85067646f3ef3a /odoo/fields.py
parent584b76d70ba60c8725108a40f85629f8ca8d0dd9 (diff)
[FIX] sale_timesheet: clean context
- Modify `timesheet_action_all` to display the tree view before the grid view - In the quotation tree view, order by Status, group by Salesman and save as filter - Open a SO with timesheets - Clck on the 'Timesheets' stat button An error occurs because the `orderedBy` context key is added in the action context. The purpose of replacing the action context is to remove the default filters. We can simply set an empty dict to avoid any unwanted keys. opw-2278618 closes odoo/odoo#53339 X-original-commit: 4a0348fed0c7c5b9557d1c9ae2dbf2bbfafcc3a2 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'odoo/fields.py')
0 files changed, 0 insertions, 0 deletions