12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <openerp>
- <data>
- <template id="eiru_pos.assets" name="Eiru Pos Assets" inherit_id="eiru_assets.assets">
- <xpath expr="." position="inside">
- <link rel="stylesheet" href="/eiru_pos/static/src/main.css" />
- <link rel="stylesheet" href="/eiru_pos/static/report/ticket_style.css" />
- <script type="text/javascript" src="/eiru_pos/static/src/main.js" />
- </xpath>
- </template>
- <record id="eiru_pos.pos_action" model="ir.actions.client">
- <field name="name">Eiru Ventas</field>
- <field name="tag">eiru_pos.action_launch</field>
- <field name="params">{'mode': 'sale'}</field>
- </record>
- <record id="eiru_pos.budget_action" model="ir.actions.client">
- <field name="name">Eiru Presupuestos</field>
- <field name="tag">eiru_pos.action_launch</field>
- <field name="params">{'mode': 'budget'}</field>
- </record>
- <record id="eiru_pos.pos_rel_1_action" model="ir.actions.client">
- <field name="name">Eiru Ventas 1</field>
- <field name="tag">eiru_pos.action_launch</field>
- <field name="params">{'mode': 'product_picking'}</field>
- </record>
- <record id="eiru_pos.pos_rel_2_action" model="ir.actions.client">
- <field name="name">Eiru Ventas 2</field>
- <field name="tag">eiru_pos.action_launch</field>
- <field name="params">{'mode': 'payment'}</field>
- </record>
- <record id="eiru_pos.pos_rel_3_action" model="ir.actions.client">
- <field name="name">Eiru Ventas 3</field>
- <field name="tag">eiru_pos.action_launch</field>
- <field name="params">{'mode': 'product_delivery'}</field>
- </record>
- <!-- <menuitem id="eiru_pos.new_sale" name="Nueva venta" parent="eiru_dashboard.eiru_dashboard_main" action="eiru_pos.pos_action" sequence="2" /> -->
- <!-- <menuitem id="eiru_pos.new_budget" name="Nuevo presupuesto" parent="eiru_dashboard.eiru_dashboard_main" action="eiru_pos.budget_action" sequence="3" /> -->
- <record id="eiru_pos.settings_form" model="ir.ui.view">
- <field name="name">Preferencias Eiru POS</field>
- <field name="model">res.config.settings</field>
- <field name="arch" type="xml">
- <form string="Eiru POS">
- <header>
- <button string="Guardar" type="object" name="execute" class="oe_highlight" />
- or
- <button string="Cancelar" type="object" name="cancel" class="oe_link" />
- </header>
- <div name="general">
- <separator string="Preferencias" />
- <group>
- <group>
- <field name="image_type" />
- <field name="allow_currency_exchange" />
- <field name="view_currency_exchanges" />
- </group>
- <group>
- <field name="currency_ids" widget="many2many_tags" options="{'no_create_edit': True}" />
- <field name="allow_change_user" />
- <field name="allow_change_date" />
- <field name="allow_pricelist" />
- </group>
- </group>
- </div>
- </form>
- </field>
- </record>
- <record id="eiru_pos.action_settings" model="ir.actions.act_window">
- <field name="name">Preferencias Eiru POS</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">res.config.settings</field>
- <field name="view_id" ref="eiru_pos.settings_form"></field>
- <field name="view_mode">form</field>
- <field name="target">inline</field>
- </record>
- <menuitem id="eiru_pos.preferences" name="TPV" parent="base.menu_config" action="eiru_pos.action_settings" sequence="100" />
- </data>
- </openerp>
|