add module equipments

This commit is contained in:
sinergia 2023-04-03 02:27:00 -05:00
parent 5818090bbf
commit 4a5f756dbe
6 changed files with 180 additions and 0 deletions

47
view/contract_form.xml Normal file
View File

@ -0,0 +1,47 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<form col="6">
<label name="party"/>
<field name="party"/>
<label name="invoice_address"/>
<field name="invoice_address"/>
<label name="number"/>
<field name="number"/>
<newline/>
<label name="contact"/>
<field name="contact"/>
<newline/>
<label name="description"/>
<field name="description" colspan="3"/>
<label name="reference"/>
<field name="reference"/>
<newline/>
<separator id="validity" string="Validity" colspan="6"/>
<label name="start_date"/>
<field name="start_date"/>
<label name="end_date"/>
<field name="end_date"/>
<notebook colspan="6">
<page string="Contracts and Prorogues" id="contracts">
<field name="maintenance_services"/>
</page>
<page string="Equipments" id="equipments">
<field name="equipments"/>
</page>
<page string="Other Info" id="other">
<label name="company"/>
<field name="company"/>
</page>
</notebook>
<label name="price_contract"/>
<field name="price_contract"/>
<newline/>
<label name="state"/>
<field name="state"/>
<group col="2" colspan="2" id="button">
<button name="draft"/>
<button name="cancelled"/>
<button name="running"/>
</group>
</form>

12
view/contract_list.xml Normal file
View File

@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="number"/>
<field name="party"/>
<field name="reference"/>
<field name="description"/>
<field name="start_date"/>
<field name="end_date"/>
<field name="state"/>
</tree>

View File

@ -0,0 +1,17 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level
this repository contains the full copyright notices and license terms. -->
<form>
<group id="create_contract">
<label name="party"/>
<field name="party"/>
<label name="contact"/>
<field name="contact"/>
<label name="invoice_address"/>
<field name="invoice_address"/>
<label name="start_date"/>
<field name="start_date"/>
<label name="end_date"/>
<field name="end_date"/>
</group>
</form>

80
view/equipment_form.xml Normal file
View File

@ -0,0 +1,80 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<form col="6">
<label name="code"/>
<field name="code"/>
<label name="company"/>
<field name="company"/>
<label name="active"/>
<field name="active"/>
<newline/>
<label name="propietary"/>
<field name="propietary"/>
<label name="propietary_address"/>
<field name="propietary_address"/>
<notebook colspan="6">
<page string="General" id="general_equipment">
<label name="location"/>
<field name="location"/>
<label name="product"/>
<field name="product"/>
<label name="equipment_type"/>
<field name="equipment_type"/>
<label name="use"/>
<field name="use"/>
<label name="biomedical_class"/>
<field name="biomedical_class"/>
<label name="calibration"/>
<field name="calibration"/>
<newline/>
<label name="mark_category"/>
<field name="mark_category"/>
<label name="model_category"/>
<field name="model_category"/>
<label name="reference_category"/>
<field name="reference_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"/>
<newline/>
<label name="maintenance_frequency"/>
<field name="maintenance_frequency"/>
<label name="serial"/>
<field name="serial"/>
<label name="health_register"/>
<field name="health_register"/>
<label name="origin_country"/>
<field name="origin_country"/>
</page>
<page string="Contracts" id="contract_equipment">
<field name="contract_history"/>
</page>
<page string="Maintenances" id="maintenances_equipment">
<field name="maintenance_history"/>
</page>
<page string="Propietarys" id="propietarys_equipment">
<field name="propietarys"/>
</page>
<page string="Origins" id="origins_equipment">
<separator id="purchase_origin" string="Purchase Origin" colspan="4"/>
<field name="purchase_origin"/>
<newline/>
<separator id="sale_destination" string="Sale Destination" colspan="4"/>
<field name="sale_destination"/>
<separator id="shipment_destination" string="Shipment Destination" colspan="4"/>
<field name="shipment_destination"/>
</page>
</notebook>
<group col="2" colspan="2" id="button">
<button name="draft"/>
<button name="registred"/>
</group>
<label name="state"/>
<field name="state"/>
</form>

View File

@ -0,0 +1,11 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms.-->
<tree editable="1">
<field name="code"/>
<field name="purchase_origin"/>
<field name="propietary"/>
<field name="product"/>
<field name="serial" expand="1"/>
<button name="registred"/>
</tree>

13
view/equipment_tree.xml Normal file
View File

@ -0,0 +1,13 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms.-->
<tree>
<field name="code"/>
<field name="location"/>
<field name="propietary"/>
<field name="propietary_address"/>
<field name="product" expand="1"/>
<field name="mark_category"/>
<field name="model_category"/>
<field name="serial"/>
</tree>