upgrade v16
separación de las funcionalidades del PoS en un módulo aparte
This commit is contained in:
parent
cb788d4a45
commit
386ae33d80
19 changed files with 184 additions and 386 deletions
|
@ -1,29 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright 2020 Creu Blanca
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
|
||||
<odoo>
|
||||
<!--
|
||||
<record model="ir.ui.view" id="pos_config_view_form">
|
||||
<field name="model">pos.config</field>
|
||||
<field name="inherit_id" ref="point_of_sale.pos_config_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='iface_big_scrollbars']/../.." position="after">
|
||||
|
||||
<div class="col-12 col-lg-6 o_setting_box">
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="iface_fixed_font_size" string="Fixed Font Size"/>
|
||||
<div class="text-muted">
|
||||
Font size of the product name, when it has no image. Set '0' will set adaptative font-size, depending on the length of the name.
|
||||
</div>
|
||||
<div class="content-group mt16">
|
||||
<field name="iface_fixed_font_size"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
-->
|
||||
</odoo>
|
|
@ -1,29 +1,36 @@
|
|||
<?xml version="1.0"?>
|
||||
<odoo>
|
||||
<record model="ir.ui.view" id="product_library_form_config">
|
||||
<field name="name">product.template.library.form</field>
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="product.product_template_only_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="barcode" position="after">
|
||||
<field name="autor"/>
|
||||
<field name="genero"/>
|
||||
<field name="formato"/>
|
||||
<field name="editorial"/>
|
||||
<field name="pais_edicion"/>
|
||||
<field name="fecha_edicion"/>
|
||||
<field name="fecha_entrada"/>
|
||||
<field name="colacion"/>
|
||||
<field name="coleccion"/>
|
||||
<field name="subcoleccion"/>
|
||||
<field name="idioma"/>
|
||||
</field>
|
||||
<field name="name" position="after">
|
||||
<div>
|
||||
<label for="subtitle" />
|
||||
<field name="subtitle"/>
|
||||
</div>
|
||||
</field>
|
||||
<record model="ir.ui.view" id="product_library_form_config">
|
||||
<field name="name">product.template.library.form</field>
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="product.product_template_only_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="barcode" position="after">
|
||||
<field name="subtitle"/>
|
||||
<field name="autor"/>
|
||||
<field name="genero"/>
|
||||
<field name="formato"/>
|
||||
<field name="editorial"/>
|
||||
<field name="pais_edicion"/>
|
||||
<field name="fecha_edicion"/>
|
||||
<field name="fecha_entrada"/>
|
||||
<field name="colacion"/>
|
||||
<field name="coleccion"/>
|
||||
<field name="subcoleccion"/>
|
||||
<field name="idioma"/>
|
||||
</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="view_product_template_search_library" model="ir.ui.view">
|
||||
<field name="name">product.template.search.library</field>
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="product.product_template_search_view" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="name" position="after">
|
||||
<field name="autor" />
|
||||
<field name="editorial" />
|
||||
<field name="genero" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<!--
|
||||
<template id="assets_backend" name="product_library" inherit_id="point_of_sale.assets">
|
||||
<xpath expr="." position="inside">
|
||||
<script type="text/javascript" src="/product_library/static/src/js/models.js"></script>
|
||||
<script type="text/javascript" src="/product_library/static/src/js/db.js"/>
|
||||
<script type="text/javascript" src="/product_library/static/src/js/widgets.js"></script>
|
||||
</xpath>
|
||||
<xpath expr="//link[@id='pos-stylesheet']" position="after">
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="/product_library/static/src/css/pos.css"
|
||||
/>
|
||||
</xpath>
|
||||
</template>
|
||||
-->
|
||||
<!--
|
||||
<template
|
||||
id="assets_backend_web"
|
||||
name="product_library_backend_assets"
|
||||
inherit_id="web.assets_backend"
|
||||
>
|
||||
<xpath expr="." position="inside">
|
||||
<script
|
||||
type="text/javascript"
|
||||
src="/product_library/static/src/js/test_pos_format.js"
|
||||
/>
|
||||
</xpath>
|
||||
</template>
|
||||
-->
|
||||
</odoo>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue