~vauxoo/addons-vauxoo/7.0-user_story-rev4-kty

« back to all changes in this revision

Viewing changes to cost_structure/view/product_view.xml

  • Committer: Jose Morales
  • Date: 2013-03-20 15:50:17 UTC
  • mto: This revision was merged to the branch mainline in revision 519.
  • Revision ID: jose@vauxoo.com-20130320155017-uvzmypl3ujrck6f2
 
[IMP] Remove sale model in cost module  to work without price in cost module beacase it is only compute the average cost in products 

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
            </group>
16
16
            <group colspan="6" col="4" string="Costos">
17
17
              <field name='cost_ult' groups="cost_structure.group_cost_structure_manager" />
18
 
              <field name='date_cost_ult' groups="cost_structure.group_cost_structure_manager"/>
 
18
              <field name='date_cost_ult' groups="cost_structure.group_cost_structure_manager" />
19
19
              <field name='cost_ant' groups="cost_structure.group_cost_structure_manager" />
20
20
              <field name='date_cost_ant' groups="cost_structure.group_cost_structure_manager" />
21
21
              <field name='cost_prom' colspan="1" groups="cost_structure.group_cost_structure_manager" />
29
29
              <field name='cost_suppler' groups="cost_structure.group_cost_structure_manager" />
30
30
              <field name='date_cost_suppler' groups="cost_structure.group_cost_structure_manager" />
31
31
              <!-- <field name='cost_to_price' /> -->
32
 
<!--            <field name='date_cost_to_price' />-->
 
32
              <!--            <field name='date_cost_to_price' />-->
33
33
            </group>
34
 
            <field name='method_cost_ids' nolabel="1" context="{'property_cost_structure':property_cost_structure}">
35
 
            <tree editable="bottom" >
36
 
              <field name='sequence' />
 
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='sequence' />
37
37
                <field name='unit_price' on_change="onchange_marginprice(unit_price,margin_reference,reference_cost_structure_id)" />
38
 
              <field name='cost_structure_id' invisible="1" />
39
 
              <field name='reference_cost_structure_id' invisible="1" />
40
 
              <field name='date' />
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' />
45
 
              <field name='default_cost'  />
46
 
            </tree>
 
38
                <field name='cost_structure_id' invisible="1" />
 
39
                <field name='reference_cost_structure_id' invisible="1" />
 
40
                <field name='date' />
 
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' />
 
45
                <field name='default_cost' />
 
46
              </tree>
47
47
            </field>
48
48
          </page>
49
49
        </xpath>
50
 
        <xpath expr='//page[@string="Information"]' position="after">
51
 
          <page string="Landing Information"><!-- <field name='arancel' /> --></page>
52
 
        </xpath>
53
50
      </field>
54
51
    </record>
55
52
  </data>