Friday, April 9, 2021
15 changes · master
Enhancements to existing features
The error shown when Odoo cannot find a configured add-ons folder now includes the full folder path. This makes configuration problems easier and faster to diagnose, especially when relative paths are used from different working directories.
Original PR description
Show full path to not found addons folder to ease debugging. Right now if you misconfigure the addons path, the error message only shows the configured folder name, without the full path. Showing a full path in the error makes debugging much easier, especially when using relative addons paths like: '../my-addons'. Often users try to call `odoo-bin` from different folder then the one where `odoo-bin` is located (assumming that relative paths will be resolved relatively to odoo-bin location and not the current working directory). Showing full path will help them debug and spot the error. Current behavior before PR: error: option --addons-path: no such directory: '../non-existing' Desired behavior after PR is merged: error: option --addons-path: no such directory: '/home/user/Odoo/non-existing' -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The employee contract report's "Last 365 days" filter now includes the current day. This makes recent contract information visible immediately and avoids users missing today's data in the report view.
Original PR description
Include "today" in the "Last 365 days" filter. TaskID: 2477309
The Project Forecast planning action has been moved from the bottom of each project card into the card's Views dropdown. This keeps project cards cleaner and makes room for more useful information while preserving access to planning.
Original PR description
Before this commit, we add differents buttons in the bottom of each card with a certain condition, the problem is the lack of place to display more and more information in each project kanban card. In community,the dropdown menus are reviewed for each project kanban card. Two sections is added one for 'Views' and the other for 'Reporting'. This commit add a button called 'Planning' in the 'Views' section rather than in the bottom of the project kanban card. task-2458017 Community PR: odoo/odoo#68343
Resolved issues and error corrections
Installing the Employees app now links the Administrator employee's work address to the company contact instead of creating or using a separate Administrator contact. This keeps employee and company records cleaner and avoids duplicate or incorrect contact information.
Original PR description
Before changes when we install Employee App, the Administrator work address is linked to a new res.partner (Administrator). However after some changes Administrator work address is linked to the res.partner of company when Employee App is installed and user Administrator is automatically created. TaskID: 2479958 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Miscellaneous changes
Doing domains like [('something_ids', 'in', 4)] crashed the emulator because it was trying to check something was 'in 4', instead of reversing the check (as real form views do). Forward-Port-Of: odoo/odoo#68875
Original PR description
Doing domains like [('something_ids', 'in', 4)] crashed the emulator because it was trying to check something was 'in 4', instead of reversing the check (as real form views do).
Forward-Port-Of: odoo/odoo#688751. Have a [DEMO] product in stock with an owner 2. Make a PoS order with [DEMO] The system will use the stock without owner. opw-2480341 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#68920 Forward-Port-Of: odoo/odoo#68393
Original PR description
1. Have a [DEMO] product in stock with an owner 2. Make a PoS order with [DEMO] The system will use the stock without owner. opw-2480341 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#68920 Forward-Port-Of: odoo/odoo#68393
With the new OS RaspiOS the firmware for the wifi card are unstable. We need to keep a specific version of firmware-brcm80211 to keep a stable and usable wifi connection. So we fallback on a previous version of Buster and hold the version of the package firmware-brcm80211 before the upgrade when we build the box. id: 2499855 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed
Original PR description
With the new OS RaspiOS the firmware for the wifi card are unstable. We need to keep a specific version of firmware-brcm80211 to keep a stable and usable wifi connection. So we fallback on a previous version of Buster and hold the version of the package firmware-brcm80211 before the upgrade when we build the box. id: 2499855 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#68836
Focus is sometimes called on the Wysiwyg class in Note. When the user use TAB to select the next field. Implementation was missing. Related Odoo task : https://www.odoo.com/web#id=2499663&action=333&active_id=1695&model=project.task&view_type=form&cids=1&menu_id=4720 :arrow_right: Build of the editor lib -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#68945
Original PR description
Focus is sometimes called on the Wysiwyg class in Note. When the user use TAB to select the next field. Implementation was missing. Related Odoo task : https://www.odoo.com/web#id=2499663&action=333&active_id=1695&model=project.task&view_type=form&cids=1&menu_id=4720 :arrow_right: Build of the editor lib -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#68945
**Description of the issue/feature this PR addresses:** - Add a new responsibility type "IVA No Alcanzado" and update the partner "AFIP" with that responsibility. - Fix a bug when a partner has a not handled responsibility type, returning an empty list as possibles document types. **Current behavior before PR:** 1. The "AFIP" partner has a wrong responsibility type. 2. If a partner has a responsibility type that we are not handling at the time of returning the allowed letters it will
Original PR description
**Description of the issue/feature this PR addresses:** - Add a new responsibility type "IVA No Alcanzado" and update the partner "AFIP" with that responsibility. - Fix a bug when a partner has a not handled responsibility type, returning an empty list as possibles document types. **Current behavior before PR:** 1. The "AFIP" partner has a wrong responsibility type. 2. If a partner has a responsibility type that we are not handling at the time of returning the allowed letters it will show a traceback error. **Desired behavior after PR is merged:** 1. The "AFIP" partner has the correct responsibility type (IVA No Alcanzado). 2. If a partner has a responsibility type that we are not handling at the time of returning the allowed letters it will return an empty list so the user will not be able to select any document type. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#68241
Without this commit, a database with only one website would not see the domain field in the res settings. But the domain field is useful to set even if there is only one website. For instance, if no domain is specified, the web.base.url ICP will be used instead to generate links, but it might be the wrong url as it is the last domain used to login as the admin (unless web.base.url.freeze is set). Also, one might want to unset the `localhost` domain that was set by default in xml data
Original PR description
Without this commit, a database with only one website would not see the domain field in the res settings. But the domain field is useful to set even if there is only one website. For instance, if no domain is specified, the web.base.url ICP will be used instead to generate links, but it might be the wrong url as it is the last domain used to login as the admin (unless web.base.url.freeze is set). Also, one might want to unset the `localhost` domain that was set by default in xml data (now removed with 1f0edacdf) Forward-Port-Of: odoo/odoo#69025
Steps to follow to reproduce the bug: - Create an Indonesian company - Go to Invoicing settings / in “Fiscal Localization” / install Indonesian-Accounting “ l10n_id” - Go to Invoicing / Vendors / bills - Create a new bill / add a vendor / go to “other info” / add a valid Indonesian Tax Number, for example : “0112345678912345” - An error is triggered Problem: In the “_onchange_l10n_id_tax_number” method, we try to access “record.type”, but in v14 the field "type" was replaced by "move_t
Original PR description
Steps to follow to reproduce the bug: - Create an Indonesian company - Go to Invoicing settings / in “Fiscal Localization” / install Indonesian-Accounting “ l10n_id” - Go to Invoicing / Vendors / bills - Create a new bill / add a vendor / go to “other info” / add a valid Indonesian Tax Number, for example : “0112345678912345” - An error is triggered Problem: In the “_onchange_l10n_id_tax_number” method, we try to access “record.type”, but in v14 the field "type" was replaced by "move_type” in the "account.move" model. opw-2492530 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#69037
Have 2 companies, one in FR (with l10n_fr), one in IT (with l10n_it_edi) From the French company create an invoice for a french customer. Confirm. The message ' E-Invoice check failed. You can modify the invoice, and resend it.' related to italian e-invoicing will appear opw-2481035 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.od
Original PR description
Have 2 companies, one in FR (with l10n_fr), one in IT (with l10n_it_edi) From the French company create an invoice for a french customer. Confirm. The message ' E-Invoice check failed. You can modify the invoice, and resend it.' related to italian e-invoicing will appear opw-2481035 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#69030
[FIX] web_enterprise: 2nd x2many full-width if 1st invisible In eg. stock picking view, we want to display one out of two x2many but only the first one was shown without margin. So the page was duplicated so the x2many is always first of its page, but this duplication can cause problems eg. for studio customization that currently have for fields a selector based on the field name or subviews. With this change, we add style so if the first field of a page is invisible, we show a sec
Original PR description
[FIX] web_enterprise: 2nd x2many full-width if 1st invisible In eg. stock picking view, we want to display one out of two x2many but only the first one was shown without margin. So the page was duplicated so the x2many is always first of its page, but this duplication can cause problems eg. for studio customization that currently have for fields a selector based on the field name or subviews. With this change, we add style so if the first field of a page is invisible, we show a second x2many without margin instead => this allows us to remove the code duplication (at least in master) opw-2480311 Forward-Port-Of: odoo/enterprise#17557
Small update on the control_domain tests to make them more accurate and cover all potential cases. Forward-Port-Of: odoo/enterprise#17575
Original PR description
Small update on the control_domain tests to make them more accurate and cover all potential cases. Forward-Port-Of: odoo/enterprise#17575
Forward-Port-Of: odoo/enterprise#17561 Forward-Port-Of: odoo/enterprise#17455
Original PR description
Forward-Port-Of: odoo/enterprise#17561 Forward-Port-Of: odoo/enterprise#17455