Saturday, May 2, 2026
2 changes · 19.0
Resolved issues and error corrections
This fix prevents Point of Sale module updates from failing when default POS notes were deleted, edited, or recreated with the same name. Businesses can update the module more reliably without manual cleanup of note records.
Original PR description
To reproduce issue: 1) Make a database in 19.0 with point_of_sale installed. 2) Delete a pos.note or update it 3) make another pos.note with same name 4) update the module the error ``` Traceback…
To reproduce issue:
1) Make a database in 19.0 with point_of_sale installed. 2) Delete a pos.note or update it
3) make another pos.note with same name
4) update the module
the error
```
Traceback (most recent call last):
File "/home/odoo/src/odoo/19.0/odoo/service/server.py", line 1514, in preload_registries
registry = Registry.new(dbname, update_module=update_module, install_modules=config['init'], upgrade_modules=config['update'], reinit_modules=config['reinit'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/odoo/src/odoo/19.0/odoo/tools/func.py", line 88, in locked
return func(inst, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/odoo/src/odoo/19.0/odoo/orm/registry.py", line 186, in new
load_modules(
File "/home/odoo/src/odoo/19.0/odoo/modules/loading.py", line 456, in load_modules
load_module_graph(
File "/home/odoo/src/odoo/19.0/odoo/modules/loading.py", line 216, in load_module_graph
load_data(env, idref, mode, kind='data', package=package)
File "/home/odoo/src/odoo/19.0/odoo/modules/loading.py", line 59, in load_data
convert_file(env, package.name, filename, idref, mode, noupdate=kind == 'demo')
File "/home/odoo/src/odoo/19.0/odoo/tools/convert.py", line 693, in convert_file
convert_xml_import(env, module, fp, idref, mode, noupdate)
File "/home/odoo/src/odoo/19.0/odoo/tools/convert.py", line 792, in convert_xml_import
obj.parse(doc.getroot())
File "/home/odoo/src/odoo/19.0/odoo/tools/convert.py", line 663, in parse
self._tag_root(de)
File "/home/odoo/src/odoo/19.0/odoo/tools/convert.py", line 618, in _tag_root
raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /home/odoo/src/odoo/19.0/addons/point_of_sale/data/pos_note_data.xml:7, somewhere inside
<record id="pos_note_serve" model="pos.note">
<field name="name">To Serve</field>
<field name="sequence">2</field>
</record>
```
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-prThis update fixes an issue where financial reports, particularly those using the 'From the very start' period, displayed unordered string external values. The change ensures that string-type dates are now correctly sorted, improving the accuracy and reliability of financial reporting data.
Original PR description
Ensure string-type external values are correctly sorted by date when using the "most_recent" formula. This resolves an issue where values appeared unordered, especially for expressions using the "From the very start" period. task-5951888 Forward-Port-Of: odoo/enterprise#115275 Forward-Port-Of: odoo/enterprise#113837