Commit Graph
8 Commits
Author SHA1 Message Date
Camille Spiritus e720cfe901 [IMP][l10n_ch] account: allow for QR bills to be printed in batch
The only option to print a QR Invoice was to go on the invoice page and to click on the Print QR Button.

This PR allows for a user to print multiple QR codes, selected from the Invoices view.
The download occurs normally if all invoices are valid and QR-printable.
A wizard opens when the whole invoice selection isn't valid. It allows to download the invoices as a single pdf or to see a list of the ones that could not be printed in the QR format.
The wizard's text depends on the number of QR-valid, ISR-valid and classic (non QR, non ISR) invoices that the user tried to print.

All invoices for which a print is asked will be printed with a QR bill if it is possible. If not, this will check if printing in the ISR format is possible. Lastly, if none is possible, the classic invoice will be printed.
The behaviour allowed for the removal of the QR PRINT and ISR PRINT buttons on the single invoice view, for a behaviour closer to the original guidelines.

Bills can't be QR printed.

Corrected QR-Bill CSS.

task-2726507

closes odoo/odoo#82341

Signed-off-by: Laurent Smet <las@odoo.com>
2022-05-10 16:23:44 +02:00
nicolas.bessi@camptocamp.com beb774cc11 [IMP] Refactoring of l10n_ch due to the adoption of new payment standard in 2013/2014 only chart of account stays all other function are split and extracted in swiss localization project on launchpad
bzr revid: nicolas.bessi@camptocamp.com-20121218102141-vnu8n7huhty1z3ro
2012-12-18 11:21:41 +01:00
Fabien Pinckaers f27318c8af [IMP] Security Rule: removed duplicates due to inheritancies of groups
bzr revid: fp@tinyerp.com-20111212181113-mhnnbps3ip8ls6pp
2011-12-12 19:11:13 +01:00
nicolas.bessi@camptocamp.com 315242ab0c [IMP] l10n_ch new version with 2011 taxes and with fixes disscussed with qdp
bzr revid: nicolas.bessi@camptocamp.com-20110114124154-zrqoqof5etn9i42r
2011-01-14 13:41:54 +01:00
nvi-openerp 67a4d79dd2 [IMP] Cleaned wizards in swiss accounting
bzr revid: nicolas.vanhoren@openerp.com-20101027094313-25motoux4bghwmi3
2010-10-27 11:43:13 +02:00
nvi-openerp e6b58a33cf [IMP] Merged swiss accounting
bzr revid: nicolas.vanhoren@openerp.com-20101026150222-gieza7zn96y0pfvc
2010-10-26 17:02:22 +02:00
UCO (OpenERP) 3217cf7e4c [REM]: Removed access rules for OSV memory objects
bzr revid: rpa@tinyerp.com-20100628134938-23kiccr4355jfhmg
2010-06-28 19:19:38 +05:30
nicolas.bessi@camptocamp.com 9f8a426388 adding swiss localisation modules
bzr revid: nicolas.bessi@camptocamp.com-20090213155346-dm090u6oqpvb3ujw
2009-02-13 16:53:46 +01:00