You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

52 lines
2.1 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="view_pest_details_tree" model="ir.ui.view">
<field name="name">pest.details.tree</field>
<field name="model">pest.details</field>
<field name="arch" type="xml">
<tree>
<field name="pest_name"/>
<field name="pest_expiry_date"/>
<field name="pest_quantity"/>
<field name="pest_cost"/>
<field name="total_cost"/>
</tree>
</field>
</record>
<record id="view_pest_details_form" model="ir.ui.view">
<field name="name">pest.details.form</field>
<field name="model">pest.details</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<group>
<field name="pest_name"/>
<field name="pest_expiry_date"/>
<field name="currency_id" invisible="1"/>
<field name="pest_quantity"/>
<field name="pest_cost" widget='monetary'
options="{'currency_field': 'currency_id'}"
optional="show"/>
<field name="total_cost" widget='monetary'
options="{'currency_field': 'currency_id'}"
optional="show"/>
</group>
<group>
<field name="pest_image" widget="image"/>
</group>
</group>
<field name="pest_description"
placeholder="Pesticide Description..............."/>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids"/>
<field name="activity_ids"/>
<field name="message_ids"/>
</div>
</form>
</field>
</record>
</odoo>