openerp-expert-accounting team mailing list archive
-
openerp-expert-accounting team
-
Mailing list archive
-
Message #01370
[Bug 883161] [NEW] account_move_line _update_check wrong condition
You have been subscribed to a public bug by Amit Parik (OpenERP) (amp-openerp):
since 6.0 the if statmente includes
....and (not line.journal_id.entry_posted)
def _update_check(self, cr, uid, ids, context=None):
done = {}
for line in self.browse(cr, uid, ids, context=context):
err_msg = _('Move name (id): ') + line.move_id.name +' ('+ str(line.move_id.id) +')'
if line.move_id.state <> 'draft' and (not line.journal_id.entry_posted):
IMHO update_posted should be checked.
entry_posted is used to control if moves will be directly posted.
may be I miss something
** Affects: openobject-addons
Importance: Undecided
Status: Opinion
--
account_move_line _update_check wrong condition
https://bugs.launchpad.net/bugs/883161
You received this bug notification because you are a member of OpenERP Accounting Experts, which is subscribed to the bug report.