summaryrefslogtreecommitdiff
path: root/addons/l10n_sg
AgeCommit message (Collapse)Author
2020-08-07[IMP] l10n_*: update the module categorieswilliam
Task 2309613 We have a new hierarchy: * Accounting * [Generic, not changed] * Localization * Account Chart * Check * EDI * Point of Sale * Purchase * Reporting * Sale This helps in displaying only the chart of accounts when clicking on "Install more Packages" from the accounting settings in the Fiscal Localization section. We can also refine the search in the _auto_install_l10n post init hook of account. closes odoo/odoo#55384 Related: odoo/enterprise#12179 Related: odoo/upgrade#1568 Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
2020-05-12[IMP] l10n_sg: Remove 0% Tax base value from tax report line BOX 5Jigar Vaghela
task-2187155 X-original-commit: d618d78915848aeadc3372b17ce295c495ab5617
2020-03-24[IMP] l10n_xx: hide country specific fields from company/settings viewRavi Gohil
There are few fields added on settings and on company form view by various l10n modules which are meant for particular country's user and are of no use to others. Such fields should be hidden from unrelated users. With this commit, it will be the case. closes odoo/odoo#35755 Task: 2049977 Closes: #35755 Related: odoo/enterprise#5158 Related: odoo/enterprise#5158 Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-03-05[IMP] base: Display searchpanel on ir.module.module viewsYannick Tivisse
Purpose ======= The current kanban view is messy. It is difficult to identify which apps are installed or not. The user can completely miss a module that might have interested him. A search panel would make things way more readable. closes odoo/odoo#44401 Taskid: 2181557 Related: odoo/enterprise#8144 Related: odoo/upgrade#879 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-01-22[IMP] account: add a readonly groupwan
Task 2092079 Accounting firms that want to give access to their customers avoiding mistakes and risks will love this profile that can't do anything wrong... Maybe as well as companies auditors..? closes odoo/odoo#39860 Related: odoo/enterprise#6576 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2019-11-29[IMP] account: support multiple tax reports per countryoco-odoo
- Introduce a new account.tax.report object > Tax report lines now refer to a tax report, and the tax report to a country - Tax report lines can share tags accross reports within the same country > To support the cases where some report is a simplified version of another one: some of its lines can be computed in the same way as the 'bigger' report. > This is done by giving the same tag_name to the tax report lines, and the same country_id to their parent report. > Full support for tag name modification, and the way it impacts the shared tags (sometimes, we can overwrite them all, sometimes we must delete them, sometimes, we create new tags to replace them on some report lines). - Support copying tax report (and the lines/tags linked to it), so that it is possible to duplicate them and change the country set on the duplicate for use in another country (coopying is way better as replacing in place, as we don't keep any link to an xmlid, and still allow using the original report in the original country it was created for). - Make all l10n* modules compatible with those changes closes odoo/odoo#38964 Related: odoo/enterprise#6217 Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.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-08[MERGE] forward port branch saas-12.3 up to 752b2553c6fChristophe Simonis
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-06-28[IMP/REF] accounting-pocalypse yeaaahhLaurent Smet
This commit merges the following models * account.invoice and account.move * account.invoice.line and account.move.line * account.voucher and account.move * account.voucher.line and account.move.line It was the opportunity for a big cleanup of the code, so it also restructures the whole account module, its different models/fields, the tests etc. for a better world and a better code readability. ==== Rationale ==== The rationale of this huge change is that we want journal entries / invoices to be easily edited, and changes reflected in the other model. It's a HUGE feature and very strategic for the fiduciary companies. For example, changing the account of a journal entry needs to be automatically reflected on the related invoice. The same reasoning applies to sale/purchase vouchers. ==== Changes made in features ===== When creating an invoice, you are now creating a journal entry directly. --> The object account.invoice no longer exists. In the same fashion when creating an invoice line, you're now adding journal items directly in the journal entry representing the invoice. If this invoice line has some tax, it may create additional journal items as well. --> The models account.invoice.line & account.invoice.tax no longer exist Identically, when creating a sale/purchase receipt with its lines, you are now creating a journal entry directly and there's no more usability difference between encoding a receipt or an invoice. --> The object account.voucher no longer exists. --> The object account.voucher.line no longer exists. --> The whole account_voucher module no longer exists. Positive side-effects coming from these changes are * draft invoices/bills/sale or purchase receipts now create a draft accounting entry. Validate these objects now simply post its journal entry. That means that draft invoices/bills/sale or purchase receipt can straightforwardly be included in reporting or budgets. * opening a journal entry in form view will now always open the correct view: if it's a sale/purchase journal entry we will have a customer invoice/vendor bill view or a sale/purchase receipt view, whatever the menu we're coming from. * code & business logic simplification. It is also condensed in a single place instead of being partially duplicated on invoices, vouchers and journal entries. There should be no feature loss, except the one allowing to group multiple journal items together based on the same product during the invoice validation. ==== Changes made in models ===== * account.invoice: model removed. Instead, now use account.move with following mapping field (account.invoice) field (account.move) ----------------------- -------------------- name invoice_payment_ref number name reference ref comment narration user_id invoice_user_id amount_ total_company_signed amount_total_signed residual amount_residual state state + invoice_payment_state /!\ selection changed date_invoice invoice_date date_due invoice_date_due sent invoice_sent origin invoice_origin payment_term_id invoice_payment_term_id partner_bank_id invoice_partner_bank_id incoterm_id invoice_incoterm_id vendor_bill_id invoice_vendor_bill_id source_email invoice_source_email vendor_display_name invoice_vendor_display_name invoice_icon invoice_vendor_icon cash_rounding_id invoice_cash_rounding_id sequence_number_next invoice_sequence_number_next sequence_number_next_prefix invoice_sequence_number_next_prefix 'invoices' subset of account.move can be accessed by using the selection field 'type' or one of the many helpers like is_invoice() * account.move: now has a valid state 'cancel' that has to be excluded from all business logic * account.move: field 'amount' renamed into 'amount_total' * account.move: field 'reverse_entry_id' renamed into 'reversed_entry_id' * account.move.line: now has a field 'display_type' that has to be excluded from all business logic, in order to support invoice layouting * account.invoice.line: model removed. Instead, now use account.move.line with following mapping field (account.invoice.line) field (account.move.line) ---------------------------- ------------------------- invoice_id move_id uom_id product_uom_id invoice_line_tax_ids tax_ids account_analytic_id analytic_account_id 'invoice lines' subset of all account.move.line from a journal entry can be accessed by using the boolean field 'exclude_from_invoice_tab' * account.invoice.tax: model removed. Instead, now use account.move.line with following mapping field (account.invoice.tax) field (account.move.line) --------------------------- ------------------------- invoice_id move_id account_analytic_id analytic_account_id amount price_unit base tax_base_amount 'tax lines' subset of all account.move.line from a journal entry can be accessed by using the relational field 'tax_line_id' * account.invoice.confirm: model removed. Instead, now use the 'post()' function of account.move * account.invoice.refund: model removed. Instead, now use account.move.reversal to reverse the entries with the same options as we had for invoices * account.voucher: model removed. Instead, now use account.move of type in ['out_receipt', 'in_receipt] * account.voucher.line: model removed. Instead, now use account.move.line ==== Changes made in functions ==== * on account.move, method _run_post_draft_to_post() renamed into _autopost_draft_entries() * on account.move, method action_account_invoice_payment() renamed into action_invoice_register_payment() * on account.move, method action_invoice_reconcile_to_check() renamed into action_open_matching_suspense_moves() * on account.move, method _get_domain_edition_mode_available() renamed into _get_domain_matching_supsense_moves() * on account.move, method _get_intrastat_country_id() renamed into _get_invoice_intrastat_country_id() * on account.move.line, method _get_domain_for_edition_mode() renamed into _get_suspense_moves_domain() * in account.bank.statement, contextual key 'edition_mode' renamed into 'suspense_moves_mode' Was task 1917430
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>
2019-07-01[MERGE] manual forward port of accounting-pocalypse ↵Laurent Smet
(beaa30a3d1843de43a45f419bfbc1bfa7613a920) This commit merges the following models * account.invoice and account.move * account.invoice.line and account.move.line * account.voucher and account.move * account.voucher.line and account.move.line It was the opportunity for a big cleanup of the code, so it also restructures the whole account module, its different models/fields, the tests etc. for a better world and a better code readability. ==== Rationale ==== The rationale of this huge change is that we want journal entries / invoices to be easily edited, and changes reflected in the other model. It's a HUGE feature and very strategic for the fiduciary companies. For example, changing the account of a journal entry needs to be automatically reflected on the related invoice. The same reasoning applies to sale/purchase vouchers. ==== Changes made in features ===== When creating an invoice, you are now creating a journal entry directly. --> The object account.invoice no longer exists. In the same fashion when creating an invoice line, you're now adding journal items directly in the journal entry representing the invoice. If this invoice line has some tax, it may create additional journal items as well. --> The models account.invoice.line & account.invoice.tax no longer exist Identically, when creating a sale/purchase receipt with its lines, you are now creating a journal entry directly and there's no more usability difference between encoding a receipt or an invoice. --> The object account.voucher no longer exists. --> The object account.voucher.line no longer exists. --> The whole account_voucher module no longer exists. Positive side-effects coming from these changes are * draft invoices/bills/sale or purchase receipts now create a draft accounting entry. Validate these objects now simply post its journal entry. That means that draft invoices/bills/sale or purchase receipt can straightforwardly be included in reporting or budgets. * opening a journal entry in form view will now always open the correct view: if it's a sale/purchase journal entry we will have a customer invoice/vendor bill view or a sale/purchase receipt view, whatever the menu we're coming from. * code & business logic simplification. It is also condensed in a single place instead of being partially duplicated on invoices, vouchers and journal entries. There should be no feature loss, except the one allowing to group multiple journal items together based on the same product during the invoice validation. ==== Changes made in models ===== * account.invoice: model removed. Instead, now use account.move with following mapping field (account.invoice) field (account.move) ----------------------- -------------------- name invoice_payment_ref number name reference ref comment narration user_id invoice_user_id amount_ total_company_signed amount_total_signed residual amount_residual state state + invoice_payment_state /!\ selection changed date_invoice invoice_date date_due invoice_date_due sent invoice_sent origin invoice_origin payment_term_id invoice_payment_term_id partner_bank_id invoice_partner_bank_id incoterm_id invoice_incoterm_id vendor_bill_id invoice_vendor_bill_id source_email invoice_source_email vendor_display_name invoice_vendor_display_name invoice_icon invoice_vendor_icon cash_rounding_id invoice_cash_rounding_id sequence_number_next invoice_sequence_number_next sequence_number_next_prefix invoice_sequence_number_next_prefix 'invoices' subset of account.move can be accessed by using the selection field 'type' or one of the many helpers like is_invoice() * account.move: now has a valid state 'cancel' that has to be excluded from all business logic * account.move: field 'amount' renamed into 'amount_total' * account.move: field 'reverse_entry_id' renamed into 'reversed_entry_id' * account.move.line: now has a field 'display_type' that has to be excluded from all business logic, in order to support invoice layouting * account.invoice.line: model removed. Instead, now use account.move.line with following mapping field (account.invoice.line) field (account.move.line) ---------------------------- ------------------------- invoice_id move_id uom_id product_uom_id invoice_line_tax_ids tax_ids account_analytic_id analytic_account_id 'invoice lines' subset of all account.move.line from a journal entry can be accessed by using the boolean field 'exclude_from_invoice_tab' * account.invoice.tax: model removed. Instead, now use account.move.line with following mapping field (account.invoice.tax) field (account.move.line) --------------------------- ------------------------- invoice_id move_id account_analytic_id analytic_account_id amount price_unit base tax_base_amount 'tax lines' subset of all account.move.line from a journal entry can be accessed by using the relational field 'tax_line_id' * account.invoice.confirm: model removed. Instead, now use the 'post()' function of account.move * account.invoice.refund: model removed. Instead, now use account.move.reversal to reverse the entries with the same options as we had for invoices * account.voucher: model removed. Instead, now use account.move of type in ['out_receipt', 'in_receipt] * account.voucher.line: model removed. Instead, now use account.move.line ==== Changes made in functions ==== * on account.move, method _run_post_draft_to_post() renamed into _autopost_draft_entries() * on account.move, method action_account_invoice_payment() renamed into action_invoice_register_payment() * on account.move, method action_invoice_reconcile_to_check() renamed into action_open_matching_suspense_moves() * on account.move, method _get_domain_edition_mode_available() renamed into _get_domain_matching_supsense_moves() * on account.move, method _get_intrastat_country_id() renamed into _get_invoice_intrastat_country_id() * on account.move.line, method _get_domain_for_edition_mode() renamed into _get_suspense_moves_domain() * in account.bank.statement, contextual key 'edition_mode' renamed into 'suspense_moves_mode' Was task 1917430
2018-09-27[REF] *: adapt code to new related default behaviourAdrian Torres
This commit adapts the business code to changes introduced by the parent commit in order to keep the same behaviour as before. All readonly=False fields will have to be checked afterwards to confirm that the business case requires write access to the source field.
2018-09-21[IMP]account_*: Improvement in model descriptionNimesh Jethva
Purpose of this commit is to give description more "business oriented" because those descriptions appears in Odoo Studio which is supposed to be used by end users, not only by developers. Related Task ID : 37311
2018-09-18[I18N] remove l10n_* translation filesMartin Trigaux
Were no longer synchronized since 9.0 Commit 710f67ad4b5f2a mistakly reexported them too Remove the .pot, keep only a few one like it actually makes sesne to have translated content such as l10n_be_invoice_bba
2018-09-18[I18N] export saas-11.5 source termsMartin trigaux
To match new model_terms syntax
2018-08-06[IMP] *: only show 'learn more' when there is a web page describing the moduleFabien Pinckaers
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
2018-01-04[IMP] l10n_sg: improved localisationPierre Rousseau
Added Unique Entity Number (UEN) to company and partner to use them in the IRAS Audit File (l10n_sg_reports) Changed vat_label on Singapore Added new taxes (2019) Fixed the Chart of Account (account codes and types) Added 'Permit Number' and 'Permit Number Date' on invoices
2017-11-07[IMP] l10n*: CoA loading yml files to xmlYannick Tivisse
2017-10-31[MERGE] forward port branch saas-16 up to 810b6aa7600Christophe Simonis
2017-10-31[MERGE] forward port branch 10.0 up to dcce040a637Christophe Simonis
2017-10-31[MERGE] forward port branch 9.0 up to f41690538dcChristophe Simonis
2017-10-27[FIX] account, l10n_*: preserve existing tags on upgradeLaurent Smet
Taxes tags for some localization have been rewrote in order to improve the taxes report. However, these changes delete the existing account.tags on stable version. These "[l10n_*] one tag per grid in tax reports" should target master instead of 9.0. -opw: 777464
2017-09-24[I18N] Update translation terms from TransifexOdoo Translation Bot
2017-08-31[MERGE] forward port branch saas-17 up to fe77df3ba48Christophe Simonis
2017-08-30[MERGE] forward port branch 10.0 up to 1b7e31f341fChristophe Simonis
2017-08-30[MERGE] forward port branch saas-11 up to dce35ca44b9Christophe Simonis
2017-08-30[FIX] l10n_*: limit tag migration to 9.0 seriesChristophe Simonis
2017-08-29[MERGE] forward port branch 9.0 up to 81908899fc4Christophe Simonis
2017-08-29[IMP] l10n_sg: create new tags and assign to taxesRawish Murari
task: https://www.odoo.com/web#id=22600&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 PR: #19099
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
2017-08-14[I18N] remove es_DO translationsODOO
Dominican team is focused on Transifex traductions using es.po, as es_DO.po has a lot of issues in the website and reviewed strings with wrong wording and mixing english and spanish. From now on Dominican Republic will inherit es.po and just make specific changes on github just in the needed words or setences that change base on region. Closes #18834
2017-07-27[IMP] l10n_*: Uniformize the reporting menuitems order and labelsDhaval Panchal
Purpose ======= Accounting reports are quite confusing for an accountant as the menuitems doesn't to have a clear structure. Specifications ============== Move all the localizations menuitems to the first position under `Reporting` Put the `US GAAP` report menuitem items under the localizations and rename it accordingly
2017-06-26[I18N] remove es_CO translationsDavid Arnold
Based on analysis https://gitlab.com/snippets/1665976 Closes #17815
2017-05-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2017-03-12[I18N] Update translation terms from TransifexOdoo Translation Bot
2017-01-29[I18N] Update translation terms from TransifexOdoo Translation Bot
2017-01-03[I18N] port of 44a6366b to masterMartin Trigaux
2016-12-05[REM] all: Remove es_MX.po filesMoisés López
- Previous information: - `es_MX` language is not published to [transifex](https://www.transifex.com/odoo/odoo-10/languages/) this is a official announce from thread [Regional languages and Spanish (Latin America) translations](https://www.odoo.com/es_ES/groups/community-translators-63/community-translators-20325962?mode=thread&date_begin=&date_end=) by @mart-e - Currently we have the files `es_MX.po` with terms translations outdated or wrong translation. - [Example wrong translation es_MX.po](https://github.com/odoo/odoo/blob/8de795291/addons/account/i18n/es_MX.po#L7788) should be [es.po correct translation](https://github.com/odoo/odoo/blob/8de795291/addons/account/i18n/es.po#L7975) - Now to change a `es_MX.po` a PR is required. - `es.po` terms translations and the most terms are fine for México too. (Not regional translation is required for most cases) Then our regional translation process should be: | step | If accepted | If not accepted | |------|-----|-------| | Create a proposal to original language `es.po` from transifex | good and finish! | Create a new PR to odoo/odoo adding just that special term to `es_MX.PO` | This PR reset the `es_MX.po` terms in order to fix many wrong terms using the good `es.po`. Closes #14555
2016-12-01[I18N] update saas-11 translations by merging 9.0 and 10.0Martin Trigaux
2016-11-20[I18N] Update translation terms from TransifexOdoo Translation Bot
2016-09-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2016-09-07[I18N] export 10.0 source termsMartin Trigaux
2016-09-05[IMP] *: rename manifest files for v10 naming conventionOlivier Dony
2016-08-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2016-08-20[MERGE] forward port branch saas-12 up to 9ad5f26Christophe Simonis
2016-08-19[I18N] update saas-11 translations by merging 9.0 and masterMartin Trigaux
1. export saas-11 sources terms into .pot files 2. msgcat odoo-9 .po & odoo-master .po into saas-11 .po files 3. msgmerge saas-11 .po with saas-11 .pot files to keep relevant terms