Commit Graph
12 Commits
Author SHA1 Message Date
Jérome Maes 8a399930f3 [REF] website_*: remove render method on website
Since saas-3, website controllers use `request.website.render`
to render the template of a web page. This was kept for retro
compatibility. It's time to stop using deprecated stuff.
Same for `_render` method on website.

'json' route don't use `request.render` since
`JsonRequest` has no `render` method.
2016-08-04 12:02:14 +02:00
Damien Bouvy 8d4b97ef3c [FIX] website_portal: fix typo
No crash, but better to take the value after whitelisting for code
consistency.
2016-07-25 15:59:13 +02:00
Damien Bouvy 259e778404 [IMP] website_portal: whitelist values in submitted in post 2016-07-25 13:56:50 +02:00
Jérome Maes d28e8446da [MIG] website_portal*: migration to new api
Those modules were almost already migrated, this commit
simply modified the import and the xml tags.
2016-07-12 14:29:31 +02:00
Christophe Simonis 5a3a06f26f [MERGE] forward port of branch saas-11 up to d4d09df 2016-07-04 13:16:34 +02:00
Nicolas Martinelli a4e4881f4c [FIX] website_portal: missing kwargs
The route "/my/home" is missing kwargs, therefore switching to debug
mode or trying to translate leads to a traceback.

opw-681380
2016-06-29 16:39:51 +02:00
Christophe Simonis da53a27a5d [MERGE] forward port of branch saas-11 up to c88c70e 2016-06-21 16:24:38 +02:00
Jeremy Kersten 72d03e8fce [FIX] website_portal: check optional field 2016-06-15 17:45:24 +02:00
Vipul Bhatt 4dfbcecfdb [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.
2016-05-27 10:50:34 +02:00
Damien Bouvy 5f48cb992e [REF] website_portal => website_portal, website_portal_sale
Split of website_portal into a generic (and mostly empty) website_portal and a sales-related website_portal_sale (sales order, quotes, invoices)
This allows other modules to extend website_portal without depending on sales
2015-08-07 01:47:06 +02:00
Damien Bouvy 8d7733c057 [IMP] website_portal: allow setting a redirection when calling the partner details frontend page so we do not interrupt the customer flow when browsing through his documents 2015-07-14 11:27:38 +02:00
Damien Bouvy c3c0408471 [ADD] website_portal
- manage your sale documents from the frontend in the 'My Account' page
- move 'My Orders' page from website_sale to website_portal to manage your orders and quotations
- update website_sale_digital and website_sale_stock controllers and view
2015-06-15 14:57:15 +02:00