[Fix] update action to force detailed_type on product.template

This commit is contained in:
Nicolas JEUDY
2023-06-16 11:30:48 +02:00
parent 4238412e3e
commit 9d0549db19

View File

@@ -2,8 +2,8 @@
<openerp>
<data>
<record id="ir_actions_act_window_formation_r0" model="ir.actions.act_window">
<field name="domain">[('is_learning', '=', 1)]</field>
<field name="context">{'default_is_learning': 1}</field>
<field name="domain">[('detailed_type', '=', 'learning')]</field>
<field name="context">{'default_detailed_type': 'learning'}</field>
<field name="help">&lt;p class="o_view_nocontent_smiling_face"&gt;Créer un nouveau article&lt;/p&gt;</field>
<field name="res_model">product.template</field>
<field name="binding_type">action</field>