Reviewers: , Description: stock: Unit price should also be required for move to supplier
Please review this at http://codereview.tryton.org/791002/ Affected files: M move.py Index: move.py =================================================================== --- a/move.py +++ b/move.py @@ -295,6 +295,10 @@ if (self.to_location and self.to_location.type == 'customer'): return True + if (self.from_location and self.to_location + and self.from_location.type == 'storage' + and self.to_location.type == 'supplier'): + return True return False @staticmethod
