mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[MRG] from upstream
(lp:c2c-financial-addons/6.1 rev 24.1.41)
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
<field name="model">account.bank.statement</field>
|
||||
<field name="inherit_id" ref="account_statement_base_completion.bank_statement_view_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">
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -15,12 +15,14 @@
|
||||
</field>
|
||||
</record>
|
||||
<record id="view_account_move_line_filter" model="ir.ui.view">
|
||||
<field name="name">account.move.line.search.add_field</field>
|
||||
<field name="model">account.move.line</field>
|
||||
<field name="type">search</field>
|
||||
<field name="inherit_id" ref="account.view_account_move_line_filter"/>
|
||||
<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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -34,7 +34,7 @@ class AccountStatementCompletionRule(Model):
|
||||
def _get_functions(self, cr, uid, context=None):
|
||||
res = super (AccountStatementCompletionRule, self)._get_functions(
|
||||
cr, uid, context=context)
|
||||
res.append(('get_from_transaction_id_and_so', 'From line reference (based on SO transaction ID'))
|
||||
res.append(('get_from_transaction_id_and_so', 'From line reference (based on SO transaction ID)'))
|
||||
return res
|
||||
|
||||
_columns={
|
||||
|
||||
Reference in New Issue
Block a user