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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version='1.0' encoding='UTF-8'?>
<openerp>
    <data>

    <!--
    =====================================================
    Account Move Extension
    =====================================================
    -->

        <record id="view_move_form_update_period" model="ir.ui.view">
            <field name="name">account.move.form.update.period</field>
            <field name="model">account.move</field>
            <field name="inherit_id" ref="account.view_move_form"/>
            <field name="arch" type="xml">
                <xpath expr="//field[@name='journal_id']" position="after">
                    <button name="action_update_period" states="draft" string="Update Period" type="object"/>
                </xpath>
            </field>
        </record>


    </data>
</openerp>