[WIP] wip
[odoo/odoo.git] / addons / point_of_sale / point_of_sale_view.xml
index f3b4911..404ac2d 100644 (file)
             <field name="type">form</field>
             <field name="inherit_id" ref="product.product_normal_form_view"/>
             <field name="arch" type="xml">
-                  <group name="status" position="after">
-                      <group name="pos" string="Point of Sale">
-                          <field name="pos_categ_id"/>
-                          <field name="to_weight" />
-                      </group>
-                  </group>
-            </field>
-        </record>
-
-
-        <record id="product_normal_form_view" model="ir.ui.view">
-            <field name="name">product.normal.form.inherit</field>
-            <field name="model">product.product</field>
-            <field name="type">form</field>
-            <field name="inherit_id" ref="product.product_normal_form_view"/>
-            <field name="arch" type="xml">
+                <group name="status" position="after">
+                    <group name="pos" string="Point of Sale">
+                        <field name="pos_categ_id"/>
+                        <field name="to_weight" />
+                    </group>
+                </group>
                 <group name="misc" position="after">
                     <group name="pos" colspan="2" col="2">
                         <separator string="Point of Sale" colspan="2"/>
                         <field name="expense_pdt"/>
                     </group>
                 </group>
+                <!-- <field name="ean13" position="after">
+                    <button name="add_ean13" type="object" string="Edit" />
+                </field> -->
             </field>
         </record>
 
 
         <menuitem action="action_pos_session_opening" parent="menu_point_of_sale" id="menu_pos_session_opening" sequence="0" />
 
+        <record model="ir.ui.view" id="view_pos_session_form">
+            <field name="name">pos.ean_wizard</field>
+            <field name="model">pos.ean_wizard</field>
+            <field name="type">form</field>
+            <field name="arch" type="xml">
+                <form string="ASDFDASF of Sale Session" version="7.0">  
+                    <field name="ean13_pattern"/>
+                    <footer>
+                        <button name="sanitize_ean13" type="object" string="Apply"/>
+                    </footer>
+                </form>
+            </field>
+        </record>
+
+
     </data>
 </openerp>