1
<?xml version="1.0" encoding="utf-8"?>
6
<!--TREE VIEW OF PRODUCTS-STRUCT COSTS AUXILIARY OSV MEMORY OBJECT-->
7
<record id="product_percent_struct_costs_view" model="ir.ui.view">
8
<field name="name">product.percent.struct.costs.view</field>
9
<field name="model">product.percent.struct.costs</field>
10
<field name="type">tree</field>
11
<field name="arch" type="xml">
12
<tree string="Products Structural Costs Impact" editable="top">
13
<field name="product_id" on_change="onchange_product_id(parent.prev_fyear_id, parent.prev_period_id, product_id)"/>
14
<field name="total_sales" on_change ="onchange_total_sales(total_sales)"/>
15
<field name="forecasted_sales"/>
20
<!--FORM VIEW OF PRODUCTS-STRUCT COSTS AUXILIARY OSV MEMORY OBJECT-->
21
<record id="product_percent_struct_costs_form_view" model="ir.ui.view">
22
<field name="name">product.percent.struct.costs.form.view</field>
23
<field name="model">product.percent.struct.costs</field>
24
<field name="type">form</field>
25
<field name="arch" type="xml">
26
<form string="Product Structural Costs Impact">
28
<field name="product_id" on_change="onchange_product_id(parent.prev_fyear_id, parent.prev_period_id, product_id)"/>
29
<field name="total_sales" on_change ="onchange_total_sales(total_sales)"/>
30
<field name="forecasted_sales"/>
36
<record id="action_product_percent_struct_costs_tree" model="ir.actions.act_window">
37
<field name="name">Products Structural Costs Impact</field>
38
<field name="res_model">product.percent.struct.costs</field>
39
<field name="view_type">form</field>
40
<field name="view_mode">form</field>
41
<field name="view_id" ref="product_percent_struct_costs_form_view"/>
b'\\ No newline at end of file'