add views to product and add model sale.line and views

This commit is contained in:
2022-06-15 00:31:32 -05:00
parent d877ba95d2
commit 7c9b63ec88
7 changed files with 73 additions and 25 deletions

27
view/sale_line_form.xml Normal file
View File

@@ -0,0 +1,27 @@
<?xml version="1.0"?>
<!--This file file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
<data>
<xpath
expr="/form/notebook/page[@id='notes']" position="before">
<page string="Equipment" id="equipment">
<label name="mark_category"/>
<field name="mark_category"/>
<label name="model_category"/>
<field name="model_category"/>
<label name="refurbish"/>
<field name="refurbish"/>
<label name="software_version"/>
<field name="software_version"/>
<label name="useful_life"/>
<field name="useful_life"/>
<label name="warranty"/>
<field name="warranty"/>
<label name="serial"/>
<field name="serial"/>
<label name="health_register"/>
<field name="health_register"/>
<label name="origin_country"/>
<field name="origin_country"/>
</page>
</xpath>
</data>

View File

@@ -3,11 +3,15 @@
this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="/form/notebook/page[@id='general']/group[@id='checkboxes']" position="inside">
<label name="machine"/>
<field name="machine"/>
<label name="equipment"/>
<field name="equipment"/>
</xpath>
<xpath expr="/form/notebook/page[@id='general']" position="after">
<page string="Features" id="features">
<label name="equipment_type"/>
<field name="equipment_type"/>
<label name="calibration"/>
<field name="calibration"/>
<label name="risk"/>
<field name="risk"/>
<label name="use"/>
@@ -16,6 +20,8 @@ this repository contains the full copyright notices and license terms. -->
<field name="biomedical_class"/>
<label name="main_tecnology"/>
<field name="main_tecnology"/>
<label name="observation"/>
<field name="observation"/>
</page>
</xpath>
</data>