Commit Graph
10 Commits
Author SHA1 Message Date
Laurent Smet bedf191134 [IMP] account,l10n_*: Set 100 as default value for factor_percent in tax repartition lines
closes odoo/odoo#94125

Related: odoo/enterprise#28648
Related: odoo/upgrade#3695
Related: odoo/documentation#2557
Signed-off-by: Laurent Smet <las@odoo.com>
2022-08-25 19:56:56 +02:00
oco-odoo b7232b14b7 [IMP] account, l10n_*: Introduce unified reporting engine
This commit adapts account's model to the new report engine introduced for v16, and updates the data files accordingly.

account.report model is now declared in community, together with the other models used by the reporting. This is done so that the tax tags can properly be created by the tax report and used on tax templates. All the actual computation logic stays in enterprise.

See enterprise commit for full details.

Task 2524389

Part-of: odoo/odoo#94125
2022-08-25 19:56:55 +02:00
aliya 26b2472f49 [IMP] account: refactor account types
Task: 2856281

- Remove user_type_id, account.account.type model, internal_type
- Add account_type that is a simple selection field
- Move internal_group and include_initial_balance to account.account
- Because of these changes, type_control_ids on account.journal is also removed

closes odoo/odoo#93212

Related: odoo/documentation#2223
Related: odoo/upgrade#3595
Related: odoo/enterprise#28205
Signed-off-by: Cedric Snauwaert <csn@odoo.com>
2022-07-08 19:52:15 +02:00
Gitdyr e9b87c2c54 [FIX] l10n_dk: fix spelling of "virksomhed"
closes odoo/odoo#87943

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-04-22 15:37:38 +02:00
Brice bib Bartoletti 57346c85f8 [FIX] l10n_ch,l10n_dk,l10n_fi: 0% tax fix
Every tax should have a tax repartition line even 0% tax

closes odoo/odoo#85990

X-original-commit: 17e3bd58e519bd40fdc0c7fd431cd1a8f90cf33e
Signed-off-by: Laurent Smet <las@odoo.com>
Signed-off-by: Brice Bartoletti <bib@odoo.com>
2022-03-07 19:15:03 +00:00
Brice bib Bartoletti 9a9d61f755 [IMP] l10n_dk: tax implementation, fix and last fine tuning
The aim of this commit is to:
- correct the implementation of the restaurationMoms
- add a price_include version of restauraionMoms
- make a better implementation of the energy tax

before this commit:
The implementation of the restaurationMoms is completly false.
The implementation of tax energy is quite complicated and makes
the UI display a "0 tax value".

after this commit:
2 restaurationMoms version and both are correct.
Tax energy implementation is more user-friendly and more correct
regarding information displayed by the UI.

closes odoo/odoo#84004

Task: #2748309
Pr: https://github.com/odoo/odoo/pull/83666
X-original-commit: 7d4dcf7944cf776d74d31c80f2df15c8d44e3c5c
Signed-off-by: Josse Colpaert <jco@odoo.com>
Signed-off-by: Brice Bartoletti <bib@odoo.com>
2022-02-04 18:48:45 +00:00
Brice bib Bartoletti f5033dce60 [FW][IMP]l10n_dk: Add danish tax report
This commit is a forward port of the 2 following commits:

[IMP]l10n_dk: Add support for danish tax reporting
commit: d48433589a403754e9853b5242ec42abfafbfdea

This commit creates the basis for the danish tax report.
It creates the report and link the tags to the related taxes.

[IMP]l10n_dk: tax report and taxes impl. rework
commit: 7e4017c43a72314a5ba6da40903896f2dce4e2d5

This commit aims to:
    - implements formula in the tax report
    - shorten tag names and add context comments to the tax report
    - correct the tax implementation
    - add some fiscal position for some taxes and reorder them
    - delete a tax that doesn't make any sense

closes odoo/odoo#83376

Community-pr: https://github.com/odoo/odoo/pull/80823
Task: #2666277
X-original-commit: f8c1015841020244bae16715b0112f41b91ec72b
Signed-off-by: Josse Colpaert <jco@odoo.com>
Signed-off-by: Brice Bartoletti <bib@odoo.com>
2022-01-26 11:46:15 +00:00
oco-odoo 7922e5d102 [IMP] l10n_*: set newly-introduced country_id field on chart templates 2021-04-01 12:09:20 +00:00
Pratima Gupta 0cecb056d4 [IMP] l10n_xx: remove function alias added by f8d4bf44
instead, try_loading used directly.

closes odoo/odoo#50382

Task: 2239900
Closes: #50382
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-05-01 06:10:55 +00:00
odoohouse 05606ded0d [ADD] l10n_dk: introducing Denmark localization
added CoA, taxes, fiscal positions and related stuff

closes odoo/odoo#41064

Task: 40224
X-original-commit: 11280c0c601fd29ed875bc4c63e02852ba75ae17
Signed-off-by: Josse Colpaert <jco@openerp.com>
2019-11-28 13:39:09 +00:00