~camptocamp/openerp-swiss-localization/better-description-jge

« back to all changes in this revision

Viewing changes to l10n_ch_dta/bank_view.xml

  • Committer: Vincent Renaville
  • Author(s): nicolas.bessi at camptocamp
  • Date: 2013-07-08 14:51:57 UTC
  • mfrom: (175.3.4 add_related_ccp_account)
  • Revision ID: vincent.renaville@camptocamp.com-20130708145157-9j2rx1auck47nxzu
Tags: V7.1
[FIX] Change addons with new release 7.1
  *) Add ccp account on res_bank but keep retro compatibility with old model.
     If no ccp is set on bank old behavior is kept
     Be aware if you have customize bvr.mako you have to replace acc_number by get_account_number()
  *) Add constraint to avoid wrong entries
  *) Disable invoice reference overwrite
  *) Better bank views
  *) Validating an account invoice does not overwrite invoice reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
      <field name="inherit_id" ref="base.view_partner_bank_form"/>
8
8
      <field name="arch" type="xml">
9
9
        <group name="bank" position="after">
10
 
          <group string="DTA options" attrs="{'invisible': ['|', ('company_id', '=', False), ('state','in',['bv','bvr'])]}">
 
10
          <group string="DTA options" attrs="{'invisible': [('company_id', '=', False)]}">
11
11
            <field name="dta_code"/>
12
12
          </group>
13
13
        </group>
14
14
      </field>
15
15
    </record>
16
16
  </data>
17
 
</openerp>
 
 
b'\\ No newline at end of file'
 
17
</openerp>