[Point of sale] Partner is mamndatory for invoicing order on mainstream now
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Thu, 24 Jan 2013 15:56:11 +0000 (16:56 +0100)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Thu, 24 Jan 2013 15:56:11 +0000 (16:56 +0100)
view/point_of_sale.xml [deleted file]

diff --git a/view/point_of_sale.xml b/view/point_of_sale.xml
deleted file mode 100644 (file)
index 2bf3349..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<openerp>
-    <data>
-        <record id="view_pos_pos_form" model="ir.ui.view">
-            <field name="name">pos.order.form - Remembership</field>
-            <field name="model">pos.order</field>
-            <field name="inherit_id" ref="point_of_sale.view_pos_pos_form"/>
-            <field name="arch" type="xml">
-                <xpath expr="//field[@name='partner_id']" position="replace">
-                <field name="partner_id" on_change="onchange_partner_id(partner_id)" context="{'search_default_customer':1}" attrs="{'readonly': [('state','in',('invoiced','paid'))]}" required="1"/>
-                </xpath>
-                <xpath expr="//button[@name='action_invoice']" position="replace">
-                </xpath>
-            </field>
-        </record>
-    </data>
-</openerp>