~therp-nl/therp-addons/7.0_lp1219418

« back to all changes in this revision

Viewing changes to account_report_alt/wizard/account_report_profit_loss_view.xml

  • Committer: Ronald Portier
  • Date: 2014-03-28 13:12:43 UTC
  • mfrom: (81.5.17 therp-addons-7.0)
  • Revision ID: ronald@therp.nl-20140328131243-d06yj7u2o9fhshrw
[MERGE] Merge upstream changes
    - resolve text conflict in fetchmail_invoice.

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 id="account_pl_report_view" model="ir.ui.view">
6
 
            <field name="name">Profit and Loss</field>
7
 
            <field name="model">account.pl.report</field>
8
 
            <field name="type">form</field>
9
 
            <field name="inherit_id" ref="account_report_alt.account_common_report_view" />
10
 
            <field name="arch" type="xml">
11
 
            <data>
12
 
            <xpath expr="//field[@name='target_move']" position="replace">
13
 
                <field name="target_move" required="0" readonly="1"/>
14
 
            </xpath>
15
 
            <xpath expr="//field[@name='journal_ids']" position="replace">
16
 
                <field name="journal_ids" required="0" colspan="4" nolabel="1" readonly="1"/>
17
 
            </xpath>
18
 
            <xpath expr="/form/label[@string='']" position="replace">
19
 
                <separator string="Profit And Loss" colspan="4"/>
20
 
                <label nolabel="1" colspan="4" string="The Profit and Loss report gives you an overview of your company profit and loss in a single document"/>
21
 
            </xpath>
22
 
            <xpath expr="//field[@name='fiscalyear_id']" position="after">
23
 
                   <field name="display_account"/>
24
 
                   <field name="display_type"/>
25
 
            </xpath>
26
 
            </data>
27
 
            </field>
28
 
        </record>
29
 
 
30
 
         <record id="action_account_pl_report" model="ir.actions.act_window">
31
 
             <field name="name">Account Profit And Loss</field>
32
 
             <field name="res_model">account.pl.report</field>
33
 
             <field name="type">ir.actions.act_window</field>
34
 
             <field name="view_type">form</field>
35
 
             <field name="view_mode">form</field>
36
 
             <field name="view_id" ref="account_pl_report_view"/>
37
 
             <field name="target">new</field>
38
 
       </record>
39
 
 
40
 
        <menuitem icon="STOCK_PRINT"
41
 
                name="Profit And Loss"
42
 
                action="action_account_pl_report"
43
 
                id="menu_account_pl_report"
44
 
                parent="final_accounting_reports"/>
45
 
 
46
 
    </data>
47
 
</openerp>