Daily updates from Odoo
Navigate
Branch
Friday, April 8, 2022
13 changes
Enhancements to existing features
Belgian tax reporting for forms 325 and 281.50 has been expanded to store reported data over time, display reporting values directly in Odoo, and generate related PDF reports. The update also improves sequence handling, fixes partner payment calculations, and adds broader test coverage to make the reporting process more reliable.
Original PR description
[IMP] l10n_be_reports: 325&281.50 add models and views This commit aims to a big improvment regarding the 281.50 and 325 features. - Keeping reported data for the 325 and 281.50 on the long term allowing - Real support of 281.50 sequences to allow further improvments - Add views in order to see the 325 and 281.50 values in Odoo - add pdf reports for 325 and 325.50 - Bugfixes on the paid_amount_per_partner_query - A lot of tests for behavior and usecases enterprise-pr: https://github.com/odoo/enterprise/pull/26001 upgrade-pr: https://github.com/odoo/upgrade/pull/3421 task: 2768677
The project side panel now presents budget information more cleanly by hiding empty budget tables and preventing unintended edits from budget links. It also fixes a subscription button error and aligns timesheet billing navigation with the standard view, improving reliability and consistency for project users.
Original PR description
Purpose ======= These changes are the follow up of the #25710 to fix some bugs and improve the functionalities and the visual aspects in the project right side panel. ## Implementation details 1. Hide the budget table when there is no record. 2. Don't allow to edit the budget line when the user clicks on a budgetary positions in the Budget section display in the project right side panel. task-2814466
The signature dialog now opens faster by removing a delay that was previously used to prevent duplicate windows. Users still remain protected from accidentally opening multiple signature dialogs at once, improving the signing experience without changing the workflow.
Original PR description
In order to prevent the signature dialog from opening multiple times when clicking multiple times, a debounce method was added. At the time this was the best option we could find, but turns out the debounce was making the dialog take too long to be opened. This commit removes the debounce and uses a different approach to prevent multiple dialogs from opening. A variable is used to store if the dialog is opened and when the dialog is destroyed, we set it to false. This prevents the dialog from opening if there is already a dialog opened.
This update refreshes the spreadsheet component used in Documents to the latest version. It improves collaboration behavior around sorting and fixes chart label selection when creating charts, helping users avoid confusing spreadsheet results.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/166fa3e4 [FIX] collaborative: drop initial SORT_CELLS commands https://github.com/odoo/o-spreadsheet/commit/829343b5 [REV] sort: move back sort command from core to UI https://github.com/odoo/o-spreadsheet/commit/14a92c7b [FIX] charts: fix label range at chart insertion
Code cleanup and technical improvements
Coupon, loyalty card, gift card, and eWallet features are being consolidated under the loyalty model across sales, point of sale, helpdesk, and TaxCloud integrations. Older coupon-specific enterprise modules are removed or renamed, reducing duplication while preserving key business workflows such as generating coupons from helpdesk tickets and handling discounts with tax calculations.
Original PR description
See community PR for more information TaskId-2675382 Relates to: - Community: https://github.com/odoo/odoo/pull/82250 - Enterprise: https://github.com/odoo/enterprise/pull/23256 - Upgrade:…
See community PR for more information TaskId-2675382 Relates to: - Community: https://github.com/odoo/odoo/pull/82250 - Enterprise: https://github.com/odoo/enterprise/pull/23256 - Upgrade: https://github.com/odoo/upgrade/pull/3234 Original PRs: - coupon: https://github.com/odoo/odoo/pull/38266 - gift_card: https://github.com/odoo/odoo/pull/64195 - pos_loyalty commit: https://github.com/odoo/enterprise/commit/376f7ca4870e995438cd91b9289ace753320e32e - sale_coupon: https://github.com/odoo/enterprise/pull/13 - sale_gift_card: https://github.com/odoo/odoo/pull/64195 - website_sale_gift_card: https://github.com/odoo/odoo/pull/64195 - website_sale_coupon_delivery: https://github.com/odoo/odoo/issues/31857 - pos_coupon pr: https://github.com/odoo/odoo/pull/38382 - pos_gift_card pr: https://github.com/odoo/odoo/pull/75518 - sale_coupon_taxcloud: https://github.com/odoo/enterprise/commit/d08e5083fe89df231766bf57606515677405e1ad - sale_coupon_taxcloud_delivery: https://github.com/odoo/enterprise/commit/010926e28c08226531b21466ee092fe503aff497 - helpdesk_sale_coupon: https://github.com/odoo/enterprise/commit/4c81b37abb89ef748aa59cf193ed2f59ab974bc0
Miscellaneous changes
If applied, this commit will fix the following bug by fixing the corresponding email template. Steps to reproduce: 1- install planning 2- try to send a planning to any employee 3- the email is not sent due to lack of recipients Bug: the template is referring wrongly to the work_email field Fix: refer to it correctly OPW-2797695 Forward-Port-Of: odoo/enterprise#25665
Original PR description
If applied, this commit will fix the following bug by fixing the corresponding email template. Steps to reproduce: 1- install planning 2- try to send a planning to any employee 3- the email is not sent due to lack of recipients Bug: the template is referring wrongly to the work_email field Fix: refer to it correctly OPW-2797695 Forward-Port-Of: odoo/enterprise#25665
** Manual FW ** -- adhoc 49505 / latam 753 --- When the user gets the AFIP error code 10154 it indicates that the user is trying to validate a CN/DN in AFIP but the value in the "FCE: Is cancellation" field is wrongly set. Depending on the conditions of the original document (has been or not been rejected by the receptor) we tell the user to set True/False the "FCE: Is cancellation". The problem is the recommendation message was switched. The proper message is: Origin Doc has been
Original PR description
** Manual FW ** -- adhoc 49505 / latam 753 --- When the user gets the AFIP error code 10154 it indicates that the user is trying to validate a CN/DN in AFIP but the value in the "FCE: Is cancellation" field is wrongly set. Depending on the conditions of the original document (has been or not been rejected by the receptor) we tell the user to set True/False the "FCE: Is cancellation". The problem is the recommendation message was switched. The proper message is: Origin Doc has been rejected then the NC should be marked as FCE Is Cancellation Origin Doc has NOT been rejected then the NC should NOT be marked as FCE Is Cancellation Forward-Port-Of: https://github.com/odoo/enterprise/pull/25004 Forward-Port-Of: odoo/enterprise#26036 Forward-Port-Of: odoo/enterprise#25760
If applied, this commit will fix the following bug by using the tax to group operations concerning the same partner, and account Steps to reproduce: 1- install accounting, l10n_de 2- create a vendor bill with 1 item with tax and another without tax 3- Accounting > reporting > general ledger > DATEV (ZIP) 4- in the account_entries csv both lines are added together in one line Bug: the grouping key is tax agnostic Fix: add tax_id to the grouping key OPW-2801576 Forward-P
Original PR description
If applied, this commit will fix the following bug by using the tax to group operations concerning the same partner, and account Steps to reproduce: 1- install accounting, l10n_de 2- create a vendor bill with 1 item with tax and another without tax 3- Accounting > reporting > general ledger > DATEV (ZIP) 4- in the account_entries csv both lines are added together in one line Bug: the grouping key is tax agnostic Fix: add tax_id to the grouping key OPW-2801576 Forward-Port-Of: odoo/enterprise#25857
Bug introduced by this commit: https://github.com/odoo/enterprise/commit/237daa874935b82db985f1b8e948244033a90a40 1:/ It seems we can have data[special_field] and data[qties] that are False values, leading to a TypeError when using the zip function 2:/ Suppose that, somehow, some users manage to validate a MO with 0 producing qty and 0 component. So it may result in rows with None value leading to a TypeError when casting float(qty) and float(value) Solution: Add defensive checks to
Original PR description
Bug introduced by this commit: https://github.com/odoo/enterprise/commit/237daa874935b82db985f1b8e948244033a90a40 1:/ It seems we can have data[special_field] and data[qties] that are False values, leading to a TypeError when using the zip function 2:/ Suppose that, somehow, some users manage to validate a MO with 0 producing qty and 0 component. So it may result in rows with None value leading to a TypeError when casting float(qty) and float(value) Solution: Add defensive checks to avoid similar errors opw-2813292 opw-2812122 opw-2813812 opw-2813303 opw-2813292 Forward-Port-Of: odoo/enterprise#25995
Forward-Port-Of: odoo/enterprise#25932
Original PR description
Forward-Port-Of: odoo/enterprise#25932
The balance sheet for the Swiss localization does not take into account the profits and losses of the previous years Steps to reproduce: 1. Install Accounting app and l10n_ch module 2. Switch to the Swiss company 3. Open Accounting and create a customer invoice with a product and an invoice date in the previous year 4. Save and confirm the invoice 5. Go to Accounting > Reporting > Switzerland > Balance Sheet 6. The 'Liabilities and equity' lines don't contain the customer invoice S
Original PR description
The balance sheet for the Swiss localization does not take into account the profits and losses of the previous years Steps to reproduce: 1. Install Accounting app and l10n_ch module 2. Switch to the Swiss company 3. Open Accounting and create a customer invoice with a product and an invoice date in the previous year 4. Save and confirm the invoice 5. Go to Accounting > Reporting > Switzerland > Balance Sheet 6. The 'Liabilities and equity' lines don't contain the customer invoice Solution: Create a new `CH_R_BS` report line which computes the profits and losses from the beginning Problem: The report line `CH_R` (which is used in `CH_299` of the balance sheet) doesn't compute the profits and losses from the beginning opw-2789072 opw-2780634 opw-2631963 Forward-Port-Of: odoo/enterprise#25923 Forward-Port-Of: odoo/enterprise#25150
If applied, this commit will fix the following bug by fethcing the correct number of followers from linkedin api. Steps to reproduce: 1- install social marketing 2- add a linkedin page 3- number of followers on dashboard is actually wrong Bug: the ```uniqueImpressionsCount``` is used instead of number of followers Fix: introduced a function to fetch correct number of followers from the correct api endpoint OPW-2502634 Forward-Port-Of: odoo/enterprise#25601
Original PR description
If applied, this commit will fix the following bug by fethcing the correct number of followers from linkedin api. Steps to reproduce: 1- install social marketing 2- add a linkedin page 3- number of followers on dashboard is actually wrong Bug: the ```uniqueImpressionsCount``` is used instead of number of followers Fix: introduced a function to fetch correct number of followers from the correct api endpoint OPW-2502634 Forward-Port-Of: odoo/enterprise#25601
Previously we only had Taxcloud and we chose not to maintain Avalara because of the pricing. However, the pricing difference is not as big anymore. Most users prefer Avatax to TaxCloud. It also allows an easier management of discounts. Co-authored-by: Joren Van Onder <jov@odoo.com> https://www.odoo.com/web?debug#id=2431648&cids=3&menu_id=4720&action=4043&model=project.task&view_type=form Forward-Port-Of: odoo/enterprise#26012 Forward-Port-Of: odoo/enterprise#23535
Original PR description
Previously we only had Taxcloud and we chose not to maintain Avalara because of the pricing. However, the pricing difference is not as big anymore. Most users prefer Avatax to TaxCloud. It also allows an easier management of discounts. Co-authored-by: Joren Van Onder <jov@odoo.com> https://www.odoo.com/web?debug#id=2431648&cids=3&menu_id=4720&action=4043&model=project.task&view_type=form Forward-Port-Of: odoo/enterprise#26012 Forward-Port-Of: odoo/enterprise#23535