From 4dfbcecfdb59c12eaf4b3b435a626f07574d5ce3 Mon Sep 17 00:00:00 2001 From: Vipul Bhatt Date: Tue, 12 Apr 2016 10:22:19 +0200 Subject: [PATCH] [IMP] website_{portal,portal_sale,project_issue,quote} : add pager for customer documents This commit adds controller to list documents of customer, with pager and archive widget to sort documents. Impacted documents are : quotations, sale order, invoices, and issues. Portal breadcrumd is improved too : add the home icon, and keep the query params when using archive widget. Some editable zones were added to templates, allowing people to customize their frontend portal. --- .../views/website_payment_templates.xml | 6 +- addons/website_portal/controllers/main.py | 35 ++++- .../static/src/js/website_portal.js | 11 +- .../static/src/less/website_portal.less | 6 +- addons/website_portal/views/templates.xml | 66 ++++++-- .../website_portal_sale/controllers/main.py | 144 ++++++++++++++++-- .../website_portal_sale/views/templates.xml | 111 +++++++++++--- .../website_project_issue/controllers/main.py | 41 ++++- .../views/project_issue_templates.xml | 50 ++++-- .../website_quote/views/website_quotation.xml | 9 +- 10 files changed, 395 insertions(+), 84 deletions(-) diff --git a/addons/website_payment/views/website_payment_templates.xml b/addons/website_payment/views/website_payment_templates.xml index 0395b6ccfaf..1dc0d39a76a 100644 --- a/addons/website_payment/views/website_payment_templates.xml +++ b/addons/website_payment/views/website_payment_templates.xml @@ -1,7 +1,7 @@ -