[FIX] account_easy_reconcile: remove _auto = True, bug has been fixed

This commit is contained in:
Guewen Baconnier
2013-01-03 17:38:23 +01:00
committed by mpanarin
parent 461a41082e
commit af37611b65
4 changed files with 2 additions and 10 deletions

View File

@@ -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,

View File

@@ -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>

View File

@@ -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>

View File

@@ -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