Daily updates from Odoo
Navigate
Branch
Friday, February 28, 2020
30 changes
New functionality added to Odoo
Website editors can now add custom code to the page header and footer directly from the theme menu, making it easier to tailor tracking, integrations, and design behavior. Custom user CSS also gets higher priority, so website styling choices are more likely to appear as intended.
Original PR description
[IMP] website: adds custom code to head and footer This commit adds two buttons on the Theme side menu that allow users to add custom XML to the head and to the footer of the website. [IMP] website: increase priority of user custom assets This commit moves the custom user css assets to a higher priority so their custom css have ascendancy over the other rules. task-2168391
Enhancements to existing features
New website shop categories are now placed at the end of the category list by default, making category ordering more predictable. The manual sequence field is hidden on the category form, while reordering remains available from the list view.
Original PR description
New categories will now we added at the end by default. The sequence field is hidden in the form view. It's still possible to order them from the list view. Part of task-2002125 Closes #25535 Co-authored-by fja-odoo <fja@odoo.com> Co-authored-by Sébastien Theys <seb@odoo.com>
Helpful documentation shortcuts were added to settings pages for complex features across several Odoo apps, making it easier for users to understand and configure them. A nightly check was also added to ensure these help links remain valid over time.
Original PR description
A 'book icon' link to the documentation of a feature has been added in its settings panel, when it is useful (complex feature), according to the google spreadsheet in taskID: 2180574. A nightly test has been added to check links validity in the res_config_settings views. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Timesheet durations shown in the customer portal now use a consistent 00:00 time format. This makes logged time easier to read and compare for portal users reviewing project or timesheet information.
Original PR description
The duration format for timesheet durations has been set to "00:00" -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The invoicing wizard now hides the timesheet invoice date option when a down payment is selected. This keeps the form focused on fields that apply to the chosen invoice type and reduces confusion for sales users.
Original PR description
Hide the date_invoice_timesheet field if 'down payment' is selected. TaskID: 2203363
This update makes sales-related work easier to manage by limiting task sales order choices to matching customers. It also improves mobile visibility for sales order lines and uses a clearer label for undated Kanban groups.
Original PR description
[IMP] sale_timesheet: add domain on sales order field ========================================== A domain has been added to the Sales Order field on project task so that the task and the so have the same commercial_partner_id. [IMP] sale: add kanban view for sale.order.line for better display on mobile ========================================================= For a SO line on mobile it was displaying only the name of the line without the SO number. It wasn't very practical for the users so we added this view to display the display_name instead. [IMP] web: change the default name of a column in kanban view ================================================= This changes the name of the column in kanban view when the records are grouped by date. The column name of the records with no date went from false to Undefined. Task-2188831 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Several app settings now include book-icon links that take users directly to relevant documentation for more complex features. A nightly check was also added to help ensure these documentation links remain valid over time.
Original PR description
A 'book icon' link to the documentation of a feature has been added in its settings panel, when it is useful (complex feature), according to the google spreadsheet in taskID: 2180574. A nightly test has been added to check links validity in the res_config_settings views. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Task forms now show the customer's full address only in the Field Service app, reducing clutter on regular project tasks. The navigation button also appears only for field service tasks, keeping location actions available where they are relevant.
Original PR description
Purpose ======= The partner full address and "Navigate To" button are always displayed on task forms. It should be displayed only for FSM tasks. Specification ============= 1. Display full address only in the FSM app. (we cannot have a conditional context based on `is_fsm`) 2. Display "Navigate To" button when `is_fsm=True` Task 2192817
Helpdesk teams can now have clearer visibility settings, helping businesses control which teams are shown or accessible to users. This improves organization and access management for support operations without changing the core ticket workflow.
Original PR description
taskID: 2151084
The customer portal now shows timesheet durations in a consistent 00:00 format. This makes logged time easier for customers to read and compare, reducing confusion when reviewing support work.
Original PR description
The duration format for timesheet duration has been modified to "00:00". -- I confirm I have signed the CLA and read the PR guidelines at [www.odoo.com/submit-pr](www.odoo.com/submit-pr)
Field service users can now enter material quantities directly in the product view instead of clicking repeatedly for each unit. The update also adds checks to ensure task ownership and default warehouse information carry through correctly to related sales orders.
Original PR description
[IMP] industry_fsm_sale : make the value editable on product kanban view ========================================================= Material view When industry_fsm_sale is installed, the user as the opportunity to add materials to his tasks. This is done with a stat button that shows a kanban view of products where he can add the materials. Previously, if he wanted to add 50 units of something he add to click on it 50 times. This wasn't practical so a widget has been added to the view to allow the user to manually edit the value on the kanban view. [IMP] industry_fsm_stock : add tests ============================ This adds tests to ensure that the user_id and his default warehouse is propagated from the task to the SO. Task-2166382
Users can now send multiple documents for OCR digitization at the same time, reducing repetitive work when processing invoices. The batch action is only available when the OCR feature is enabled, keeping the option limited to relevant setups.
Original PR description
- after this task user can send multiple documents at the same time for digitalization -the following functionality enabled if and only if OCR feature is enabled Task-2168313 Closes: odoo#7963
Event-related tax details are now computed automatically when event information changes. This reduces manual effort and helps keep financial information accurate for event transactions.
Resolved issues and error corrections
The web module now identifies generated asset attachments more reliably before removing them. This reduces the risk of accidentally deleting unrelated files, helping keep system files and custom content safer during cleanup operations.
Original PR description
Make the domain to match assets attachment more robust to avoid deleting wrong files. X-original-commit: c92d63fa5baf09cb0969fcf4fbd5c28407af58ae
This fixes small visual and usability problems in the Contacts form, including spacing in address fields, the company creation button tooltip, and default contact images in read-only mode. These changes make contact records clearer and more consistent for everyday users.
Original PR description
- in address block there is extra space between label and field. added class o_td_label with o_form_label in span tag - wrong hover title on create company button when company_name is set. added icon and string removed span tag was for only icon and string value for button tag - default image is not shown in readonly mode added image drawing in readonly mode as per contact type task-2182637 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
This fixes an issue where checkbox values in pivot reports were shown as unreadable text instead of proper checkboxes. Users can now view boolean information clearly in pivot tables, making reports easier to understand.
Original PR description
Task: https://www.odoo.com/web#action=327&id=2172258&menu_id=4720&model=project.task&view_type=form Pad: https://pad.odoo.com/p/r.9132e6910e2647fcb69e9815e7ba635a 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
Creating a sales quote could fail because a sales security rule still referenced an outdated invoice field name. The rule has been updated so quote creation works correctly after the related accounting field rename.
Original PR description
The field 'type' in the account.move model has been renamed into 'move_type' but the ir.rules of the sale module have not been updated. The fix consists in renaming this field in ir.rules. As another bug was due to this field renaming (see 51b70b6fc42), I have checked that the old 'type' field is no more used in Odoo files. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Pages with many follow buttons now load reliably by checking follow status in one combined request instead of thousands of separate calls. This prevents browser slowdowns or crashes on large forum tag pages and significantly reduces server traffic.
Original PR description
Before this commit, a JS widget would be instanciated for every `.js_follow` on
the page.
Every widget would then perform a RPC to know if the object was followed.
That would be an issue if there was too many `.js_follow` on the DOM.
Eg: on the forum tag page (/forum/1/tag), there might be unlimited tags. This
is where the biggest issue is ATM, on Odoo.com we have over 5500 tags,
which performs 5500 RPC.
Your browser will most of the time just crash.
This commit improves that behavior by sending only one RPC to get the tags info
in once.
With 5000 tags, there was 5000 RPCs, now there will only be one for the tags.
Also, each RPC were doing 8 requests each, so this will bring requests from
40.000 to 80.
Fixes #45576This update fixes minor spelling and wording mistakes shown during bank statement import setup. The corrections make the instructions clearer and more professional for users importing CAMT or CSV bank statement files.
Original PR description
- small mistake when you want to import a bank statement file: it is written: SEPA recommanded Cash Management format (CAMT.053) while it should be: recommended - comma sparated -> comma-separated Task : 2200054
Code cleanup and technical improvements
The website editor’s left panel tabs have been renamed to better match what users find there. “Options” is now “Style,” while “Theme” is now “Options,” making the editor easier to understand without changing functionality.
Original PR description
- "Options" -> "Style" - "Theme" -> "Options" (as now contains not-theme-related options)
Miscellaneous changes
When there is no intersection between the allowed companies of the current user and the target user, the `with_user` would lead to the company check always failing. opw-2197955 Forward-Port-Of: odoo/odoo#46554
Original PR description
When there is no intersection between the allowed companies of the current user and the target user, the `with_user` would lead to the company check always failing. opw-2197955 Forward-Port-Of: odoo/odoo#46554
The URL might not be set because it comes from `referer`, in that case match the first rule with no `regex_url`. It crashes before this commit because `re.search()` is expecting a string and `headers.get()` is defaulting to `None`. opw-2205202 Forward-Port-Of: odoo/odoo#46531
Original PR description
The URL might not be set because it comes from `referer`, in that case match the first rule with no `regex_url`. It crashes before this commit because `re.search()` is expecting a string and `headers.get()` is defaulting to `None`. opw-2205202 Forward-Port-Of: odoo/odoo#46531
Forward-Port-Of: odoo/odoo#46532
Original PR description
Forward-Port-Of: odoo/odoo#46532
Since we now use native promises, the code in charge of alerting the user of bundle compilation errors was opening both an alert and a dialog (fwp of https://github.com/odoo/odoo/pull/46437). In 13.0, the mention fwp is not enough. On the website, the JS is also lazy loaded now so we need to wait for that lazy loading before being able to open a modal. The whole alerting code should be improved to not be defined in python. Fixes https://github.com/odoo/odoo/issues/45447 Forward-Por
Original PR description
Since we now use native promises, the code in charge of alerting the user of bundle compilation errors was opening both an alert and a dialog (fwp of https://github.com/odoo/odoo/pull/46437). In 13.0, the mention fwp is not enough. On the website, the JS is also lazy loaded now so we need to wait for that lazy loading before being able to open a modal. The whole alerting code should be improved to not be defined in python. Fixes https://github.com/odoo/odoo/issues/45447 Forward-Port-Of: odoo/odoo#46450
This commit adds a timeout for "nicely done" step in `web_studio_new_app_tour` which has been added in 13.2 but with 15s (13.2 value will be overridden by fw) Forward-Port-Of: odoo/enterprise#8907 Forward-Port-Of: odoo/enterprise#8890
Original PR description
This commit adds a timeout for "nicely done" step in `web_studio_new_app_tour` which has been added in 13.2 but with 15s (13.2 value will be overridden by fw) Forward-Port-Of: odoo/enterprise#8907 Forward-Port-Of: odoo/enterprise#8890
Commit 94da7631bbf6bd07a0ea385485a5077e417dd2c1 introduces extra quantity into the cost structure report. The issue is in case of negative quantity (let say -1), the report print "- quantity" which is "- -1" This commit remove the quantity sign before displaying it. Forward-Port-Of: odoo/enterprise#8611
Original PR description
Commit 94da7631bbf6bd07a0ea385485a5077e417dd2c1 introduces extra quantity into the cost structure report. The issue is in case of negative quantity (let say -1), the report print "- quantity" which is "- -1" This commit remove the quantity sign before displaying it. Forward-Port-Of: odoo/enterprise#8611
TaskID: 2194067 Forward-Port-Of: odoo/enterprise#8880 Forward-Port-Of: odoo/enterprise#8393
Original PR description
TaskID: 2194067 Forward-Port-Of: odoo/enterprise#8880 Forward-Port-Of: odoo/enterprise#8393
Task [2199150](https://www.odoo.com/web?#id=2199150&action=333&active_id=967&model=project.task&view_type=form&cids=&menu_id=4720) We want the same width for the attachment preview as for the chatter because the first is taking the place of the second in the view. Forward-Port-Of: odoo/enterprise#8558
Original PR description
Task [2199150](https://www.odoo.com/web?#id=2199150&action=333&active_id=967&model=project.task&view_type=form&cids=&menu_id=4720) We want the same width for the attachment preview as for the chatter because the first is taking the place of the second in the view. Forward-Port-Of: odoo/enterprise#8558
the tax report is in community, enterprise contains xml export. community: https://github.com/odoo/odoo/pull/40937 Forward-Port-Of: odoo/enterprise#7967
Original PR description
the tax report is in community, enterprise contains xml export. community: https://github.com/odoo/odoo/pull/40937 Forward-Port-Of: odoo/enterprise#7967
Issue - Install Accounting - Resize your window to have the more menu - Refresh the page to make the JS working correctly - Click on the item on the left of the more menu - Do not close the menu just hover the more menu => It doesn't appears (the .show class is on the last <li> child instead of the parent) Click on the more menu => It appears but small & with items broken Cause Without the :first, all the more menu dropdown where toggled Issue Add :first to the ta
Original PR description
Issue - Install Accounting - Resize your window to have the more menu - Refresh the page to make the JS working correctly - Click on the item on the left of the more menu - Do not close the menu just hover the more menu => It doesn't appears (the .show class is on the last <li> child instead of the parent) Click on the more menu => It appears but small & with items broken Cause Without the :first, all the more menu dropdown where toggled Issue Add :first to the target to toggle OPW-2178843 Co-authored-by: aab-odoo <aab@odoo.com> Forward-Port-Of: odoo/enterprise#8867 Forward-Port-Of: odoo/enterprise#8861