diff options
| author | Romain Derie <rde@odoo.com> | 2018-06-22 18:34:52 +0200 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2018-06-22 18:34:52 +0200 |
| commit | 864357203fc6222cc989b99a5e9f428cd53f413f (patch) | |
| tree | d7e6f199573e2eb392631ad4835e48eead8fe4d6 /addons/barcodes/static/src/js/barcode_form_view.js | |
| parent | 07c111fa7255b28e901c21f2f9967bda0422ab8a (diff) | |
| parent | d6956db916f4de980864f750d0e873f311e73122 (diff) | |
[IMP] account*: update invoice page view on customer portal
*account_payment, l10_in(_sale), sale(_stock), web
With this commit:
The invoice preview in portal (/my/invoices..) is now the HTML version of the
PDF report.
The HTML preview is based on the invoice report to closely match what is
already done in Odoo.
The invoice preview is displayed in an 'iframe', it is mandatory since:
1. Reports are rendered as a separate page as it returns the whole page after
rendering, which has tag <html>, <head> etc
2. Reports are having their own layouts and their own assets that we we cannot
load in the page directly or it will break the website layout.
3. We can not use report template with t-call because internally reports are
using extra params like context_timestamp, company, DateTime, user etc which
is used in header/footer
--
There will be a chatter (as a modal) to display/see the history of the document
--
For responsive purpose, we use new tables with limited column (Description,
Quantity and Amount) for responsive purpose (small screen).
It also adds some bootstrap classes to reports for responsive purpose.
--
The 'Pay Now' button remains if you already paid with 'wire transfer'.
(It disappears for Credit Note)
--
Add margin after the header and before the footer to look like the real printed
document, without alterating the real printed version
--
In every portal module, the pager is now generic in the generic breadcrump
--
Task ID: 39876
Closes #24938
Diffstat (limited to 'addons/barcodes/static/src/js/barcode_form_view.js')
0 files changed, 0 insertions, 0 deletions
