diff options
| author | laa <laa@odoo.com> | 2019-11-19 14:58:06 +0000 |
|---|---|---|
| committer | laa <laa@odoo.com> | 2019-11-28 15:39:03 +0000 |
| commit | 9cfb6c05a46ced5d58dfd4801c143ebf53d6d6ef (patch) | |
| tree | 852a19d07db4ac898c57695aa7499ecba4271cd0 /addons/purchase/controllers | |
| parent | cbc93d0d11114b59ba073620dc2345262023f0cd (diff) | |
[FIX] Portal : missing url args
on the portal:
- in Timesheets, when search something, the text of the search must remain displayed
- in Tasks, when search something, the text of the search must remain displayed
- in Purchase Orders, "Sort By" and "Filter By" selectors shouldn't change when going to next page
- in Timesheets, the "Group By" selector shouldn't change when going to next page
closes odoo/odoo#40278
Related: odoo/enterprise#6787
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/purchase/controllers')
| -rw-r--r-- | addons/purchase/controllers/portal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/purchase/controllers/portal.py b/addons/purchase/controllers/portal.py index 171373bbec5..bccc25331d0 100644 --- a/addons/purchase/controllers/portal.py +++ b/addons/purchase/controllers/portal.py @@ -74,7 +74,7 @@ class CustomerPortal(CustomerPortal): # make pager pager = portal_pager( url="/my/purchase", - url_args={'date_begin': date_begin, 'date_end': date_end}, + url_args={'date_begin': date_begin, 'date_end': date_end, 'sortby': sortby, 'filterby': filterby}, total=purchase_count, page=page, step=self._items_per_page |
