Odoo Help

Welcome!

This community 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.

0

how to control which wizard to call?

By
willie ho
on 6/15/15, 2:08 AM 280 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>

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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