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.
Hello friends, this is Sandro Regis and thanks fo read my question. So I did a new module that inherits PAYMENT.LINE create some new methods, override some fields in the wizard view, but... the buttons [Save and New] / [Save and Close] / [Cancel] are not being shown. Ah.. this is Openerp 6.1 version in use.
Below my xml view file:
<record model="ir.ui.view" id="view_wizard_payment_order_form">
<field name="inherit_id" ref="account_payment.view_payment_line_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='communication']" position="replace">
<field name="communication" string="Faturas" select="0"/>
<xpath expr="//field[@name='communication2']" position="replace">
<field name="communication2" string="Sale Orders" select="0" help="Sale orders numbers"/>
<xpath expr="//field[@name='amount_currency']" position="replace">
<field name="amount_currency" select="0"/>
<xpath expr="//field[@name='order_id']" position="replace">
<field name="order_id" select="0" on_change="onchange_order_id(context)"/>
<xpath expr="//field[@name='partner_id']" position="replace">
<field name="employee_id" select="1"/>
Please could some friend give some hint on how to make the buttons appears like in the original inherit view
Thank you so much!
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 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: 8/3/14, 10:12 PM|
|Seen: 1482 times|
|Last updated: 3/16/15, 8:10 AM|