i made a new wizard base on stock.partial.picking but i dont know how to call it.
what should i change to call it?
i'm using this code now.
.py:
return {
'view_type': 'form',
'view_mode': 'form',
'res_model': 'stock.partial.picking',
'type': 'ir.actions.act_window',
'target': 'new',
'context': context,
'nodestroy': True,
}
.xml:
<record id="action_partial_picking2" model="ir.actions.act_window">
<field name="name">Partial Picking2</field>
<field name="res_model">stock.partial.picking</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>