[IMP] noupdate = 1 on data.xml for rules definition sequence.

[IMP] Add the ref in search criteria
(lp:c2c-financial-addons/6.1 rev 67)
This commit is contained in:
Joël Grand-Guillaume
2012-06-26 11:21:35 +02:00
parent 00cd824d35
commit 63faba7eb8
5 changed files with 5 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<data noupdate="1">
<record id="bank_statement_completion_rule_2" model="account.statement.completion.rule">
<field name="name">Match from line label (based on partner field 'Bank Statement Label')</field>

View File

@@ -29,6 +29,7 @@
<field name="model">account.bank.statement</field>
<field name="inherit_id" ref="account.view_bank_statement_form" />
<field name="type">form</field>
<field eval="20" name="priority"/>
<field name="arch" type="xml">
<data>
<xpath expr="/form/notebook/page/field[@name='line_ids']/form/field[@name='label']" position="after">

View File

@@ -97,7 +97,7 @@ class AccountBankSatement(Model):
_columns = {
'profile_id': fields.many2one('account.statement.profil',
'Profil', required=True, states={'draft': [('readonly', False)]}),
'Profil', required=True, readonly=True, states={'draft': [('readonly', False)]}),
'credit_partner_id': fields.related(
'profile_id',
'partner_id',

View File

@@ -21,6 +21,7 @@
<field name="arch" type="xml">
<field name="period_id" context="{'period_id':self}" position="after">
<field name="statement_id"/>
<field name="ref"/>
</field>
</field>
</record>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<data noupdate="1">
<record id="bank_statement_completion_rule_4" model="account.statement.completion.rule">
<field name="name">Match from line reference (based on transaction ID)</field>