~gdgellatly/openobject-addons/o4sb_public_addons

« back to all changes in this revision

Viewing changes to purchase_pricelist_recalculation/wizard/wizard_purchase_pricelist_recalculation.xml

  • Committer: gdgellatly
  • Date: 2011-12-20 23:55:35 UTC
  • Revision ID: gdgellatly-20111220235535-5zes0twgq2jg05l5
[NEW] Module purchase_pricelist_recalculation port of sale_pricelist_recalculation

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
 
 
5
        <record model="ir.ui.view" id="view_purchase_inherited">
 
6
            <field name="name">Purchase Pricelist Recalculation</field>
 
7
            <field name="model">purchase.extended.wizard</field>
 
8
            <field name="type">form</field>
 
9
            <field name="arch" type="xml">
 
10
            <form string="Price Change">
 
11
                <field name="pricelist_id" />
 
12
                <group col="2" colspan="4" >
 
13
                    <button icon="gtk-cancel" special="cancel" string="Close"/>
 
14
                    <button name="change_pricelist_products" string="Change" type="object" icon="gtk-ok"/>
 
15
                </group>
 
16
            </form>
 
17
            </field>
 
18
        </record>
 
19
 
 
20
<!--        <record id="action_sale_extended" model="ir.actions.act_window">-->
 
21
<!--            <field name="name">Price List</field>-->
 
22
<!--            <field name="type">ir.actions.act_window</field>-->
 
23
<!--            <field name="res_model">sale.extended.wizard</field>-->
 
24
<!--            <field name="view_mode">form</field>-->
 
25
<!--            <field name="view_id" ref="view_sale_inherited"/> -->
 
26
<!--            </record>-->
 
27
 
 
28
    <act_window
 
29
            id="purchase_pricelist_act_window"
 
30
            name="Change Pricelist"
 
31
            view_mode="form"
 
32
            view_type="form"
 
33
            res_model="purchase.extended.wizard"
 
34
            src_model="purchase.order"
 
35
            target="new"        />
 
36
 
 
37
    </data>
 
38
</openerp>