summaryrefslogtreecommitdiff
path: root/addons/l10n_de
AgeCommit message (Collapse)Author
2021-01-27[IMP]l10n_de: improved elster compatibilityBenjamin Frantzen (bfr)
- added code to DE account.tax.report.lines records - generic Kz generation (based on code) - support for quarter period - added tax nr for de companies - better xml generation Backport of https://github.com/odoo/odoo/pull/56075/ closes odoo/odoo#65165 X-original-commit: 1b57cf252dc868c3b4ff59894fad39f2e955dab5 Related: odoo/enterprise#15991 Signed-off-by: Josse Colpaert <jco@openerp.com> Signed-off-by: bfr-o <bfr-o@users.noreply.github.com>
2020-12-10[IMP] l10n_de: add a logic for the different accounts according to tax ratesJosse Colpaert
Before, when only invoicing is installed (e.g. in case of the PoS), a not so easy to surpass error would be triggered when using products with a lower tax rate, e.g. drinks are only at 7% instead of 19%. Because there is a constraint, upon validation of the invoice, that the accounts used must correspond with the tax rate and you can not set a specific account in case of only invoicing, an error will be raised when you try to validate the generated invoice. We solve it by inheriting the method searching for the product accounts and when no income/expense account on the product is set, but a tax is, to suggest the account corresponding to the tax and its rate if it would suggest a wrong account. closes odoo/odoo#62743 Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2020-08-20[IMP] l10n_de: improved DIN compliance on reportBenjamin Frantzen (bfr)
- added a line with company address on top of invoice address to be DIN compliant - added country to din address - css improvments Task ID: 2214336 closes odoo/odoo#56111 Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-08-05[IMP] account: soft post entries in the futurewilliam
Add an easy way to not post the entries in the future when calling post() on it, but rather set it to be auto-posted at accounting date. This is useful when we are creating a lot of entries in batch and some might be in the future, some in the past, and we don't want to separate that in two batch every time. (asset, accrual, transfer,... )
2020-03-19[FIX] l10n_de: fix Followup Report LetterAndrea Grazioso (agr-odoo)
Install Germany - Accounting. In General Settings, set "European A4 for DIN" as the Format and "external_layout_din5008" as the layout. Print Followup report letter The report has misplaced elements, the other company address should be present on the left and there is the extra address below the FollowUp header. Modifying the style to hide the address below the followup title and the xml addon for din to fetch the address from the partner fix the issue opw-2187240 closes odoo/odoo#48057 X-original-commit: 2b9bf77c85c8840b9f585a59ee0ba4b8a3255120 Related: odoo/enterprise#9377 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2020-03-11[FIX] l10n_de: added taxes tags need country_idJosse Colpaert
A constraint was added. That is why we had the error, but we need the fix anyways, otherwise the tags won't be visible in the configuration of the taxes. Task id: 2214184 closes odoo/odoo#47440 X-original-commit: 9bac70b6a0e5eab76910c5728371310e32d9cf8a Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-03-10[FIX] l10n_de: need to give a name to the DIN5008 lay-outJosse Colpaert
The report layout was refactored before, but we forgot to give the specific German lay-out a name, although the field was added. This gave a traceback when we wanted to select a lay-out or this particular lay-out (name False) in the Settings. closes odoo/odoo#47321 X-original-commit: 162eb09159a8e8836d5decd6d1a210d2659b55a9 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-12-09[REV] web: reverts update to fontawesome 5.11.2Kevin Baptiste
This reverts commit ff1c35513aecef5fbc30f7c2f3834450e719714e. closes odoo/odoo#41480 X-original-commit: 116057b26e71db4692280463669f3e80d813ddcc Related: odoo/enterprise#7110 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.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-11-28[IMP] web: update to fontawesome 4.7.0 to 5.11.2Kevin Baptiste
FontAwesome 5 introduced new names for some icons as described on https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes This commit replaces the old names to the new ones. closes odoo/odoo#35826 Taskid: 2050241 Related: odoo/enterprise#5180 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-09-20[MERGE] forward port branch saas-12.4 up to 4a1321bc99dChristophe Simonis
closes odoo/odoo#37127 Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-09-17[MERGE] forward port branch saas-12.3 up to d8ce75466e4Christophe Simonis
2019-09-11[FIX] l10n_de: VAT Number not correctly displayedGoffin Simon
Steps to reproduce the bug: - Install l10n_de - Go in General settings - Set external_layout_din5008 as Document Template - Let's consider the customer C with an address and a VAT number - Create a SO with C - Print the SO Bug: The VAT number of C was not correctly displayed. opw:2069128 closes odoo/odoo#36673 X-original-commit: b50f51207aa2b4c2d264fc47797a6c123a8ea15e Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2019-08-08[MERGE] forward port branch saas-12.3 up to 752b2553c6fChristophe Simonis
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_de: reintroduce view, removed by mistakeOlivier Colson
closes odoo/odoo#35224 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2019-08-02[FIX] l10n_de: fix reference to an old field in tax formOlivier Colson
2019-08-06[IMP] base,l10n_*: Move state from l10n_* to base and removeshreya thakrar
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>
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-06-25[MERGE] forward port branch saas-12.3 up to 793933a1287Christophe Simonis
2019-06-19[FIX] l10n_de: Fix wrong tag nameJigar Vaghela
closes odoo/odoo#34239 Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2019-05-29[IMP] api.py: Rename company_id/company_ids into company/companiesYannick Tivisse
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.
2019-07-17[REM] *: calls to @api.multiAdrian Torres
Multi is the default api for methods, it is not necessary to explicitly decorate methods with it, adds clutter and most people use it because they see that the rest of the code uses it. Done with `find . -type f -name '*.py' | xargs sed -i '/@api.multi/d'`
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
2019-05-13[MERGE] forward port branch saas-12.3 up to 60e71302a38Christophe Simonis
2019-05-13[IMP] base: Contextualize the multi companyYannick Tivisse
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>
2018-11-26[FIX] l10n_de, l10n_mx, l10n_nl: isolate account.tag creation by countryOlivier Colson
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
2018-10-03[ADD] *: replace hardcoded data URIs with helperPedro M. Baeza
- Add a method for generating an image data URI, and expose it in QWeb context - Fix reports, website templates or mail templates with data hardcoded data URIs, to use the helper (Python cases), or the existing kanban_image helper (for JS cases) This will gracefully handle SVG support in addition to classical image formats. Closes #26635
2018-09-29[FIX]l10n_de: wrong field namewhen writing on companyRémi Rahir
commit 61eef73b52c078daaae37f8d57e93830a2e53410 changed the name of a field but one was forgotten.
2018-09-19[FIX] l10n_de: fixing the report layout and templateRémi Rahir
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-09-11[FIX] l10n_de, l10n_mx, l10n_nl: bad command sent to ORMToufik Benjaa
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.
2018-09-11[FIX] l10n_de: wrong order in manifest for xml viewCedric Snauwaert
Crashed on installation because there is a reference in data/report_layout.xml to a template that is defined in report/din5008_report.xml (external_layout_din5008). The report/din5008_report.xml should be loaded first to avoid this error.
2018-08-23[IMP] l10n_de: rename "Deutschland" to "Germany"Hiral Bhavsar
Was task 46188 Was PR https://github.com/odoo/odoo/pull/22698
2018-08-13[IMP] base, *: use a many2one for the company report layoutChristophe Matthieu
Before this rev. one could set the report layout on the company using a hardcoded list (background, clean, standard, etc.). Other modules (typically accounting modules) could add options in this list. The used template was built on the layout key. Now, the layout is a many2one field to a newly created model `report.layout`, which is linked to a view with the layout architecture. This gives more control to customize reports and create a new layout (without creating a python module that extend the layout selection).
2018-08-10[IMP] base: rename the label of res_company.vat to Tax IDeco-odoo
Rename TIN into Tax ID in company and partner forms. task: 1869513
2018-08-07[REF] account, account_check_printing, payment, l10n_do, l10n_de, l10n_fr, ↵Olivier Colson
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
2018-08-01[MERGE] forward port branch saas-11.4 up to 8d9366197e1Christophe Simonis
2018-07-30[MERGE] forward port branch saas-11.3 up to b4555df336dChristophe Simonis
2018-07-30[MERGE] forward port branch saas-11.2 up to 3376bad191dChristophe Simonis
2018-07-27[REF] *: BS4, 'pull-left/right' -> 'float-left/right'qsm-odoo
2018-07-26[FIX] l10n_de: DATEV export compatiblityCedric Snauwaert
When invoicing a line with an account that has a tax, ensure that line has the same tax of accounts. This is required by DATEV and is common usage in Germany Was task 35289 Was PR #25202
2018-07-26[IMP] 10.0 improvement of german account chartsThorsten Vocks
I. modification and extension of SKR03 account chart ======================================== * improvment and mapping of Odoo standard account types (usage of all available account types and fixing of wrong mapping) * fixing of reconcile setting on several accounts * update of account chart (to SKR03 2017) * fixing of account chart by ascending order of accounts for easier maintenance in the future and probably easier preparation of accounting reports * backport of new account tags from V11 for better reporting * shorter tags * introduction of new taxes for all theoretically possible tax cases needed to declare the VAT * automatic mapping of taxes to accounts to auto detect the right tax by selection of income / expense account on invoice lines * assignation of tax groups to taxes * introduction of reconcile templates (to allow booking of cash discount cases) II. modification and extension of SKR04 account chart ========================================= * improved mapping of Odoo standard account types (usage of all available account types and fixing of wrong mapping) * fixed reconcile settings for all accounts * update of account chart (to latest SKR04 2017) * better source code by ascending order of accounts. Finally it will be easier to maintain the chart in the future and also it will be easier to identify and group records to to develop missing or new accounting reports. * backport of new account tags from V11 for better reporting * shorter tags * assignation of tax groups to taxes * introduction of further taxes to cover most possible tax cases needed to declare the german VAT * automatic mapping of taxes to accounts to auto detect the right tax by selection of income / expense account on invoice lines * introduction of reconcile templates for cash discount deduction on payments or low payment variances.
2018-07-24[ADD] l10n_de: din5008 type B reportCédric Snauwaert
Specific report template used in Germany. Add a new report layout as well as a new paperformat. Was part of task: 35289 Was part of PR #25472
2018-06-07[MERGE] forward port branch saas-11.3 up to c00df146547Christophe Simonis