summaryrefslogtreecommitdiff
path: root/addons/l10n_nz/data
AgeCommit message (Collapse)Author
2020-06-11[FIX] l10n_*: no chart template should be set to noupdateDenis Ledoux
In a general manner, the chart templates should not be set to noupdate, that way, if a new company starts in an existing database, it starts with an up-to-date chart of accounts. For instance, if the chart of template is not updated from 12.0 to 13.0, the `default_pos_receivable_account_id` is not added in the chart template, and when a new company is created, the default pos receivable account is not set on the company. Besides, the field `res.company``account_default_pos_receivable_account_id` is not displayed on any form view, whether or not the full accounting is installed, so we must especially pay attention this default account is well set from start, as the user as no opportunity to correct this by himself. In addition, in upgrade scripts, the default pos receivable account on the chart template is used to correctly set the pos receivable account on the company and on the pos payment methods, so it must be well set for the upgrade script to do its job correctly. Technically, it means, without this revision, the fields: - `account.chart.template``default_pos_receivable_account_id`, - `res.company``account_default_pos_receivable_account_id`, - `pos.payment.method``receivable_account_id` were not filled properly on upgrade, causing critical issues in the accounting entries on pos session closing. Related to #52786 Related to odoo/upgrade@ccfd2371ef89ae67dc9bd68bb0d02f2a440551a2 closes odoo/odoo#52870 X-original-commit: 3258ba015ff75b7c176d83a44261d24ebfcc26de Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
2020-04-06[FIX] l10n_au,l10n_nz: fix label percentage on gst imports taxAndrea Grazioso (agr-odoo)
1. Install the Australian Accounting localization pack. 2. Create a Bill, use the existing pre-defined tax, "GST only on imports". 3. See that the subtotal of the line will be changed to 0.01. 4. See that at the bottom there will be a GST 100000000% amount showing. The tax data need a upper percentage to avoid the 0.01 rounding issue. opw-2226119 closes odoo/odoo#49032 X-original-commit: 5bf911fe3c0d2e461e31ab47b74bba173171dbea Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-12-02[FIX] l10n_nz: adapt nz tax report to the multiple tax report modelJosse Colpaert
closes odoo/odoo#41291 X-original-commit: 81eb531009ccc7acc11ef18791e5bb7f9fee16ae Signed-off-by: Josse Colpaert <jco@openerp.com>
2019-11-26[IMP] l10n_nz: added GST101A tax return reportHaresh Shyara
closes odoo/odoo#35373 Task: 2129257 Closes: 35373 Signed-off-by: Josse Colpaert <jco@openerp.com>
2019-08-14[MERGE] forward port branch saas-12.4 up to 98a55917a60Christophe Simonis
2019-08-14[IMP] account, l10n_xx: change CoA loading methodsJosse Colpaert
Before, we only had a public method that installed the CoA for the current active company. With the multi-company changes, it was not possible anymore to install a module with a demo company and then have the CoA installed in that demo company correctly. We changed that public method to be able to put an extra optional parameter and shortened its name to try_loading instead of try_loading_for_current_company. The method that it calls when there is no chart installed is made private and renamed to _load. closes odoo/odoo#35703 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2019-08-02[FIX] l10n_*: fix taxes repartition so that 12.3 matches what is defined in 12.2Olivier Colson
[IMP] l10n_*: don't define accounts or tags on tax repartition line templates anymore for 0% taxes [FIX] account: remove old function used to migrate the former tax model, incompatible with the new one
2019-08-09[IMP] l10n_*: add new receivable account for posJoseph Caburnay
A new feature[*] in point_of_sale (PoS) which minimizes the creation of account.move records in closing a pos.session relies on a receivable account made specifically for PoS. This commit addresses this feature's requirement by adding a new receivable account to each localization. [*] point_of_sale: single AE for a pos.session TASK-ID: 1862388
2019-05-10[IMP] account, l10n_*: v13 taxesOlivier Colson
- Add repartition lines on taxes - Link account tags directly to account.move.line; remove the tag_ids field from account.tag - Add a new report engine dedicated to tax reports, directly generating account tags. It is called as an alternate mode of generic tax report, with a dedicated "Use tax grids" toggle. >> The biggest change lies in the way the new tax report computes its values. Everything is now aggregated directly using the tags set on the account move lines. Thanks to that, modifying the configuration of a tax today will not impact the report for the previous periods anymore. This is a big improvement, as it means the report will keep on reflecting the values that were submitted to the state before, whatever the configuration change. - Add an audit char field to account.move.line telling with tax grids are impacted by the line, with the corresponding amount - Modify the behavior of cash basis taxes: the cash basis account is now used as the transition account, while the regular account given in tax declaration is used to store the final entry (it was the opposite before) - Modify every l10n_* module in order to keep them consistent with these changes closes odoo/odoo#32833 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2018-05-23[ADD] account, l10n_*: create transfer account based on prefix.Laurent Smet
This commit changes the mechanism to get the transfer account. As the bank/cash accounts, the transfer account is now created automatically based on a prefix. -task: https://www.odoo.com/web#id=35857&action=333&active_id=967&model=project.task&view_type=form&menu_id=4720
2017-11-07[IMP] l10n*: CoA loading yml files to xmlYannick Tivisse
2017-08-28[IMP] account,sale,l10n_*: display tax amount per tax group in sale/account ↵Mehul Patel
reports Each tax is linked to a tax group. Each tax group is display separately with the corresponding amount when the business reports (invoices/sale orders) are printed. NB: Because each tax is now linked to a tax group. Every localization have been updated according it. task: https://www.odoo.com/web#id=30501&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 PR: #16724
2016-10-24[FIX] l10n_nl, l10n_nz: prevent localization instalation from crashingastirpe
Original commit 64691c7796f92ffda15f5526b83d9b8b21ca149b courtesy of Andrea Stirpe <a.stirpe@onestein.nl> Removed action 'Open Account Dashboard Menu' from module l10n_nl. Though it works fine on Odoo Community 10.0, that part of code causes an error when installing the module on an Enterprise installation of Odoo 10.0. That action 'Open Account Dashboard Menu' was present in various localizations for V9.0, but since V10 it was removed from all the localization modules. Impacted versions: - 10.0 Enterprise Steps to reproduce: 1. install module l10n_nl on Odoo Enterprise 10.0 Module l10n_nz was affected by the same problem.
2016-08-20[MERGE] forward port branch saas-12 up to 9ad5f26Christophe Simonis
2016-08-03[FIX] l10n_au, l10n_nz: account definitionsRichard deMeester
Change default definitions of funds clearing accounts to be assets instead of liquidity. Without this fix, reconciling to these accounts during bank reconciliation is not generating the correct journal, but is treating the process as a matching step (which it is not). For existing data, the accounts will need to be manually changed from liquidity to current assets. Closes #12996
2016-07-29[MERGE] forward port branch saas-12 up to 16d65a8Christophe Simonis
2016-07-25[FIX] l10n_nz: Tax template name conflict (AU/NZ)Richard deMeester
Rectify name conflict in tax templates between NZ and AU chart of accounts. Otherwise, it's impossible to install both charts of accounts at the same time. Fixes #12600 Closes #12758
2016-07-06[MIG] l10n_* : Migrated to new APIRohan Patel
[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[MOV] l10n_* : Re-organized directory structureRohan Patel
[MOV] l10n_ae : Re-organized directory structure. [MOV] l10n_ar : Re-organized directory structure. [MOV] l10n_at : Re-organized directory structure. [MOV] l10n_au : Re-organized directory structure. [MOV] l10n_be : Re-organized directory structure. [MOV] l10n_bo : Re-organized directory structure. [MOV] l10n_br : Re-organized directory structure. [MOV] l10n_ca : Re-organized directory structure. [MOV] l10n_ch : Re-organized directory structure. [MOV] l10n_cl : Re-organized directory structure. [MOV] l10n_cn : Re-organized directory structure. [MOV] l10n_co : Re-organized directory structure. [MOV] l10n_cr : Re-organized directory structure. [MOV] l10n_de : Re-organized directory structure. [MOV] l10n_de_skr03 : Re-organized directory structure. [MOV] l10n_de_skr04 : Re-organized directory structure. [MOV] l10n_cn_small_business : Re-organized directory structure. [MOV] l10n_cn_standard : Re-organized directory structure. [MOV] l10n_do : Re-organized directory structure. [MOV] l10n_ec : Re-organized directory structure. [MOV] l10n_es : Re-organized directory structure. [MOV] l10n_et : Re-organized directory structure. [MOV] l10n_fr : Re-organized directory structure. [MOV] l10n_generic_coa : Re-organized directory structure. [MOV] l10n_gr : Re-organized directory structure. [MOV] l10n_gt : Re-organized directory structure. [MOV] l10n_hn : Re-organized directory structure. [MOV] l10n_hr : Re-organized directory structure. [MOV] l10n_hu : Re-organized directory structure. [MOV] l10n_in : Re-organized directory structure. [MOV] l10n_it : Re-organized directory structure. [MOV] l10n_jp : Re-organized directory structure. [MOV] l10n_lu : Re-organized directory structure. [MOV] l10n_ma : Re-organized directory structure. [MOV] l10n_mx : Re-organized directory structure. [MOV] l10n_nl : Re-organized directory structure. [MOV] l10n_no : Re-organized directory structure. [MOV] l10n_nz : Re-organized directory structure. [MOV] l10n_pa : Re-organized directory structure. [MOV] l10n_pe : Re-organized directory structure. [MOV] l10n_pl : Re-organized directory structure. [MOV] l10n_ro : Re-organized directory structure. [MOV] l10n_sa : Re-organized directory structure. [MOV] l10n_sg : Re-organized directory structure. [MOV] l10n_si : Re-organized directory structure. [MOV] l10n_syscohada : Re-organized directory structure. [MOV] l10n_th : Re-organized directory structure. [MOV] l10n_tr : Re-organized directory structure. [MOV] l10n_uk : Re-organized directory structure. [MOV] l10n_us : Re-organized directory structure. [MOV] l10n_uy : Re-organized directory structure. [MOV] l10n_ve : Re-organized directory structure. [MOV] l10n_vn : Re-organized directory structure.
2016-06-01[ADD] l10n_nz: add New Zealand COARichard deMeester
Chart of accounts structure and localisation for New Zealand. opw-678956 Closes #9234