[FIX] TypeError: unhashable type: 'list'

This commit is contained in:
Bhavesh Odedra
2018-07-19 20:08:43 +05:30
committed by ahenriquez
parent 82cb12c2e1
commit f45ccd1688
3 changed files with 29 additions and 26 deletions

View File

@@ -187,7 +187,7 @@ class RmaMakePicking(models.TransientModel):
@api.model
def _get_action(self, pickings, procurements):
if pickings:
if pickings and procurements:
action = procurements.do_view_pickings()
else:
action = self.env.ref(