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 want to use _create_invoices method from
in my new 'create_invoice_customer' that is inherrited by sales.order,so i have written the code but its not working it give an error like
NameError: global name 'sale_advance_payment_inv' is not defined
here is my code
from openerp import api, fields, models, _
_description ="create invoice for customer"
res = super(sale_advance_payment_inv, self)
res=self.browse(cr, uid, ids, context=context)
and my xml file
<record id="new_button_id" model="ir.ui.view">
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='partner_id']" position="after">
i have search many but still not getting proper answer please any one help me....
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/10/16, 2:29 AM|
|Seen: 242 times|
|Last updated: 8/10/16, 8:59 AM|