openerp-expert-accounting team mailing list archive
-
openerp-expert-accounting team
-
Mailing list archive
-
Message #00262
[Bug 516751] Re: Entries by Statement - wrong numbering
I do not know
_name = "account.bank.statement"
_defaults = {
'name': lambda self, cr, uid, context=None: \
self.pool.get('ir.sequence').get(cr, uid, 'account.bank.statement'),
def button_confirm(
....
for move in st.line_ids:
....
val = {
'name': move.name,
I think this is (was) taking/increasing the same sequence for
account.move as for statement itself.
I have a patch for statements in my branch.
--
Entries by Statement - wrong numbering
https://bugs.launchpad.net/bugs/516751
You received this bug notification because you are a member of OpenERP's
Accounting Experts, which is a direct subscriber.
Status in OpenObject Addons Modules: New
Bug description:
the name / number depends on the journal selected and shouldn't be generated while creating a new resource.
IMHO could be integrated in the on-update of journal which already fetches the balance of the last journal