product_library adds some fields to product and some utilities addons from OCA
This commit is contained in:
parent
9145e0cabe
commit
6c8876b991
334 changed files with 92878 additions and 0 deletions
24
product_library/views/product.xml
Normal file
24
product_library/views/product.xml
Normal 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>
|
14
product_library/views/templates.xml
Normal file
14
product_library/views/templates.xml
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue