1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?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="type">form</field>
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
<xpath expr="/form/group/field[@name='journal_id']" position="after">
<button name="action_update_period" states="draft" string="Update Period" type="object"/>
</xpath>
</field>
</record>
</data>
</openerp>
|