~hr-core-editors/hr-timesheet/7.0-git

« back to all changes in this revision

Viewing changes to hr_timesheet_sheet_import_accounts/view/hr_timesheet_sheet_view.xml

  • Committer: Pedro M. Baeza
  • Author(s): Jordi Ballester Alomar
  • Date: 2016-10-14 12:46:47 UTC
  • Revision ID: git-v1:34be4c4484a7155eb0d6f9c27bef1a4e5c655d1c
[ADD] Module 'hr_timesheet_sheet_import_accounts' (#20)

[ADD] Module 'hr_timesheet_sheet_import_accounts'

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="hr_timesheet_sheet_lwa_form" model="ir.ui.view">
 
5
            <field name="name">hr.timesheet.sheet.form</field>
 
6
            <field name="model">hr_timesheet_sheet.sheet</field>
 
7
            <field name="inherit_id" ref="hr_timesheet_sheet.hr_timesheet_sheet_form"/>
 
8
            <field name="arch" type="xml">
 
9
                <xpath expr='//button[@name="cancel"]' position="after">
 
10
                    <button name="set_previous_timesheet_ids" states="new,draft" string="Import accounts from previous Timehseet" type="object" class="oe_highlight"/>
 
11
                </xpath>
 
12
            </field>
 
13
        </record>
 
14
    </data>
 
15
</openerp>