Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am creating a button in the model sale.order that pressing the button will now have the stock.picking.form . This is my my sale_view.xml file
<record model="ir.actions.act_window" id="vista_stock_picking"> <field name="name">Vista stock picking</field> <field name="type">ir.actions.act_window</field> <field name="res_model">stock.picking</field> <field name="view_type">form</field> <field name="view_id" ref="stock.view_picking_form"/> <field name="target">new</field> </record>
And in Form view sale.order model , I created the button:
<button name="%(vista_stock_picking)d" string="Vista stock picking" type="action"/>
I checked the documentation Odoo but I had no clear information .
If someone could help me I would be very grateful.
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
|Asked: 3/7/16, 9:36 AM|
|Seen: 398 times|
|Last updated: 3/7/16, 10:22 AM|