Commit Graph
6 Commits
Author SHA1 Message Date
Daniel Kosky (dako) 084408a9bb [FIX] l10n_*: set default taxes
The default taxes for most localisations have been left undefined by
default. When loading the chart template, the model generally selects
the first sales and purchase taxes, based on the order in which the
taxes appear in the csv, for the default sales and purchase taxes
respectively.

This behaviour can be confusing to those who are not yet familiar with
it. It has been decided that it is preferable instead to specify the
default tax in _get_*_res_company function on the account chart template
model, such that the default taxes are defined explicitly for every
localisation.

task-3453997

closes odoo/odoo#130733

Related: odoo/enterprise#45531
Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com>
2023-08-17 18:42:46 +02:00
william-andre d782b8b925 [IMP] l10n_*: convert CoA in new format
Converted using https://github.com/william-andre/transform_coa

closes odoo/odoo#110016

Related: odoo/enterprise#35836
Related: odoo/documentation#3336
Related: odoo/upgrade#4276
Signed-off-by: William André (wan) <wan@odoo.com>
2023-02-17 19:30:40 +01:00
zyzcss cf9233cf2a [FIX] l10n_cn: fix def _count_attachments
X-original-commit: b1a3afabf2c9b1e7f5645ca5f4ca4beed4b2c661
Part-of: odoo/odoo#109304
2023-01-06 14:31:49 +01:00
yhu-odoo a1200768d1 [IMP] l10n_cn: add print option "Voucher"
Add an additional report called "Voucher/记帐凭证" to print option in
account.move form view.

A library "cn2an" are required to conver a number to "amount in
words/大写金额" for Chinese financial usage.

Task 2179744

closes odoo/odoo#68121

X-original-commit: 0f6fdce76809af7e965f672970d74594a337f6fb
Signed-off-by: Josse Colpaert <jco@openerp.com>
2021-03-18 19:14:14 +00:00
yhu-odoo 915abb533c [FIX] l10n_cn: don't check when no fapiao
Don't check the fapiao number format when there is not fapiao number :)

Related to #45743 and task 2180269

closes odoo/odoo#47835

Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-03-17 14:36:46 +00:00
yhu-odoo 8558408153 [IMP]l10n_cn: add fapiao number to account.move
Add fapiao number to account.move, only show it when the company is
located in China.

Task 2180269
PR #45743

Related: odoo/upgrade#813
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-03-10 07:55:23 +00:00