- Jun 14, 2022
-
-
John Laterre (jol) authored
[REV] l10n_nl: set 'Cost of Revenue' in allowed account types for Vendor Bills journal created for a l10n_nl chart of account This reverts commit f4235243. This commit introduced an unwanted effect, by using the `type_control_ids` to allow an account type on a journal. But it was intended as a constraint, to limit the account types allowed on the journal and exclude all the others. In this case, by allowing the type of the account `data_account_type_direct_costs`, it also excluded all other account types on the Vendor Bill journal. closes odoo/odoo#93608 Signed-off-by:
William André (wan) <wan@odoo.com>
-
- Apr 14, 2022
-
-
Guillaume (guva) authored
This fix is a correction of the one made in this commit 782c43c1 which was not correct. opw-2801012 closes odoo/odoo#88758 Signed-off-by:
Florian Gilbert <flg@odoo.com>
-
- Apr 13, 2022
-
-
Guillaume (guva) authored
With l10n_nl, create a purchase journal -> traceback Ids was appended to ORM command list, instead of the ids list. Moreover, it was filled even if there were no missing value. opw-2801012 closes odoo/odoo#87445 Signed-off-by:
Florian Gilbert <flg@odoo.com>
-
- Jul 27, 2021
-
-
Hubert (huvw) authored
[FIX] l10n_nl: set 'Cost of Revenue' in allowed account types for Vendor Bills journal created for a l10n_nl chart of account Allow Cost of Revenue accounts to match the default expense account closes odoo/odoo#73645 Ticket: 2458146 Signed-off-by:
William André (wan) <wan@odoo.com>
-
- Jul 26, 2021
-
-
Xavier-Do authored
The license is missing in most enterprise manifest so the decision was taken to make it explicit in all cases. When not defined, a warning will be triggered starting from 14.0 when falling back on the default LGPL-3. closes odoo/odoo#74231 Related: odoo/enterprise#19850 Related: odoo/design-themes#43 Signed-off-by:
Xavier Dollé (xdo) <xdo@odoo.com>
-
- Nov 10, 2020
-
-
Laurent Smet authored
The overrides in l10n_ modules are broken since 14.0 because the hook no longer exists. closes odoo/odoo#61564 Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-
- Aug 07, 2020
-
-
william authored
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>
-
- Jun 11, 2020
-
-
Denis Ledoux authored
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>
-
- May 28, 2020
-
-
Josse Colpaert authored
Original fix pr 50432. It forgot the BTW verlegd itself. closes odoo/odoo#52067 Task-id: 2230389 X-original-commit: 4f06fe0d Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com> Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
- Apr 30, 2020
-
-
oco-odoo authored
[FIX] l10n_nl: fix bad forward-port of https://github.com/odoo/enterprise/commit/82608e25033fde6f93b8d0face5774f70930fcd2 closes odoo/odoo#50447 X-original-commit: 4556c0409d7022a2186dcb95307c5a57577d5081 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
- Mar 31, 2020
-
-
william authored
Task 2198388 When testing and demoing localization, it can but cumbersome to create a Company with the right credentials and install the chart of account on it. This commit aims to shorten the process. The first version only contains a valid vat (or similar) number, but we should add fields specific to localization in the future so that we have a working environment as soon as we install the localization. change manifest closes odoo/odoo#48102 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
- Mar 24, 2020
-
-
Hiral Bhavsar authored
Canada(l10n_ca): Apply fiscal positions automatically based on partner's state. EU nations: Apply fiscal positions automatically for national or EU/Non EU partners. closes odoo/odoo#48250 Task: 1952975 Closes: #32126 X-original-commit: 15e0026b Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
- Mar 05, 2020
-
-
Yannick Tivisse authored
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>
-
- Feb 06, 2020
-
-
Josse Colpaert authored
Before, we had abs() in the report, but we saw it was wrong: https://github.com/odoo/enterprise/commit/5e7d91d5ea5356fa3c38b6676b68403a713da5be#commitcomment-33050133 Somehow they remained in saas-12.3 and with this we remove them as well. Thanks to Martijn Kluijtmans opw-2186942 closes odoo/odoo#44768 X-original-commit: 4a1efb07646a1920201e7e4d2d13241977c1d2a7 Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-
- Jan 22, 2020
-
-
wan authored
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>
-
- Nov 29, 2019
-
-
oco-odoo authored
- 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>
-
- Nov 28, 2019
-
-
Nans Lefebvre authored
Afschrijving means depreciation. However all depreciation lines have been copy-pasted with wrong tags and types: e.g. Aanschafwaarde overige immateriele vaste activa has a counterpart Afschrijving overige immateriele vaste activa, the first user_type_id is data_account_type_non_current_assets, but the counterpart should be depreciation; similarly tags should go to their Afschrijving counterpart. opw 2115991 closes odoo/odoo#41071 X-original-commit: edac3bf4 Related: odoo/enterprise#6953 Signed-off-by:
Nans Lefebvre (len) <len@odoo.com>
-
- Aug 14, 2019
-
-
Josse Colpaert authored
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>
-
- Aug 09, 2019
-
-
Joseph Caburnay authored
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
-
- Aug 03, 2019
-
-
Olivier Colson authored
[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
-
- Aug 06, 2019
-
-
shreya thakrar authored
Remove states according to new address format No need to keep states that's why they have been remove. From Module: Belgium(l10n_be) Germany(l10n_de) Poland(l10n_pl) Purpose : ======== Uniformity for define all state in base. Specification : =========== Move states from localization to base module Localization modules: China(l10n_cn) Costa Rica(l10n_cr) Dominican Republic(l10n_do) Ethiopia(l10n_et) Ireland(l10n_ie) Netherlands(l10n_nl) Turky(l10n_tr) Vietnam(l10n_vn) Romania(l10n_ro) United Kingdom(l10n_uk) that it is not a problem to put all these states in base, because the current csv only takes 0.34 s to be loaded Related to task #1967713 Closes #32767 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
- May 29, 2019
-
-
Yannick Tivisse authored
The goal is to be coherent with the user property. Actually, company_id and company_ids on the environment are no fields. Calling env.company_id returns a browse record, not an id.
-
- May 10, 2019
-
-
Olivier Colson authored
- 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>
-
- May 13, 2019
-
-
Yannick Tivisse authored
Purpose ======= Allow the user to select the allowed companies for which he wants to see records on top of selecting his current company. It is confusing for users to see the records from the company he is connected to and the records of the children companies. Instead of using the hierarchy of companies to access records across companies, the user can now select (from his set of allowed companies) the companies for which he wants to access records. /!\ This means that the user will interact with records from company A when in company B. Example: a SO has been created and confirmed in A. When in B, I create the invoice from it. Specifications ============== 1/ Deprecate the parent/children hierarchy on the res.company model. The fields are kept on the res.company model to ensure the retro-compatibility, but won't be used accross the standard code anymore. The only functional usage for this mechanism was to allow to see records from several companies by creating a virtual parent company, which will be possible with the new mechanism. 2/ By default, a user will only see the records of the company he is connected to (or records without a company). (It is still editable by the user if needed). For that, put this information in the user context, to allow having different configurations on different browser tabs. Instead of having domains like ['|', ('company_id', '=', False), ('company_id', 'child_of', user.company_id.id)] you'll have something like ['|', ('company_id', '=', False), ('company_id', 'in', company_ids)] Note that the 'company_ids' is a value that is passed in the evaluation context on the record rule, as we already have user, or time. company_ids is a list of the ids of all the enabled companies in the user's context. 3/ Out of the generic improvements brought by this task, this will illustrate issues that could exist since several versions. For example, it should not be possible to create a scrap order for the company A with a package of the company B, or it should not be possible to create an invoice on the company A with payment terms from the company B. Before the version 12.0, it was easy to encounter this kind of issues as the admin was the SUPERUSER_ID. A positive side effect of the fact that the SUPERUSER_ID has become an inactive user was to make it more difficult to introduce mismatch on the records, but haven't solved the issue, as it was still possible to do it with parent companies configuration. Some of these issues have been fixed in this commit, but all the business flows should be re-tested to check if an ir.rule should be introduced (eg: a multi company rule for stock.quand.package), if the company of a record is correctly transfered to another record created from the first record (eg: From a SO, create an invoice and a payment, the company of the sales order should be transfered on the invoice and the payment, even if the company of the sales order is A and I'm logged into the company B with the company A enabled. 4/ Currently, if I click on a button on a notification email (example 'View Task'), I face a traceback if I'm not logged into the company of the record. Now, if you click on a button and if you have access to the record, the correct company will be automatically set. 5/ If I display a kanban view with several records from several companies (and an image), all the images should be displayed. 6/ Currently if you copy paste an url, this will crash if you're not in the correct company. This won't be fixed because it's quite impossible to do it in a clean way. This task brings a workaround. Copy/Paste -> Traceback -> Log into the correct company, re-copy/paste -> Ok. 7/ 2 property methods have been added on the environment to retrieve the company on which the user is logged in and the companies the user enabled, on a specific tab. That way, when creating a record, instead of doing default=lambda self: self.env.user.company_id do default=lambda self: self.env.company_id On the other hand, to retrieve the enabled companies, do companies = self.env.company_ids 8/ Modify the Company Switcher widget to allow to log into another company WITHOUT writing on the res.users (and thus bringing cache invalidation issues and so on). Also allow to enable several companies and see records from several companies, and independantly of the other browser's tabs. 9/ When focusing on a tab, save the current company configuration on the local storage. That way, when doing 'CTRL+T' or a middle click, the context is propagated to the new tab. 10/ Improve the error message in case of multi company access errors. Now, when the user is in debug mode, display the related names of the records and the name of the user who brings the issue. 11/ Remove the context erasing when writing on a res.users This is probably coming from the migration to new API of the base module. The context was not propagated at this moment, which was a common mistake at that time. When migrating the module, probably by using the 'black box' method, as the context was not propagated, it was erased on the new version. This is now an issue because the context (i.e. the enabled companies) was erased when writing on a res.users, leading to tracebacks. See: https://github.com/odoo/odoo/commit/7eab8e26d3d46c53f4be924d6a34e80a66e74960#diff-4c2e738ee8f64f11806c889ea097b5e7R624 12/ Fix the crash manager on redirect warnings. The issue is the following - Create an invoice on a company without a configured CoA. - Set a partner - On the onchange_partner_id, a redirect warning is raised to propose you to configure a CoA - Click on 'Go to the configuration panel' - A generic warning says something like 'Do you want to discard your changes?' - Click on yes, the page refreshes, but not on the redirect action. Now, set correctly the action on the hash, and reload instead. The breadcrumb is lost for example, but you reach the correct action at least. 13/ Introduce a res.group to enable/disable the multi company per tab feature. 14/ To help the users to know which tab is in which company, add the possibility to have a favicon per company. When creating a company, the classical 'O' icon is colored by default in a random color. 15/ Remove the company switcher on the frontend. This was mainly there to allow a user to swicth to the company linked to the website. This behavior is now transparent to the user. If the website A is activated, then the company set on the context is the company of the website. 16/ Deprecated the _company_default_get method on the res.company model. Remove the method _get_company on the res.users model. 17/ Add 'allowed_company_ids' and 'current_company_id' on the pyeval context. You can now use those variables on domains in the views to access directly to the activated company.ies on the current tab. TaskID: 1960971 closes odoo/odoo#32341 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Mar 26, 2019
-
-
Yenthe666 authored
Before this PR quite a lot of the lines on the fiscal positions "EU landen", "Niet-EU landen" and "Installatie en Afstandsverkopen" where mapped wrong, some of the lines even referred to another tax percentage. Changes: - The tax "BTW te vorderen laag (inkopen) 9%" on the product mapped to the tax to apply named "Inkopen import buiten EU laag 6%", which should be "Inkopen import buiten EU laag 9%" to correctly counterpart the taxes. All the other changes where similar, either invalid tax rates where applied or it mapped to a wrong category. - "Verkopen/omzet overig diensten" on the product would map to "Installatie/afstandsverkopen buiten EU" as the VAT to apply. This should map to "Verkopen export buiten EU". - Added 3 accounts for Omzet NL handelsgoederen 1, Omzet NL handelsgoederen 2 and Omzet NL handelsgoederen 3 - Mapped the 3 accounts to the fiscal position "Installatie en Afstandsverkopen" their relevant lines. - Removed purchase taxes from fiscal position "Installatie en Afstandsverkopen" . - Mapped the right taxes to the three fiscal positions their VAT tabels. - Updated .pot file to add the three extra accounts. Closes #31403 closes odoo/odoo#32130 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Feb 08, 2019
-
-
Hetashree Chauhan authored
data creation is faster when done through a CSV file than an XML file, hence doing it through a CSV was task# 1909961 closes odoo/odoo#28878
-
- Jan 25, 2019
-
-
Yenthe666 authored
closes odoo/odoo#30539
-
- Jan 09, 2019
-
-
Nicolas Martinelli authored
Following forward-port. closes odoo/odoo#30056
-
- Dec 18, 2018
-
-
wan authored
closes issue #29352 The Dutch taxes will change the low tax 6% to 9% on 01/01/2019. Please add these tax code in the system and also change the affected fiscal positions. Both 6% and 9% needs to exist during the transition period. closes odoo/odoo#29374
-
wan authored
closes issue #29352 The Dutch taxes will change the low tax 6% to 9% on 01/01/2019. Please add these tax code in the system and also change the affected fiscal positions. Both 6% and 9% needs to exist during the transition period. closes odoo/odoo#29375
-
- Nov 26, 2018
-
-
Olivier Colson authored
Before that, the specific account tags created in l10n modules were not only assigned when the company was in the right country. closes odoo/odoo#29030
-
- Sep 18, 2018
-
-
Martin Trigaux authored
Were no longer synchronized since 9.0 Commit 710f67ad 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
-
Martin trigaux authored
To match new model_terms syntax
-
- Sep 11, 2018
-
-
Toufik Benjaa authored
When we get the existing tags to append them a new id, we don't get a list of id but a list of tuple with one id, this only append if you have more than one accounting of these country installed, as the first time it will return an empty list. So the command sent to the ORM, is not built correctly. To fix this we just append commands '4' that will be append in a list.
-
- Aug 07, 2018
-
-
Olivier Colson authored
[REF] account, account_check_printing, payment, l10n_do, l10n_de, l10n_fr, l10n_nl, l10n_mx: chart templates installation: remove old useless wizards and move everything to account.chart.template Was task 1858974 Was PR https://github.com/odoo/odoo/pull/25243
-
- Jul 19, 2018
-
-
Laurent Smet authored
Improvement in tax report Make the distinction between services and products Was task: 35554 Was PR #23439
-
- Jun 12, 2018
-
-
Andrea Stirpe authored
There was a difference in the tax codes Import Buiten EU (2), some had the tag '5B Voorbelasting' and other had the tag 'Voorbelasting BTW Bis'. Link all the codes to '5B Voorbelasting' instead. This is more consistent with the rest. Closes #23119
-
- Jun 05, 2018
-
-
Laurent Smet authored
The installation of l10n_de, l10n_nl and l10n_vn failed since: https://github.com/odoo/odoo/commit/7dc30bf735a1d7898f5298204e3afdcdb37994a4 https://github.com/odoo/odoo/commit/101e0a7ef792c5b1af95a08931647fb485af2ec6 https://github.com/odoo/odoo/commit/dc99a666f81e6c4c86b9e5b835947be2ab2100d9
-
- May 23, 2018
-
-
Laurent Smet authored
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
-
- Mar 15, 2018
-
-
Yenthe V.G authored
Closes #23663
-