Refactor purchasing batch views to use master3

This commit is contained in:
Lance Edgar 2018-01-27 11:59:52 -06:00
parent d20601c359
commit eac59ba5c8
6 changed files with 233 additions and 154 deletions

View file

@ -86,6 +86,12 @@ class OrderingBatchView(PurchasingBatchView):
def batch_mode(self):
return self.enum.PURCHASE_BATCH_MODE_ORDERING
def configure_form(self, f):
super(OrderingBatchView, self).configure_form(f)
# purchase
f.remove_field('purchase')
def order_form(self):
"""
View for editing batch row data as an order form.