Initial commit: Odoo 18.0-20251222 extra-addons
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled

This commit is contained in:
tocmo0nlord
2026-03-13 20:43:25 +00:00
parent 36e847a7df
commit adbe430761
9472 changed files with 1265727 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#. QWeb field option settings only apply to fields rendered with ``t-field``.
They dont work with ``t-esc`` or other expressions not using ``t-field``.
As a workaround, you could create a module that adds a computed field holding the
same value currently computed and displayed in the QWeb report using ``t-esc``, and
adjust the report template to display the field value using ``t-field``. This would
allow you to adjust the decimal precision as needed.
#. Assigning Options in a QWeb Field Options record can cause UI issues if a field is
defined twice with different widgets in a view.
For example, adding ``{"widget": "date"}`` to the date_approve field in a purchase
order can result in two dates appearing under the Confirmation Date column in the
portal view. This occurs because the field is defined twice with different widgets.
Reference: https://github.com/odoo/odoo/blob/5eec379/addons/purchase/views/portal_templates.xml#L101-L102