Add 'document' field to quality template form view.

This commit is contained in:
Albert Cervera i Areny 2021-10-07 13:10:22 +02:00
parent 900183bffe
commit 310512a7a2
2 changed files with 15 additions and 0 deletions

View File

@ -9,5 +9,11 @@
ref="quality_control.quality_test_form_view"/>
<field name="name">quality_test_form</field>
</record>
<record model="ir.ui.view" id="quality_template_farm_view_form">
<field name="model">quality.template</field>
<field name="inherit"
ref="quality_control.quality_template_form_view"/>
<field name="name">quality_template_form</field>
</record>
</data>
</tryton>

View File

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<!--The COPYRIGHT file at the top level of this repository
contains the full copyright notices and license terms. -->
<data>
<xpath expr="/form/notebook" position="before">
<label name="document"/>
<field name="document"/>
</xpath>
</data>