Commit Graph
12 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
oco-odoo d9c97e8cd1 [REM] l10n_ch_qr_iban: merge module into l10n_ch
This module had been introduced in stable to add a field to store the QR-IBAN in case it differed from the regular account number. We now merge it into the original module and make it so that the only way to define a QR-IBAN is to populate this field (no more magic with account number).
2021-04-01 17:06:11 +00: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
Yannick Vaucher 2b142c0a31 [MRG] from c2c l10n_ch
bzr revid: yannick.vaucher@camptocamp.com-20110916143255-7btktl8u1u23cwn0
2011-09-16 16:32:55 +02: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
PAP(OpenERP) e20f4b9b37 [IMP] l10n_ch: Converted to osv memory wizards
bzr revid: mra@mra-laptop-20100819045110-xwunpbnuqr1s5h0c
2010-08-19 10:21:10 +05:30
Stephane Wirtel 5142d98b30 [FIX] Remove the executable flag on the python and xml files
bzr revid: stephane@openerp.com-20100429080154-kmn18r5kci0uq84u
2010-04-29 10:01:54 +02:00
ChristopheChauvet(syleam) 41e8ed59ef changed encoding to coding in all py files
lp bug: https://launchpad.net/bugs/357182 fixed

bzr revid: hda@tinyerp.com-20091013055837-3ntnbe8b938xmk97
2009-10-13 11:28:37 +05:30
Christophe Chauvet 28ede437d9 [IMP]
* add missing tools.translate 
 * translate all missing raise
 * add encoding: utf-8 in missing file
 * add vim comment (when missing) at the end of file
 * convert tabs to spaces (PEP8 Compliant)
 * more pythonic when concatenate value

bzr revid: christophe.chauvet@syleam.fr-20090306221824-xt1oeip60sq8fwws
2009-03-06 23:18:24 +01:00
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