Skip to content

Commit 2bfa7bb

Browse files
lef-adhoclegalsylvain
authored andcommitted
[ADD] Add warning for related fields with store=True
This PR adds a warning for related fields with `store=True`, as it is no longer necessary to store related fields for grouping, aggregating, or sorting in Odoo 18. The warning encourages developers to remove `store=True` unless strictly required, optimizing performance and reducing disk space usage. More details can be found in the related Odoo PR: odoo/odoo#127353
1 parent de16f48 commit 2bfa7bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.py:
2+
related=.*store=True: "[18] It is no longer necessary to set store=True on related fields to group, aggregate, or sort them. Remove store=True unless it is strictly required. More details: https://github.com/odoo/odoo/pull/127353"

0 commit comments

Comments
 (0)