Commit Graph
36 Commits
Author SHA1 Message Date
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
Victor Feyens 1b67affe7d [FIX] *: avoid direct references to countries
Ensure the code works fine even if countries are deleted.

Also consider "re"-created countries after deletion, by only considering
the country code, not the data reference.

This should reduce support requests related to deleted countries, and
ease the resolution of such problems by the users themselves.

TASK ID - 2368842

closes odoo/odoo#60558

X-original-commit: 037012bc4e2935eb00a7f353529bb7ec55066733
Related: odoo/enterprise#14347
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-10-22 16:17:26 +00:00
fw-bot 3349940157 [FIX] l10n_ch: make QR-bill and ISR generation disjoint
QR-bills could only be generated for ISR-compliant invoices, which is wrong and would have caused issues in the future, as ISR will slowly disappear.

Furthermore, doing it this way avoids raising an error after commit 719f087 , when trying to print an ISR-compliant invoice if the module hadn't been updated (it used to raise because the QR-bill report didn't exist, and it tried generating it).

closes odoo/odoo#51858

Forward-port-of: #51340
Forward-port-of: #50744
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2020-05-28 11:43:30 +00:00
Florian Gilbert a77d80a48d [FIX] account & l10n_ch: fix l10n_ch installation on a company
And a compute field.

closes odoo/odoo#37497

Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
2019-09-27 14:14:18 +00:00
Laurent Smet fe2bdc2649 [FIX] l10n_ch: fix missing renaming of settings
account.config.settings has been renamed by res.config.settings, see 781a03b2bc
2017-09-05 15:02:30 +02:00
Laurent Smet aee43c0d14 [ADD] account: add cash rounding managment
In some countries, we need to be able to make appear on an invoice a rounding line, appearing there only because the smallest
    coinage has been removed from the circulation.
    For example, in Switerzland invoices have to be rounded to 0.05 CHF because coins of 0.01 CHF and 0.02 CHF aren't used anymore.

    Was PR #15231
    Was task 30904
2017-09-01 18:23:45 +02:00
xmo-odoo b4429c2a91 [FIX] Various P3-related import changes
* LDAP import: python-ldap is not python3-compatible, pyldap is

  Warning: only supported from debian Stretch (current testing)?
  https://packages.debian.org/search?searchon=names&keywords=pyldap

* implicitly relative imports
* imports of moved or removed stdlib modules

issue #8530
2017-04-28 09:06:53 +02:00
Olivier Colson 5169b50efe [IMP] l10n_ch
Add a new button to generate the ISR and remove the "double generation" of reports on 'Print invoice' button. This modification brings the code back to its original version and hence fixes the javascript bugs that occured with less than 3 workers running on the server and with Google Chrome when triggering multiple downloads simultaneously.

[ADD] account

Add a identifier to the 'register payment' button in order to reference it more easily and add the 'Print ISR' next to it.

[FIX] l10n_ch

The module did not install itself anymore, an import was missing.

Report generation was crashing due to a function's suppression.
2017-03-06 16:43:26 +01:00
qdp-odoo 1ba42a6f29 [IMP] l10n_ch: add support for ISR/BVR generation and postal bank accounts
The ISR is a payment slip report for account.invoice, that we automatically send and print with the regular invoice report (to ease usability, as these two reports usually go together).

[FIX] l10n_ch: italian translation

A field was missing for italian chart of account translation to work.
2017-03-03 16:00:05 +01:00
Rohan Patel ad7ca14d1b [MIG] l10n_* : Migrated to new API
[MIG] l10n_ae : Migrated to new API.

[MIG] l10n_ar : Migrated to new API.

[MIG] l10n_at : Migrated to new API.

[MIG] l10n_au : Migrated to new API.

[MIG] l10n_be : Migrated to new API.

[MIG] l10n_bo : Migrated to new API.

[MIG] l10n_br : Migrated to new API.

[MIG] l10n_ca : Migrated to new API.

[MIG] l10n_ch : Migrated to new API.

[MIG] l10n_cl : Migrated to new API.

[MIG] l10n_cn : Migrated to new API.

[MIG] l10n_co : Migrated to new API.

[MIG] l10n_cr : Migrated to new API.

[MIG] l10n_de : Migrated to new API.

[MIG] l10n_de_skr03 : Migrated to new API.

[MIG] l10n_de_skr04 : Migrated to new API.

[MIG] l10n_cn_small_business : Migrated to new API.

[MIG] l10n_cn_standard : Migrated to new API.

[MIG] l10n_do : Migrated to new API.

[MIG] l10n_ec : Migrated to new API.

[MIG] l10n_es : Migrated to new API.

[MIG] l10n_et : Migrated to new API.

[MIG] l10n_fr : Migrated to new API.

[MIG] l10n_generic_coa : Migrated to new API.

[MIG] l10n_gr : Migrated to new API.

[MIG] l10n_gt : Migrated to new API.

[MIG] l10n_hn : Migrated to new API.

[MIG] l10n_hr : Migrated to new API.

[MIG] l10n_hu : Migrated to new API.

[MIG] l10n_in : Migrated to new API.

[MIG] l10n_it : Migrated to new API.

[MIG] l10n_jp : Migrated to new API.

[MIG] l10n_lu : Migrated to new API.

[MIG] l10n_ma : Migrated to new API.

[MIG] l10n_mx : Migrated to new API.

[MIG] l10n_nl : Migrated to new API.

[MIG] l10n_no : Migrated to new API.

[MIG] l10n_nz : Migrated to new API.

[MIG] l10n_pa : Migrated to new API.

[MIG] l10n_pe : Migrated to new API.

[MIG] l10n_pl : Migrated to new API.

[MIG] l10n_ro : Migrated to new API.

[MIG] l10n_sa : Migrated to new API.

[MIG] l10n_sg : Migrated to new API.

[MIG] l10n_si : Migrated to new API.

[MIG] l10n_syscohada : Migrated to new API.

[MIG] l10n_th : Migrated to new API.

[MIG] l10n_tr : Migrated to new API.

[MIG] l10n_uk : Migrated to new API.

[MIG] l10n_us : Migrated to new API.

[MIG] l10n_uy : Migrated to new API.

[MIG] l10n_ve : Migrated to new API.

[MIG] l10n_vn : Migrated to new API.
2016-07-06 11:01:26 +02:00
qdp-odoo a2ff33faac [IMP] account: added some functions to help updating VAT reports in localization modules. [FIX] l10n_ch: better tags on taxes in order to have an enhanced VAT report 2016-01-21 17:35:16 +01:00
Cédric Snauwaert c2f0e915fe [FIX] l10n_multilang: module adapted to new accounting and the fact that localization modules generate the objects from the templates directly at the installation (which was before the translation were loaded for the templates in previous version). Was PR #8455 2015-09-30 09:30:46 +02:00
qdp-odoo 5baa2d19fa [FIX] l10n_ch is back, compliant with the new accounting 2015-08-18 11:59:29 +02:00
Olivier Dony 0bd4545348 [LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate text
- Preserved explicit 3rd-party copyright notices
- Explicit boilerplate should not be necessary - copyright law applies
  automatically in all countries thanks to Berne Convention + WTO rules,
  and a reference to the applicable license is clear enough.
2015-06-02 03:16:04 +02:00
Leonardo Donelli 4a0b13ed92 [REF] remove vim modelines and resulting trailing blank lines
Let 2015 be a year without modelines!
cf #4174
2014-12-31 15:52:13 +01:00
nicolas.bessi@camptocamp.com 93cecb8f0a [FIX] update l10n_ch contributors and meta-data
bzr revid: nicolas.bessi@camptocamp.com-20130215134018-e5w25wvbf0u0cat1
2013-02-15 14:40:18 +01: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
nicolas.bessi@camptocamp.com 1e08004c51 account move line removing because overriding line2bank is not needed anymore
bzr revid: nicolas.bessi@camptocamp.com-20110128105028-czxgvwh730mban0p
2011-01-28 11:50:28 +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 e380d5d55c [FIX] Corrected small things in swiss accounting
bzr revid: nicolas.vanhoren@openerp.com-20101026150632-lsvdofxrqdbnmlxh
2010-10-26 17:06:32 +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
ced 15a2d0287a Move account chart to extra_addons repo
bzr revid: ced-a45a7ff64ec9aa763acdc006e9bfe3f7cc91b653
2007-08-10 06:56:37 +00:00
pinky c1ea220060 BVR are Ok.
bzr revid: pinky-74eb14f963b500478b874717482441d93a178c5b
2007-01-16 08:55:03 +00:00
bch 0d0207cf56 DTA debug
bzr revid: bch-53f2a82267ecb87d55dc0d732dbe679c509085e8
2007-01-12 14:49:15 +00:00
bch bc97086b30 DTA debug
bzr revid: bch-b59f834b73661c44b5e094cc897cbfbd41139079
2007-01-12 14:41:47 +00:00
bch a11c00259a suppresion des num dta et numbvr de company
bzr revid: bch-169a89a35fbba20007bfcd5a8e663cb10c0fdb38
2007-01-12 14:32:36 +00:00
bch 137aa2ce97 DTA : the dropdown in the invoice does no longer exist. The dta record type is completely defined by the bank account
bzr revid: bch-684e3b107476b43b44d1c1002551ac91a8c35664
2007-01-11 09:03:27 +00:00
pinky bc438037fd L10N_CH : DTA wizard added
bzr revid: pinky-41dc014b1293b7f02f5dd5b3f2c6a1d7f237aaad
2006-12-18 08:06:01 +00:00
pinky a33826ac52 l10n_ch : DTA and V11 first version
bzr revid: pinky-cc537050293435f32b59349ebd142bbed4482e93
2006-12-08 13:03:08 +00:00
pinky 2f9a0fcc2b NEW MODULE:
purchase_journal:
		Add journals to purchases
		Add statistics on purchases of a journal
		New reporting menu for purchases

Improvement in module l10n_ch:
	BVR print (still buggy)
	DTA generation (draft)

bzr revid: pinky-b2c5bf783db58b9b6d12cc7f2a4b9decb1bdd6f3
2006-12-08 08:31:09 +00:00
pinky a83dce15e0 New trunk
bzr revid: pinky-dedd7f8a42bd4557112a0513082691b8590ad6cc
2006-12-07 13:41:40 +00:00