Traduction automatique. Les données et les chiffres font référence ; la formulation peut contenir des erreurs de traduction et certains fragments peuvent rester en anglais. La version faisant foi est celle des pages en anglais et en ukrainien. signalez-nous tout terme inexact
pos_receipt_replace_user_by_trigram
dans pos · code source sur GitHub
Replace User by Trigram in POS receipt.
Catégorie: Point of Sale · Camptocamp · AGPL-3
| Série | État | Détails | Code |
|---|---|---|---|
| 16.0 | ✗Erreur d'installation | Error in the XML or in a view: partner_firstname.view_users_form · exécuté le 2026-08-26 | sur GitHub |
| 17.0 | —Non testé | pas de branche | |
| 18.0 | —Non testé | pas de branche | |
| 19.0 | —Non testé | pas de branche |
The module’s code on 16.0
| Lines of code | python 79 · xml 79 · js 40 |
| Tests | no |
| Migration scripts | no |
| Models | 0 new · 4 extensions |
| JavaScript | 2 file(s) |
Lines are physical, blanks and comments included, as wc -l. Tests are test_*.py files under tests/. Models are lines holding _name = and _inherit =. These are facts about the code, not a judgement: more lines is neither better nor worse. Measured 2026-08-28 on tree 782b801b3be3.
Le catalogue apps.odoo.com contient une fiche sous le même nom technique sur 16.0 : apps.odoo.com/apps/modules/16.0/pos_receipt_replace_user_by_trigram. Un nom identique ne prouve pas un code identique — comment nous avons compté.
Dépend de
| Module | État | Vérifié |
|---|---|---|
| point_of_sale | noyau | livré avec Odoo |
Dont dépendent
1 modules sur 16.0 le déclarent comme dépendance.
Historique
| Dernière modification | 2026-04-13 |
| Commits de code, 12 mois | 1 |
| Les plus actifs | Akim Juillerat, trisdoan |
| Fichiers | 23 |
Les commits de traduction et de bots sont exclus du décompte.
Journal d'installation 16.0
<xpath expr="//field[@name='firstname']" position="after">
<field name="pos_trigram"/>
</xpath>
</field>
</record>
2026-08-26 21:54:06,381 1 CRITICAL job_3c1b9a6061d4 odoo.service.server: Failed to initialize database `job_3c1b9a6061d4`.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "<decorator-gen-8>", line 2, in __getitem__
File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/tools/lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData._xmlid_lookup at 0x798e15960dc0>, 'partner_firstname.view_users_form')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 706, in _tag_root
f(rec)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 576, in _tag_record
f_val = self.id_get(f_ref, raise_if_not_found=nodeattr2bool(rec, 'forcecreate', True))
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 689, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 695, in model_id_get
return self.env['ir.model.data']._xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_model.py", line 2059, in _xmlid_to_res_model_res_id
return self._xmlid_lookup(xmlid)[1:3]
File "<decorator-gen-43>", line 2, in _xmlid_lookup
File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_model.py", line 2052, in _xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: partner_firstname.view_users_form
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1333, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
File "<decorator-gen-16>", line 2, in new
File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 87, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 493, in load_modules
processed_modules += load_marked_modules(cr, graph,
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 374, in load_marked_modules
loaded, processed = load_module_graph(
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 233, in load_module_graph
load_data(cr, idref, mode, kind='data', package=package)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 73, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 771, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 837, in convert_xml_import
obj.parse(doc.getroot())
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 757, in parse
self._tag_root(de)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 719, in _tag_root
raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /mnt/pool/pos_receipt_replace_user_by_trigram/views/res_users.xml:2, somewhere inside
<record id="view_users_form_inherit" model="ir.ui.view">
<field name="name">Add Trigram</field>
<field name="model">res.users</field>
<field name="inherit_id" ref="partner_firstname.view_users_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='firstname']" position="after">
<field name="pos_trigram"/>
</xpath>
</field>
</record>Le résultat vous semble faux ? Dites-le-nous : nous montrerons le journal ou relancerons l'installation. Signaler un résultat erroné