Odoo Help

0

how to control which wizard to call?

By
willie ho
on 6/15/15, 2:08 AM 354 views

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>

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 6/15/15, 2:08 AM
Seen: 354 times
Last updated: 6/15/15, 2:08 AM