Tuesday, December 27, 2022
14 changes · master
Enhancements to existing features
Labels in the website editor's multi-selection options now line up with the first selected item or the dropdown prompt. This makes option panels easier to scan and provides a cleaner editing experience.
Original PR description
The m2m widget label is aligned at the middle of the height of the whole option's display. This PR makes the m2m widget label aligned with the first element (either the first active value, or the "Choose a record..." dropdown if no value is selected). task-2811746
Users can now clear all selected documents by clicking empty space in the Documents view. This removes an awkward extra step and makes managing document selections faster and more intuitive.
Original PR description
…ty space in the kanban view
Resolved issues and error corrections
Default import settings now use the correct separator values, reducing failed data imports caused by incorrect defaults. A test was added to help ensure these defaults stay correct in future updates.
Original PR description
In the default import options, some separators had a wrong value by default. This commit fixes those, which will fix some failing imports. A test has been added to verify the default options set.
Miscellaneous changes
This commit changes the label of the checkout button if the user is not signed in and the option is mandatory. task: 2929654 Forward-Port-Of: odoo/odoo#106417
Original PR description
This commit changes the label of the checkout button if the user is not signed in and the option is mandatory. task: 2929654 Forward-Port-Of: odoo/odoo#106417
The command delay on writing to the device is a little too prolonged. After some testing it has been determined that this can be reduced to by reading with the serial.read function (rather than read_all) when we know the expected output length. The serial read fuction accepts an integer describing how many bytes are expected in the read buffer, and returns when the buffer is filled. This has much better performance than waiting a fixed length of time, and reduces the chance of getting an e
Original PR description
The command delay on writing to the device is a little too prolonged. After some testing it has been determined that this can be reduced to by reading with the serial.read function (rather than read_all) when we know the expected output length. The serial read fuction accepts an integer describing how many bytes are expected in the read buffer, and returns when the buffer is filled. This has much better performance than waiting a fixed length of time, and reduces the chance of getting an empty response (when the device takes longer than expected to process the previous command). The error message for aborting the post was incorrect, stating the the invoice had been cancelled when it was not successfully cancelled, and vice versa. Loggers have also been added for the cancelling of the invoice. Forward-Port-Of: odoo/odoo#106769
… the latest taxes All taxes change in Luxembourg, we added a script that will create or update taxes so the clients don't have to manually update everything or ask the support to do it for them. We don't modify custom taxes. Task: 3098941 Related: #104833 Forward-Port-Of: odoo/odoo#108667 Forward-Port-Of: odoo/odoo#108571
Original PR description
… the latest taxes All taxes change in Luxembourg, we added a script that will create or update taxes so the clients don't have to manually update everything or ask the support to do it for them. We don't modify custom taxes. Task: 3098941 Related: #104833 Forward-Port-Of: odoo/odoo#108667 Forward-Port-Of: odoo/odoo#108571
This tour was broken due to the partner not having an email. The step to send the email was then failing because the email was missing. The problem only appears recently because the step after setting the partner is usually fast enough to detect the dropdown of the partner field before any text was entered, and so a partner in the demo data was chosen instead, which has an email. This problem will be investigated in another task. Forward-Port-Of: odoo/odoo#108607
Original PR description
This tour was broken due to the partner not having an email. The step to send the email was then failing because the email was missing. The problem only appears recently because the step after setting the partner is usually fast enough to detect the dropdown of the partner field before any text was entered, and so a partner in the demo data was chosen instead, which has an email. This problem will be investigated in another task. Forward-Port-Of: odoo/odoo#108607
Since the recent css change the text of the description field was no taking all the place he could, so it was impossible to read, thanks to the colspan it's now the way it was intended Task: task-3103640 Signed-off-by: Julien Alardot (jual) <jual@odoo.com> 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-
Original PR description
Since the recent css change the text of the description field was no taking all the place he could, so it was impossible to read, thanks to the colspan it's now the way it was intended Task: task-3103640 Signed-off-by: Julien Alardot (jual) <jual@odoo.com> 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#108409
To reproduce the issue: - Website > Edit mode > Add "Share" block > Save. - Click WhatsApp > Missing space between page title and its URL [A]. - Edit mode > Cannot edit the link by clicking a social share item ("Edit link" on link popover doesn't work) [B]. A- starting from [1], the `$('title').text()` value was replaced on "Share" snippet by `document.title` (which will trim and collapse whitespaces in the page title). This leads to a missing space between page title and the shared
Original PR description
To reproduce the issue: - Website > Edit mode > Add "Share" block > Save. - Click WhatsApp > Missing space between page title and its URL [A]. - Edit mode > Cannot edit the link by clicking a social…
To reproduce the issue:
- Website > Edit mode > Add "Share" block > Save.
- Click WhatsApp > Missing space between page title and its URL [A].
- Edit mode > Cannot edit the link by clicking a social share item ("Edit link" on link
popover doesn't work) [B].
A- starting from [1], the `$('title').text()` value was replaced on "Share" snippet by
`document.title` (which will trim and collapse whitespaces in the page title). This leads
to a missing space between page title and the shared URL.
B- Since 15.x, "Share" snippet items are not meant to be user links but buttons to share
the page on the related social media, it's also useless to update those links after the
update on [1], since they will be replaced by the right values "on social item click" (the
shared URL may be updated during the page use as on product pages).
The goal of this commit is to fix this behaviour and prevent the link popover from
appearing on those items (using `o_no_link_popover` class).
[1]: https://github.com/odoo/odoo/commit/ddb2c06be4196c86ff6a2fd74874487d75b31c94
opw-3084367
Forward-Port-Of: odoo/odoo#106967This commit removes the default image selection color (added by this commit: [1]) used in "web_editor" in edit mode (Website, Email Marketing). This prevents selected images from being covered with a blue filter and allows to see the correct final rendering of an image when it is edited (e.g. Apply a color filter to an image in a website page). This commit also moves the rule (added by this commit: [2]) that overridden the portal selection rule to "web_editor.frontend" because it was ap
Original PR description
This commit removes the default image selection color (added by this commit: [1]) used in "web_editor" in edit mode (Website, Email Marketing). This prevents selected images from being covered with a blue filter and allows to see the correct final rendering of an image when it is edited (e.g. Apply a color filter to an image in a website page). This commit also moves the rule (added by this commit: [2]) that overridden the portal selection rule to "web_editor.frontend" because it was applied everywhere even outside of the website/email marketing edit mode. This rule no longer worked because of the "!important" in [1]. [1]: https://github.com/odoo/odoo/commit/3da301fcb24998333039a7b636cec0e5be8694c6 [2]: https://github.com/odoo/odoo/commit/aa8d2a8be2c8f713b4b39b2aa1ea2aaf1839396c task-3073192 Forward-Port-Of: odoo/odoo#106003
Somewhere during the reportalypse LU tax report lines got reordered. This commit rearranges the lines back to how they used to be in 15.0. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#108708
Original PR description
Somewhere during the reportalypse LU tax report lines got reordered. This commit rearranges the lines back to how they used to be in 15.0. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#108708
When trying to replace an image with the media dialog, there is first a click on the image, which activates the options of the image, and then a double-click, opening the media dialog to choose the new image. However, the media dialog does not wait for the image options to be completely initialized before opening. This behaviour is in general not problematic but if it happens quickly enough, in a tour for example, it might cause a traceback. This happens because the renderings (in `_renderCus
Original PR description
When trying to replace an image with the media dialog, there is first a click on the image, which activates the options of the image, and then a double-click, opening the media dialog to choose the new image. However, the media dialog does not wait for the image options to be completely initialized before opening. This behaviour is in general not problematic but if it happens quickly enough, in a tour for example, it might cause a traceback. This happens because the renderings (in `_renderCustomXML`) of the image before and after replacing it happen too closely, making the first one lose the reference to the image parent. This commit fixes this issue by waiting for the options to be fully initialized before opening the media dialog, that is, by waiting for the mutex to be unlocked. runbot-10692 Forward-Port-Of: odoo/odoo#107426
This commit fixes an issue where the /outline command would crash if we are trying to access an article that was previously deleted. Now we check if the article needs to be deleted, if it was done then this raises a user Error informing the user that the article doesn't exist anymore. task-3101171 Forward-Port-Of: odoo/enterprise#34985
Original PR description
This commit fixes an issue where the /outline command would crash if we are trying to access an article that was previously deleted. Now we check if the article needs to be deleted, if it was done then this raises a user Error informing the user that the article doesn't exist anymore. task-3101171 Forward-Port-Of: odoo/enterprise#34985
With Knowledge it is possible to create templates that can be utilized in a number of other modules that features the chatter or an HTML field. Before this commit the inserted templates were comprised of extra linebreaks before and after its content. Now when the template is inserted, only the linebreaks after it are added. task-3086058 Forward-Port-Of: odoo/enterprise#34641
Original PR description
With Knowledge it is possible to create templates that can be utilized in a number of other modules that features the chatter or an HTML field. Before this commit the inserted templates were comprised of extra linebreaks before and after its content. Now when the template is inserted, only the linebreaks after it are added. task-3086058 Forward-Port-Of: odoo/enterprise#34641