Valencia Rodrigues (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.0-opw-6193-vro into
lp:openobject-addons/6.0.
Requested reviews:
Jay Vora (OpenERP) (jvo-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-6193-vro/+merge/64368
Hello,
On installing account_invoice_layout, one can create invoice lines of the type
title, note, etc. But in Supplier Invoices, invoice lines other than of the
type 'article'(Product) are not visible on saving the invoice.
This fixes the issue.
Thanks
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-6193-vro/+merge/64368
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.0-opw-6193-vro.
=== modified file 'account_invoice_layout/account_invoice_layout_view.xml'
--- account_invoice_layout/account_invoice_layout_view.xml 2011-01-14 00:11:01 +0000
+++ account_invoice_layout/account_invoice_layout_view.xml 2011-06-13 07:33:15 +0000
@@ -54,6 +54,20 @@
</field>
</record>
+ <record model="ir.ui.view" id="account_supplier_invoice_form_inherit_1">
+ <field name="name">account.supplier.invoice.form.inherit_1</field>
+ <field name="model">account.invoice</field>
+ <field name="inherit_id" ref="account.invoice_supplier_form"/>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <xpath expr="/form/notebook/page/field[@name='invoice_line']" position="replace">
+ <!-- keep the original fields, because other views position on that, too -->
+ <field name="invoice_line" invisible="True"/>
+ <field name="abstract_line_ids" colspan="4" nolabel="1"/>
+ </xpath>
+ </field>
+ </record>
+
<!-- notification message views -->
<record model="ir.ui.view" id="view_notify_message_search">
<field name="name">notify.message.search</field>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp