12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?xml version="1.0" encoding="UTF-8"?>
- <openerp>
- <data>
- <!--<record id="act_res_partner_3_pos_order" model="ir.actions.act_window">
- <field name="name">Pos</field>
- <field name="res_model">pos.order.line</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- <field name="context">{'search_default_partner_id': active_id}</field>
- <field name="groups_id" eval="[(4, ref('point_of_sale.group_pos_user'))]"/>
- <field name="help" type="html">
- <p class="oe_view_nocontent_create">
- Click to create a quotation or pos order for this customer.
- </p><p>
- Odoo will help you efficiently handle the complete sale flow:
- pos order, invoicing and
- payment.
- </p><p>
- The social feature helps you organize discussions on each pos
- order, and allow your customer to keep track of the evolution
- of the pos order.
- </p>
- </field>
- </record> -->
- <record id="action_pos_line_product_tree" model="ir.actions.act_window">
- <field name="context">{}</field><!-- force empty -->
- <field name="name">Pos Order Lines</field>
- <field name="res_model">pos.order.line</field>
- <field name="view_id" ref="point_of_sale.view_pos_order_tree"/>
- <field name="context">{'search_default_confirmed': 1}</field>
- </record>
- <record model="ir.ui.view" id="product_form_view_pos_order_button1">
- <field name="name">product.product.pos.order1</field>
- <field name="model">product.product</field>
- <field name="inherit_id" ref="product.product_normal_form_view"/>
- <!-- <field name="groups_id" eval="[(4, ref('base.group_sale_salesman'))]"/> -->
- <field name="arch" type="xml">
- <xpath expr="//div[@name='buttons']" position="inside">
- <button class="oe_inline oe_stat_button" name="action_view_pos"
- type="object" icon="fa-strikethrough">
- <field string="Pos" name="pos_count" widget="statinfo" />
- </button>
- </xpath>
- </field>
- </record>
- <record model="ir.ui.view" id="product_template_form_view_pos_order_button1">
- <field name="name">product.template.pos.order.button1</field>
- <field name="model">product.template</field>
- <field name="inherit_id" ref="product.product_template_only_form_view"/>
- <!-- <field name="groups_id" eval="[(4, ref('base.group_sale_salesman'))]"/> -->
- <field name="arch" type="xml">
- <xpath expr="//div[@name='buttons']" position="inside">
- <button class="oe_inline oe_stat_button" name="action_view_pos"
- type="object" icon="fa-strikethrough">
- <field string="Pos" name="pos_count" widget="statinfo" />
- </button>
- </xpath>
- </field>
- </record>
- </data>
- </openerp>
|