mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] account_easy_reconcile: remove _auto = True, bug has been fixed
This commit is contained in:
committed by
mpanarin
parent
461a41082e
commit
af37611b65
@@ -173,7 +173,8 @@ class account_easy_reconcile(orm.Model):
|
||||
'history_ids': fields.one2many(
|
||||
'easy.reconcile.history',
|
||||
'easy_reconcile_id',
|
||||
string='History'),
|
||||
string='History',
|
||||
readonly=True),
|
||||
'last_history':
|
||||
fields.function(
|
||||
_last_history,
|
||||
|
||||
@@ -41,10 +41,8 @@
|
||||
<field name="history_ids" nolabel="1">
|
||||
<tree string="Automatic Easy Reconcile History">
|
||||
<field name="date"/>
|
||||
<field name="reconcile_line_ids"/>
|
||||
<button icon="STOCK_JUMP_TO" name="open_reconcile"
|
||||
string="Go to reconciled items" type="object"/>
|
||||
<field name="partial_line_ids"/>
|
||||
<button icon="STOCK_JUMP_TO" name="open_partial"
|
||||
string="Go to partially reconciled items" type="object"/>
|
||||
</tree>
|
||||
|
||||
@@ -69,12 +69,8 @@
|
||||
<tree string="Automatic Easy Reconcile History">
|
||||
<field name="easy_reconcile_id"/>
|
||||
<field name="date"/>
|
||||
<!-- display the count of lines -->
|
||||
<field name="reconcile_line_ids"/>
|
||||
<button icon="STOCK_JUMP_TO" name="open_reconcile"
|
||||
string="Go to reconciled items" type="object"/>
|
||||
<!-- display the count of lines -->
|
||||
<field name="partial_line_ids"/>
|
||||
<button icon="STOCK_JUMP_TO" name="open_partial"
|
||||
string="Go to partially reconciled items" type="object"/>
|
||||
</tree>
|
||||
|
||||
@@ -94,7 +94,6 @@ class easy_reconcile_simple_name(TransientModel):
|
||||
|
||||
_name = 'easy.reconcile.simple.name'
|
||||
_inherit = 'easy.reconcile.simple'
|
||||
_auto = True # False when inherited from AbstractModel
|
||||
|
||||
# has to be subclassed
|
||||
# field name used as key for matching the move lines
|
||||
@@ -105,7 +104,6 @@ class easy_reconcile_simple_partner(TransientModel):
|
||||
|
||||
_name = 'easy.reconcile.simple.partner'
|
||||
_inherit = 'easy.reconcile.simple'
|
||||
_auto = True # False when inherited from AbstractModel
|
||||
|
||||
# has to be subclassed
|
||||
# field name used as key for matching the move lines
|
||||
@@ -116,7 +114,6 @@ class easy_reconcile_simple_reference(TransientModel):
|
||||
|
||||
_name = 'easy.reconcile.simple.reference'
|
||||
_inherit = 'easy.reconcile.simple'
|
||||
_auto = True # False when inherited from AbstractModel
|
||||
|
||||
# has to be subclassed
|
||||
# field name used as key for matching the move lines
|
||||
|
||||
Reference in New Issue
Block a user