Fix bug when editing truck dump child batch row quantities
sometimes we need to "add" to an existing claim which has qty None
This commit is contained in:
parent
c5fef6b954
commit
5b2f4127ea
2 changed files with 7 additions and 1 deletions
|
@ -662,6 +662,9 @@ class PurchasingBatchView(BatchMasterView):
|
|||
f.set_type('invoice_unit_cost', 'currency')
|
||||
f.set_type('invoice_total', 'currency')
|
||||
|
||||
# upc
|
||||
f.set_type('upc', 'gpc')
|
||||
|
||||
if self.creating:
|
||||
f.remove_fields(
|
||||
'upc',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue