I got this error in recording purchase invoices (journal id 3) after recording manual opening entries with journal id 9. When validating purchase invoice there is a mismatch between line journal id (9) and move journal id (3). There was no problem in recording purchase invoices before the manuals entries on journal id 9 which seems to be good validated. >From where does this journal id 9 come from ? In function create (account-move) the vals contains the good journal id (3) but the constraints fails.
-- You received this bug notification because you are a member of OpenERP Framework Experts, which is subscribed to OpenERP Addons. https://bugs.launchpad.net/bugs/777640 Title: journal_id and period_id in account.move.line should be 'related' fields, and hidden in most cases Status in OpenERP Addons (modules): Fix Released Status in Ubuntu: Invalid Bug description: Journal_id and Period_Id are repeatedly defined in Account.move and account.move.line which is not reasonable as long as I can not create different lines with different journals per move _constraints = [ (_check_centralisation, 'You cannot create more than one move per period on centralized journal', ['journal_id']), (_check_period_journal, 'You cannot create entries on different periods/journals in the same move', ['line_id']), ] Having said that, IMHO I do not see that need for redundancy in account.move.line as long as it is already defined in account.move. Furthermore, it is really and noticeably from past experience confuse the end user while doing data entry and decreasing the UX. To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/777640/+subscriptions -- Mailing list: https://launchpad.net/~credativ Post to : [email protected] Unsubscribe : https://launchpad.net/~credativ More help : https://help.launchpad.net/ListHelp

