[stock_landed_costs] button_validate method should not create a Journal Entry as long as there are no entry lines
Bug #1312910 reported by
hbto [Vauxoo] http://www.vauxoo.com
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
[stock_
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.
Related branches
To post a comment you must log in.