~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to account_mcdb/account_view.xml

  • Committer: jf
  • Date: 2015-02-09 12:53:11 UTC
  • mfrom: (2365.13.20 unifield-wm)
  • Revision ID: jfb@tempo-consulting.fr-20150209125311-dh2m9vx50qjt6dqk
BKLG-4 [IMP] Improvements to international commitments
lp:~unifield-team/unifield-wm/bklg-4

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
                            attrs="{'invisible': ['|', '|', '|', ('is_reallocated', '=', True), ('is_reversal', '=', True), ('journal_type', '=', 'engagement'), ('is_corrigible', '=', False)]}" icon="terp-mail-message-new"/>
104
104
                        <field name="is_reallocated" invisible="1"/>
105
105
                        <field name="last_corrected_id" invisible="1"/>
 
106
                        <field name="is_engi" invisible="1"/>
106
107
                        <button string="Have been reallocated" attrs="{'invisible': [('is_reallocated', '=', False), ('last_corrected_id', '=', False)]}" icon="terp-mail-" colspan="2" name="button_open_analytic_corrections" type="object"/>
107
108
                   </xpath>
108
109
                </data>
296
297
            <field name="type">search</field>
297
298
            <field name="inherit_id" ref="account.view_account_analytic_line_filter"/>
298
299
            <field name="arch" type="xml">
 
300
                <xpath expr="/search/group[1]/filter[@name='others']" position="before">
 
301
                    <filter name="intl_engagements" string="ENGI"
 
302
                            domain="[('imported_commitment', '=', True), ('journal_id.type', '=', 'engagement'), ('journal_id.code', '=', 'ENGI')]"
 
303
                            icon="terp-folder-violet"
 
304
                            help="Analytic Journal Items related to an ENGI journal."
 
305
                            />
 
306
                </xpath>
299
307
                <xpath expr="/search/group[1]/field[@name='date']" position='after'>
300
308
                    <field name="document_date" select="1"/>
301
309
                    <newline/>