1
<?xml version='1.0' encoding='utf-8'?>
4
<record model="ir.ui.view" id="product_cost_structure">
5
<field name="name">product.normal.form</field>
6
<field name="model">product.product</field>
7
<field name="inherit_id" ref="product.product_normal_form_view"/>
8
<field name="arch" type="xml">
9
<xpath expr="//page[@string="Information"]" position="after">
10
<page string="Advance Options">
11
<group colspan="9" col="1">
12
<field name="property_cost_structure"/>
13
<field name="status_bool" invisible="1"/>
15
<group colspan="6" col="4" string="Costos">
16
<field name="cost_ult" groups="cost_structure.group_cost_structure_manager"/>
17
<field name="date_cost_ult" groups="cost_structure.group_cost_structure_manager"/>
18
<field name="cost_ant" groups="cost_structure.group_cost_structure_manager"/>
19
<field name="date_cost_ant" groups="cost_structure.group_cost_structure_manager"/>
20
<field name="cost_prom" colspan="1" groups="cost_structure.group_cost_structure_manager"/>
21
<field name="date_cost_prom" groups="cost_structure.group_cost_structure_manager"/>
22
<field name="ult_om" groups="cost_structure.group_cost_structure_manager"/>
23
<field name="date_ult_om" groups="cost_structure.group_cost_structure_manager"/>
24
<field name="ant_om" groups="cost_structure.group_cost_structure_manager"/>
25
<field name="date_ant_om" groups="cost_structure.group_cost_structure_manager"/>
26
<field name="prom_om" groups="cost_structure.group_cost_structure_manager"/>
27
<field name="date_prom_om" groups="cost_structure.group_cost_structure_manager"/>
28
<field name="cost_suppler" groups="cost_structure.group_cost_structure_manager"/>
29
<field name="date_cost_suppler" groups="cost_structure.group_cost_structure_manager"/>
30
<!-- <field name='cost_to_price' /> -->
31
<!-- <field name='date_cost_to_price' />-->
33
<field name="method_cost_ids" nolabel="1" context="{'method_cost_ids':method_cost_ids,'property_cost_structure':property_cost_structure}">
34
<tree editable="bottom">
35
<field name="sequence"/>
36
<field name="unit_price" on_change="onchange_marginprice(unit_price,margin_reference,reference_cost_structure_id)"/>
37
<field name="cost_structure_id" invisible="1"/>
38
<field name="reference_cost_structure_id" invisible="1"/>
40
<field name="price_referen"/>
41
<field name="margin_reference" on_change="onchange_marginprice(unit_price,margin_reference,reference_cost_structure_id)"/>
42
<field name="date_prom_begin"/>
43
<field name="date_prom_end"/>
44
<field name="default_cost"/>
b'\\ No newline at end of file'
1
<?xml version="1.0" encoding="utf-8"?>
4
<record model="ir.ui.view" id="product_cost_structure">
5
<field name="name">product.normal.form</field>
6
<field name="model">product.product</field>
7
<field name="inherit_id" ref="product.product_normal_form_view" />
8
<field name="type">form</field>
9
<field name="arch" type="xml">
10
<xpath expr='/form/notebook/page[@string="Information"]' position="after">
11
<page string="Advance Options">
12
<group colspan="9" col="1">
13
<field name="property_cost_structure" />
14
<field name="status_bool" invisible="1" />
16
<group colspan="6" col="4" string="Costos">
17
<field name='cost_ult' />
18
<field name='date_cost_ult' />
19
<field name='cost_ant' />
20
<field name='date_cost_ant' />
21
<field name='cost_prom' colspan="1" />
22
<field name='date_cost_prom' />
23
<field name='ult_om' />
24
<field name='date_ult_om' />
25
<field name='ant_om' />
26
<field name='date_ant_om' />
27
<field name='prom_om' />
28
<field name='date_prom_om' />
29
<field name='cost_suppler' />
30
<field name='date_cost_suppler' />
31
<!-- <field name='cost_to_price' /> -->
32
<!-- <field name='date_cost_to_price' />-->
34
<field name='method_cost_ids' nolabel="1" context="{'method_cost_ids':method_cost_ids,'property_cost_structure':property_cost_structure}">
35
<tree editable="bottom" >
36
<field name='unit_price' on_change="onchange_marginprice(unit_price,margin_reference,reference_cost_structure_id)" />
37
<field name='sequence' />
38
<field name='cost_structure_id' invisible="1" />
39
<field name='reference_cost_structure_id' invisible="1" />
41
<field name='price_referen' />
42
<field name='margin_reference' on_change="onchange_marginprice(unit_price,margin_reference,reference_cost_structure_id)" />
43
<field name='date_prom_begin' />
44
<field name='date_prom_end' />
49
<xpath expr='/form/notebook/page[@string="Information"]' position="after">
50
<page string="Landing Information"><!-- <field name='arancel' /> --></page>