Friday, May 30, 2025
4 changes · master
Enhancements to existing features
This change restores an automated check for sale price display in the online store product configurator after website builder updates. It helps ensure discounted prices continue to appear correctly for shoppers, reducing the risk of future regressions.
Original PR description
`product_configurator_strikethrough_price` test was disabled after the new website builder changes. This PR re-enables this test.
The internal documentation quality check now gives more helpful error messages when a developer writes an invalid docstring. This makes it easier for teams to correct documentation issues quickly, improving code maintainability without affecting end users.
Original PR description
Example output: ``` 01:29.700 ERROR o.a.test_lint.t.test_docstring: FAIL: Subtest TestDocstring.test_docstring (module='base', model='ir.cron', method='method_direct_trigger') Traceback (most recent…
Example output:
```
01:29.700 ERROR o.a.test_lint.t.test_docstring: FAIL: Subtest TestDocstring.test_docstring (module='base', model='ir.cron', method='method_direct_trigger')
Traceback (most recent call last):
File "/home/julien/Odoo/community/odoo/addons/test_lint/tests/test_docstring.py", line 231, in test_docstring
self.fail(PARSE_ERROR.format(
AssertionError: Error while parsing the docstring as reStructuredText.
"""
Run the CRON job in the current (HTTP) thread.
The job is still ran as it would be by the scheduler: a new cursor
is used for the execution of the job.
caca:
- truc
- moche
:raises UserError: when the job is already running
"""
<string>:8: (WARNING/2) Definition list ends without a blank line; unexpected unindent.
Learn rst:
* https://docutils.sourceforge.io/docs/user/rst/quickref.html
* https://www.sphinx-doc.org/en/master/usage/restructuredtext/index.html
* https://www.sphinx-doc.org/en/master/usage/domains/python.html
Online editor:
* https://rsted.info.ucl.ac.be/
```The online shop’s automated checkout journey has been updated to work with the redesigned website builder. This helps ensure key shopping flows are tested again, reducing the risk of future issues reaching customers.
Original PR description
The `TestSaleProcess` class tours was previously broken due to DOM structure changes introduced by the new website builder and was consequently disabled. This commit updates the tour steps to align with the new DOM and re-enables the associated test.
Studio exports now exclude inactive records, so exported data better reflects what users actively work with. This reduces clutter and helps teams avoid sharing or importing outdated inactive entries.
Original PR description
**Purpose:** - Exported data from the studio includes inactive records. **Specifications:** - Only active records should be exported. task-4285741