summaryrefslogtreecommitdiff
path: root/addons/hw_drivers/drivers/DisplayDriver.py
diff options
context:
space:
mode:
authorSwapnesh Shah <swapneshshah111@gmail.com>2020-03-16 18:11:15 +0000
committerNicolas Martinelli <nim@odoo.com>2020-05-15 09:14:06 +0000
commitbea1613f11e1def53bc3c558f82b8edc4633091a (patch)
treeebf597da2ab014963648faaaf7dbb77070d1d98c /addons/hw_drivers/drivers/DisplayDriver.py
parent0cc6a76891d022cf44ba1117799fa0165663d4e8 (diff)
[FIX] stock,stock_account: fix undefined variable and return True
Fixes #29694 Close #47204 Fix #37554 Before this commit, There was Traceback on calling this method w/o any inventories as variable `res` was not declared but Returned or Calling this methord over RPC will raise TypeError as this method does not returns amything. In this commit, We return True at original `post_inventory` method and Declare `res` to prevent undefined variable. closes odoo/odoo#51320 X-original-commit: cfb2f00ae2fcbe33184d76383e3b624700101a75 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/hw_drivers/drivers/DisplayDriver.py')
0 files changed, 0 insertions, 0 deletions