dont run duplicate set status on submit
This commit is contained in:
parent
d260602cae
commit
ba4456b42b
@ -48,6 +48,7 @@ class PurchaseReceipt(BuyingController):
|
||||
def validate(self):
|
||||
super(PurchaseReceipt, self).validate()
|
||||
|
||||
if not self._action=="submit":
|
||||
self.set_status()
|
||||
self.po_required()
|
||||
self.validate_with_previous_doc()
|
||||
|
Loading…
Reference in New Issue
Block a user