Daily updates from Odoo
Navigate
Branch
Thursday, August 6, 2020
15 changes
Enhancements to existing features
Signature templates now show a quick count of signed documents directly on the template form. This helps users understand how many completed documents are linked to a specific template without searching elsewhere.
Resolved issues and error corrections
This fixes a mobile usability issue in Odoo Sign where some pages could not be scrolled, preventing users from viewing or completing content. It also hides the template modification option on mobile because that editing flow depends on drag-and-drop, which is not supported there.
Original PR description
This PR fixes some issues introduced in https://github.com/odoo/enterprise/pull/11656/commits/44e9244f381d1e8f60b41a2025152444e8fbe627#diff-9fc168193c1e7a9cc6f24af8e8e7bdb8R2
Fixes an issue where users saw an error when trying to share documents after filtering by tags. The share window now opens correctly, helping teams share filtered document sets without interruption.
Original PR description
**Current behavior before PR:** When tags are selected from the search panel and clicking on the share button gives traceback. This is happening after the commit https://github.com/odoo/enterprise/commit/90920b2de39cdcf5c4e5a02e555294be503888fb as it returns a list of dictionaries for tag_ids instead of its IDs **Desired behavior after PR is merged:** The share form view will be opened without any traceback for which tags been selected from the search panel. This commit will return acceptable values that are a list of ids. **LINKS** PR https://github.com/odoo/enterprise/pull/12240 Task-2312866
Code cleanup and technical improvements
The accounting reconciliation test tour was reworked so it no longer depends on demo data being present. This makes automated checks more stable and reduces the chance of false failures during accounting quality control.
Original PR description
… demo data
Miscellaneous changes
This is just a preventive measure / improving loading time of the tour slightly. The Python code is already starting the tour on /web, no need to reload it again when the tour starts. Forward-Port-Of: odoo/enterprise#12285
Original PR description
This is just a preventive measure / improving loading time of the tour slightly. The Python code is already starting the tour on /web, no need to reload it again when the tour starts. Forward-Port-Of: odoo/enterprise#12285
Task: https://www.odoo.com/web#action=4043&cids=2&id=2311717&menu_id=4720&model=project.task&view_type=form Forward-Port-Of: odoo/enterprise#12188
Original PR description
Task: https://www.odoo.com/web#action=4043&cids=2&id=2311717&menu_id=4720&model=project.task&view_type=form Forward-Port-Of: odoo/enterprise#12188
…e lines - Install Accounting and Payroll - Go to Payroll > Configuration > Rules and create a new Salary Rule: * Select a Partner (most important) * Name: Rule X * Category: Basic * Salary Structure: Regular Pay * Fixed amount: 1.00 (it should not be 0.00) * Accounting\Debit Account & Credit Account: Select a payable account (i.e. 211000 Account Payable) - Go to Payroll > Payslips and create a payslip (for Mitchell Admin for example) - Compute Sheet & Create Draft Entry
Original PR description
…e lines - Install Accounting and Payroll - Go to Payroll > Configuration > Rules and create a new Salary Rule: * Select a Partner (most important) * Name: Rule X * Category: Basic * Salary Structure: Regular Pay * Fixed amount: 1.00 (it should not be 0.00) * Accounting\Debit Account & Credit Account: Select a payable account (i.e. 211000 Account Payable) - Go to Payroll > Payslips and create a payslip (for Mitchell Admin for example) - Compute Sheet & Create Draft Entry - Go to Accounting and open the created entry in Salaries Journal The Journal Items created by Rule X do not have a Partner. opw-2293275 Forward-Port-Of: odoo/enterprise#12199
Since 'in_progress' field has been replaced with a 'stage_id' field, get current state from stage_id.category_id instead. Fix related: https://github.com/odoo/enterprise/pull/12093 opw-2302254 Forward-Port-Of: odoo/enterprise#12241
Original PR description
Since 'in_progress' field has been replaced with a 'stage_id' field, get current state from stage_id.category_id instead. Fix related: https://github.com/odoo/enterprise/pull/12093 opw-2302254 Forward-Port-Of: odoo/enterprise#12241
As a billing administrator is most likely the person who should manage lock dates we need to make sure the user can write company stored data, namely the lock dates, so sudo and a explicit group check is the way to go IMO. Info: @wt-io-it Forward-Port-Of: odoo/enterprise#12238 Forward-Port-Of: odoo/enterprise#12071
Original PR description
As a billing administrator is most likely the person who should manage lock dates we need to make sure the user can write company stored data, namely the lock dates, so sudo and a explicit group check is the way to go IMO. Info: @wt-io-it Forward-Port-Of: odoo/enterprise#12238 Forward-Port-Of: odoo/enterprise#12071
These fuel codes were added in the `l10n_mx_edi.product.sat.code.csv` file (commit 46891db524c1b4578c58cb55d2d4c0cec2d7b7b6) but that file is loaded only when the `l10n_mx_edi` module is installed (by hook). Because of that, if the module was already installed when the patch was applied, they weren't added, so they need to be added manually. This change adds a migration script to add the new fuel codes to the SAT product code catalog. Forward-Port-Of: odoo/enterprise#11688
Original PR description
These fuel codes were added in the `l10n_mx_edi.product.sat.code.csv` file (commit 46891db524c1b4578c58cb55d2d4c0cec2d7b7b6) but that file is loaded only when the `l10n_mx_edi` module is installed (by hook). Because of that, if the module was already installed when the patch was applied, they weren't added, so they need to be added manually. This change adds a migration script to add the new fuel codes to the SAT product code catalog. Forward-Port-Of: odoo/enterprise#11688
task 340 --- When trying to validate the invoice via wsbfe in production environment we get this error: `2020-08-04 18:18:01,824 36 WARNING nievas odoo.http: ('Hubo un problema con la conexión al webservice wsbfe: ConnectionError(MaxRetryError("HTTPConnectionPool(host=\'servicios1.afip.gov.ar\', port=80): Max retries exceeded with url: /wsbfev1/service.asmx?WSDL (Caused by NewConnectionError(\'<urllib3.connection.HTTPConnection object at 0x7f2970f9b3d0>: Failed to establish a new connecti
Original PR description
task 340
---
When trying to validate the invoice via wsbfe in production environment we get this error:
`2020-08-04 18:18:01,824 36 WARNING nievas odoo.http: ('Hubo un problema con la conexión al webservice wsbfe: ConnectionError(MaxRetryError("HTTPConnectionPool(host=\'servicios1.afip.gov.ar\', port=80): Max retries exceeded with url: /wsbfev1/service.asmx?WSDL (Caused by NewConnectionError(\'<urllib3.connection.HTTPConnection object at 0x7f2970f9b3d0>: Failed to establish a new connection: [Errno 110] Connection timed out\'))"))\n\nPor favor reporte este error a su proveedor de Odoo', '') `
This was fixed by using HTTPS instead of HTTP to make it work in production environment, make change in both testing/production URLS to have them match exactly as the other web services.
Forward-Port-Of: odoo/enterprise#12206Introduced during the refactoring of the reconciliation at: https://github.com/odoo/enterprise/commit/5dcd3e25d3597653933ed26cd27f934bcf74afa0 Forward-Port-Of: odoo/enterprise#12235
Original PR description
Introduced during the refactoring of the reconciliation at: https://github.com/odoo/enterprise/commit/5dcd3e25d3597653933ed26cd27f934bcf74afa0 Forward-Port-Of: odoo/enterprise#12235
**[FIX] documents: prevent splitting on empty selection** Before this fix, the splitting flow was happening even with an empty selection, which meant that all pages were considered ignored and thus bundling them into a "remaining page" group. This commit prevents this from happening, instead an error notification appears when attempting to split without any selected page. **[FIX] documents: fix the selection behaviour** This commit fixes the behaviour of the selection when used wi
Original PR description
**[FIX] documents: prevent splitting on empty selection** Before this fix, the splitting flow was happening even with an empty selection, which meant that all pages were considered ignored and thus bundling them into a "remaining page" group. This commit prevents this from happening, instead an error notification appears when attempting to split without any selected page. **[FIX] documents: fix the selection behaviour** This commit fixes the behaviour of the selection when used with a checkbox, the shift key can now be used for a range selection. Additionally, the "select all" key is now SHIFT+A (previously CTRL+A), the shortcut key tip is displayed when SHIFT is held down. opw-2278243 Forward-Port-Of: odoo/enterprise#11419
Before this commit we were not waiting for `updateControlPanel()`. Because of this the control panel was added twice after checking its presence in owl_compatibility.js. It seems that "isMounted" isn't correctly updated because we didn't wait the promise. On mobile some listeners (binded on scrolling event) are added twice by mistake and these are not properly unmonted. Errors then appear when events are not unbind correctly because some DOM elements no longer exist after removing
Original PR description
Before this commit we were not waiting for `updateControlPanel()`. Because of this the control panel was added twice after checking its presence in owl_compatibility.js. It seems that "isMounted" isn't correctly updated because we didn't wait the promise. On mobile some listeners (binded on scrolling event) are added twice by mistake and these are not properly unmonted. Errors then appear when events are not unbind correctly because some DOM elements no longer exist after removing the control panel. Steps to reproduce: 1. Go to 'Sign' and open a template 2. Go to 'Sales' 3. Scroll on the quotation view => Traceback from the control panel Forward-Port-Of: odoo/enterprise#12236
task 330 --- Be able to validate if AFIP an electronic export voucher and electronic fiscal bond invoices in AFIP when this one has notes and sections lines, will only includes the actually real invoice lines when we sent the info to AFIP. Forward-Port-Of: odoo/enterprise#12046
Original PR description
task 330 --- Be able to validate if AFIP an electronic export voucher and electronic fiscal bond invoices in AFIP when this one has notes and sections lines, will only includes the actually real invoice lines when we sent the info to AFIP. Forward-Port-Of: odoo/enterprise#12046