Skip to content
Snippets Groups Projects
Commit e1fa510e authored by Benjamin - Le Filament's avatar Benjamin - Le Filament
Browse files

[fix] get ur value from context

parent cdd5b552
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@
<attribute name="invisible">True</attribute>
</xpath>
<field name="product_id" position="attributes">
<attribute name="domain">[('ur_id', '=', ur_id)]</attribute>
<attribute name="domain">[('ur_id', '=', context.get('ur_id'))]</attribute>
</field>
<field name="reference" position="attributes">
<attribute name="invisible">True</attribute>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment