product_library adds some fields to product and some utilities addons from OCA

This commit is contained in:
santiky 2021-08-06 13:03:47 +02:00
parent 9145e0cabe
commit 6c8876b991
Signed by: snt
GPG key ID: A9FD34930EADBE71
334 changed files with 92878 additions and 0 deletions

View file

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<openerp>
<data>
<record model="ir.ui.view" id="product_library_form_config">
<field name="name">product.product.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="list_price" position="after">
<field name="subtitle"/>
<field name="autor"/>
<field name="isbn"/>
<field name="editorial"/>
<field name="pais_edicion"/>
<field name="fecha_entrada"/>
<field name="colacion"/>
<field name="coleccion"/>
<field name="subcoleccion"/>
<field name="idioma"/>
</field>
</field>
</record>
</data>
</openerp>

View file

@ -0,0 +1,14 @@
<openerp>
<data>
<template id="report_external_layout_header_custom" inherit_id="report.external_layout_header" name="Report Layout Header NIF" priority="17">
<xpath expr="//div[@t-field='company.partner_id']" position="before">
<!-- <div t-field="company.partner_id"
t-field-options="{'widget': 'contact',
'fields': ['address','name'],
'no_marker': true }"
/> -->
<span t-field="company.vat" />
</xpath>
</template>
</data>
</openerp>