openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27710
[Bug 1312910] [NEW] [stock_landed_costs] button_validate method should not create a Journal Entry as long as there are no entry lines
Public bug reported:
[stock_landed_costs]
button_validate method should not create a Journal Entry as long as there are no entry lines
Even it should not return True and write the state to done as there are
no entry lines at all
self.write(cr, uid, cost.id, {'state': 'done', 'account_move_id':
move_id}, context=context)
Best Regards.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1312910
Title:
[stock_landed_costs] button_validate method should not create a
Journal Entry as long as there are no entry lines
Status in OpenERP Addons (modules):
New
Bug description:
[stock_landed_costs]
button_validate method should not create a Journal Entry as long as there are no entry lines
Even it should not return True and write the state to done as there
are no entry lines at all
self.write(cr, uid, cost.id, {'state': 'done', 'account_move_id':
move_id}, context=context)
Best Regards.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1312910/+subscriptions
Follow ups
References