Merge pull request #6218 from RobertSchouten/patch-20
fix for duplicate to bill status comment on submit
This commit is contained in:
commit
fa3146b444
@ -47,8 +47,9 @@ class PurchaseReceipt(BuyingController):
|
||||
|
||||
def validate(self):
|
||||
super(PurchaseReceipt, self).validate()
|
||||
|
||||
self.set_status()
|
||||
|
||||
if not self._action=="submit":
|
||||
self.set_status()
|
||||
self.po_required()
|
||||
self.validate_with_previous_doc()
|
||||
self.validate_inspection()
|
||||
|
Loading…
x
Reference in New Issue
Block a user