Do not validate Material Request against Sales Order, Moved Setup page to Framework

This commit is contained in:
Anand Doshi
2014-02-10 17:39:12 +05:30
parent 1d7e933590
commit d7cc47e3ac
7 changed files with 10 additions and 344 deletions

View File

@@ -75,8 +75,10 @@ class DocType(BuyingController):
pc_obj = get_obj(dt='Purchase Common')
pc_obj.validate_for_items(self)
self.validate_qty_against_so()
# self.validate_qty_against_so()
# NOTE: Since Item BOM and FG quantities are combined, using current data, it cannot be validated
# Though the creation of Material Request from a Production Plan can be rethought to fix this
def update_bin(self, is_submit, is_stopped):
""" Update Quantity Requested for Purchase in Bin for Material Request of type 'Purchase'"""