123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <!-- Product Form View Inherited -->
- <record id="view_product_template_form_multiple_image" model="ir.ui.view">
- <field name="name">product.template.form.view.inherited</field>
- <field name="model">product.template</field>
- <field name="inherit_id" ref="product.product_template_only_form_view"/>
- <field name="arch" type="xml">
- <xpath expr="//div[@name='options']" position="inside">
- <field name="multi_image" nolabel="1"/>
- <label for="multi_image"/>
- </xpath>
- <xpath expr="//div[@name='options']" position="inside">
- <div>
- <field name="is_flip_image" nolabel="1"/>
- <label for="is_flip_image"/>
- </div>
- </xpath>
- <xpath expr="//notebook" position="inside">
- <page attrs="{'invisible':[('multi_image','!=',True)]}" name="product multi image" string="Multi Imagen">
- <field name="images">
- <form string="Multiple Imagen">
- <group>
- <field name="name"/>
- <field name="alt"/>
- <field name="attach_type" widget='radio'/>
- <field name="image" widget="image"
- height='64'
- attrs="{'invisible': [('attach_type', '=', 'video')]}"/>
- <field name="video_type" attrs="{'invisible': [('attach_type', '=', 'image')]}"/>
- </group>
- <group col="4">
- <field name="cover_image" widget="image"
- height="64"
- attrs="{'invisible': ['|', ('attach_type', '=', 'image'), ('video_type', '=', 'youtube')]}"/>
- <label string="Es Requerido"
- attrs="{'invisible': ['|', ('attach_type', '=', 'image'), ('video_type', '=', 'youtube')]}"/>
- </group>
- <group>
- <field name="video_id"
- attrs="{'invisible': ['|', ('attach_type', '=', 'image'), ('video_type', '=', 'html5video')]}"/>
- <field name="video_ogv"
- attrs="{'invisible': ['|', ('attach_type', '=', 'image'), ('video_type', 'in', ('youtube', 'vimeo'))]}"/>
- <field name="video_webm"
- attrs="{'invisible': ['|', ('attach_type', '=', 'image'), ('video_type', 'in', ('youtube', 'vimeo'))]}"/>
- <field name="video_mp4"
- attrs="{'invisible': ['|', ('attach_type', '=', 'image'), ('video_type', 'in', ('youtube', 'vimeo'))]}"/>
- <field name="sequence"/>
- <field name="more_view_exclude"/>
- </group>
- </form>
- <tree>
- <field name="name"/>
- <field name="alt"/>
- <field name="attach_type"/>
- <field name="image"
-
- height="64"
- attrs="{'invisible': [('attach_type', '=', 'video')]}"/>
- <field name="video_type" attrs="{'invisible': [('attach_type', '=', 'image')]}"/>
- <field name="video_id" attrs="{'invisible': [('attach_type', '=', 'image')]}"/>
- <field name="sequence"/>
- <field name="more_view_exclude"/>
- </tree>
- </field>
- </page>
- <page attrs="{'invisible':[('is_flip_image','!=',True)]}" name="flip_image_page" string="Imagen Cambiante">
- <h4>Añadir giro de imagen que será visible en el producto en el sitio web</h4>
- <field name="flip_image" widget='image' height="74px"/>
- </page>
- </xpath>
- <field name="website_style_ids" position="after">
- <field name="product_style_tag_id"/>
- </field>
- </field>
- </record>
- <!-- Product Tag Form View-->
- <record id="form_view_for_biztech_product_tags" model="ir.ui.view">
- <field name="name">Biztech Product Tags Form View</field>
- <field name="model">biztech.product.tags</field>
- <field name="arch" type="xml">
- <form>
- <sheet>
- <group>
- <group>
- <field name="name"/>
- <field name="sequence" string="Sequencia"/>
- </group>
- <group>
- <field name="active"/>
- </group>
- </group>
- <notebook>
- <page string="Productos">
- <field name="product_ids"/>
- </page>
- </notebook>
- </sheet>
- </form>
- </field>
- </record>
- <!-- Product Tag List View-->
- <record id="list_view_for_biztech_product_tags" model="ir.ui.view">
- <field name="name">Biztech Product Tags List View</field>
- <field name="model">biztech.product.tags</field>
- <field name="arch" type="xml">
- <tree>
- <field name="name"/>
- <field name="sequence" string="Sequencia"/>
- <field name="active"/>
- </tree>
- </field>
- </record>
- <!-- Action for product tags -->
- <record id="action_for_biztech_product_tags" model="ir.actions.act_window">
- <field name="name">Etiqueta de Productos</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">biztech.product.tags</field>
- <field name="view_type">form</field>
- <field name="view_mode">list,form</field>
- </record>
- <!-- Menu for Product Tags -->
- <menuitem name="Product Tags"
- id="biztech_product_tags"
- parent="base.menu_base_config"
- sequence="70"
- action="action_for_biztech_product_tags"/>
- <!-- Product Sorting -->
- <!-- Product sorting form view -->
- <record id="biztech_form_view_for_product_sorting" model="ir.ui.view">
- <field name="name">Biztech Product Sorting Form View</field>
- <field name="model">biztech.product.sortby</field>
- <field name="arch" type="xml">
- <form name="Product Sorting">
- <sheet>
- <group>
- <group>
- <field name="name"/>
- <field name="sort_on"/>
- </group>
- <group>
- <field name="sort_type" string="Ordenar por"/>
- </group>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <!-- Product sorting list View -->
- <record id="biztech_list_view_for_product_sorting" model="ir.ui.view">
- <field name="name">Biztech Product Sorting List View</field>
- <field name="model">biztech.product.sortby</field>
- <field name="arch" type="xml">
- <tree name="Product Sortingng">
- <field name="name"/>
- <field name="sort_on"/>
- <field name="sort_type"/>
- </tree>
- </field>
- </record>
- <!-- Action for product sorting -->
- <record id="action_for_product_sorting" model="ir.actions.act_window">
- <field name="name">Clasificación de productos</field>
- <field name="res_model">biztech.product.sortby</field>
- <field name="view_type">form</field>
- <field name="view_mode">list,form</field>
- </record>
-
- <!-- Menu for product sorting -->
- <menuitem name="Product Sorting"
- id="sub_menu_sort_by"
- parent="base.menu_base_config"
- sequence="80"
- action="action_for_product_sorting"/>
- <!-- Product Public Category -->
- <record id="view_product_public_category_inherit" model="ir.ui.view">
- <field name="name">Inherited Product Public Category Form View</field>
- <field name="model">product.public.category</field>
- <field name="inherit_id" ref="website_sale.product_public_category_form_view"/>
- <field name="arch" type="xml">
- <xpath expr="//field[@name='sequence']" position="after">
- <field name="include_in_megamenu"/>
- </xpath>
- <xpath expr="//div[@class='oe_left']" position="attributes">
- <attribute name="style">width:500px;</attribute>
- </xpath>
- <xpath expr="//div[@class='oe_left']/group" position="after">
- <group attrs="{'invisible': [('include_in_megamenu', '=', False)]}">
- <field name="menu_id"
- domain= "[('is_megamenu', '=', True)]"
- attrs="{'required': [('include_in_megamenu', '=', True)]}"/>
- <field name="description"/>
- </group>
- </xpath>
- </field>
- </record>
- <!-- Website product paging -->
- <record id="action_product_per_page" model="ir.actions.act_window">
- <field name="name">Website Product Pagination</field>
- <field name="res_model">product.per.page</field>
- <field name="view_mode">list,form</field>
- <field name="context">{'search_default_my_websites':1}</field>
- </record>
- <record id="list_view_product_per_page" model="ir.ui.view">
- <field name="name">Product Per Page List View</field>
- <field name="model">product.per.page</field>
- <field name="arch" type="xml">
- <tree string="Paginación de Productos en Sitio web" create="false" delete="false">
- <field name="name"/>
- </tree>
- </field>
- </record>
- <record id="form_view_product_per_page" model="ir.ui.view">
- <field name="name">Product Per Page Form View</field>
- <field name="model">product.per.page</field>
- <field name="arch" type="xml">
- <form string="Paginación de Productos en Sitio web" create="false" delete="false">
- <sheet>
- <group>
- <field name="name"/>
- <field name="no_ids"/>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <record id="form_view_product_per_page_no" model="ir.ui.view">
- <field name="name">Product Per Page No Form View</field>
- <field name="model">product.per.page.no</field>
- <field name="arch" type="xml">
- <form string="Productos por página">
- <group>
- <field name="name"/>
- <field name="set_default_check"/>
- </group>
- </form>
- </field>
- </record>
- <record id="list_view_product_per_page_no" model="ir.ui.view">
- <field name="name">Product Per Page No List View</field>
- <field name="model">product.per.page.no</field>
- <field name="arch" type="xml">
- <tree editable="bottom">
- <field name="name"/>
- <field name="set_default_check"/>
- </tree>
- </field>
- </record>
- <!-- For website config settings -->
- <record id="view_website_config_settings_f_l_pager" model="ir.ui.view">
- <field name="name">Website config Template First Last Pager</field>
- <field name="model">website.config.settings</field>
- <field name="inherit_id" ref="website.view_website_config_settings"/>
- <field name="arch" type="xml">
- <xpath expr="/form/div/group[@string='Language']" position="after">
- <group string="Paginacion del Sitio Web">
- <field name="enable_first_last_pager"/>
- </group>
- </xpath>
- </field>
- </record>
- <record id="view_res_config_ppp" model="ir.ui.view">
- <field name="name">sale.config.settings</field>
- <field name="model">sale.config.settings</field>
- <field name="inherit_id" ref="sale.view_sales_config"/>
- <field name="arch" type="xml">
- <div name="customer feature" position="before">
- <group string="Website Product Paging">
- <button type="action"
- name="%(kingfisher_pro.action_product_per_page)d"
- string="Configure website product pagination" class="oe_link"/>
- </group>
- </div>
- </field>
- </record>
- <!-- Product style tag Form View-->
- <record id="form_view_for_biztech_product_style_tag" model="ir.ui.view">
- <field name="name">Biztech Product Style Tag Form View</field>
- <field name="model">biztech.product.style.tag</field>
- <field name="arch" type="xml">
- <form>
- <sheet>
- <group>
- <group>
- <field name="name"/>
- </group>
- <group>
- <field name="color"/>
- </group>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <!-- Product Tag List View-->
- <record id="list_view_for_biztech_product_style_tag" model="ir.ui.view">
- <field name="name">Biztech Product Style Tag List View</field>
- <field name="model">biztech.product.style.tag</field>
- <field name="arch" type="xml">
- <tree>
- <field name="name"/>
- <field name="color"/>
- </tree>
- </field>
- </record>
- <!-- Action for product style tag -->
- <record id="action_for_biztech_product_style_tag" model="ir.actions.act_window">
- <field name="name">Estilo para Etiquetas de Productos</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">biztech.product.style.tag</field>
- <field name="view_type">form</field>
- <field name="view_mode">list,form</field>
- </record>
- <!-- Menu for Product Tags -->
- <menuitem name="Estilo para Etiquetas"
- id="biztech_product_style_tag"
- parent="base.menu_base_config"
- sequence="80"
- action="action_for_biztech_product_style_tag"/>
- </data>
- </openerp>
|