~numerigraphe-team/stock-logistic-warehouse/7.0-add-stock-valuation-history

« back to all changes in this revision

Viewing changes to stock_lot_valuation/wizard/stock_change_standard_price_view.xml

  • Committer: Joel Grand-Guillaume
  • Author(s): lorenzo.battistini at agilebg
  • Date: 2013-11-01 09:40:45 UTC
  • mfrom: (29.3.35 adding_stock_lot_costing)
  • Revision ID: joel.grandguillaume@camptocamp.com-20131101094045-2uac738fcfgfopb7
[MRG][ADD] stock_lot_valuation : Stock valuation (standard or average price, ...) based on lots.
This module extends standard stock valuation (based on products). Valuing lots allows to have different costs for different lots of the same product.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<openerp>
 
3
    <data>
 
4
        <record id="view_change_standard_price" model="ir.ui.view">
 
5
            <field name="name">Change Standard Price</field>
 
6
            <field name="model">lot.change.standard.price</field>
 
7
            <field name="arch" type="xml">
 
8
              <form string="Change Standard Price" version="7.0">
 
9
                  <separator string="Change Price"/>
 
10
                  <group>
 
11
                      <field name="new_price" string="Cost Price"/>
 
12
                  </group>
 
13
                  <footer>
 
14
                      <button name="change_price" string="_Apply" type="object" class="oe_highlight"/>
 
15
                      or
 
16
                      <button string="Cancel" class="oe_link" special="cancel" />
 
17
                  </footer>
 
18
              </form>
 
19
            </field>
 
20
        </record>
 
21
 
 
22
        <record id="action_view_change_standard_price" model="ir.actions.act_window">
 
23
            <field name="name">Change Standard Price</field>
 
24
            <field name="type">ir.actions.act_window</field>
 
25
            <field name="res_model">lot.change.standard.price</field>
 
26
            <field name="view_type">form</field>
 
27
            <field name="view_mode">form</field>
 
28
            <field name="view_id" ref="view_change_standard_price"/>
 
29
            <field name="target">new</field>
 
30
        </record>
 
31
 
 
32
    </data>
 
33
</openerp>
 
34