mirror of
https://github.com/bcomsugi/dasaproject.git
synced 2026-01-11 07:42:38 +07:00
bugfix: diferent page with diferent column len
This commit is contained in:
parent
dfda2dcfd6
commit
7325a7ab5f
@ -409,11 +409,7 @@ class SalesOrderQuery:
|
|||||||
if 'Sales' in ItemFullName and 'Disc' in ItemFullName:
|
if 'Sales' in ItemFullName and 'Disc' in ItemFullName:
|
||||||
continue #skip this sales discount line
|
continue #skip this sales discount line
|
||||||
Quantity = SalesOrderLineRet.find('Quantity').text
|
Quantity = SalesOrderLineRet.find('Quantity').text
|
||||||
UnitOfMeasure = SalesOrderLineRet.find('UnitOfMeasure')
|
UnitOfMeasure = SalesOrderLineRet.find('UnitOfMeasure').text
|
||||||
if UnitOfMeasure is None:
|
|
||||||
print("No UOM")
|
|
||||||
else:
|
|
||||||
UnitOfMeasure = UnitOfMeasure.text
|
|
||||||
|
|
||||||
### modified if UOM has ConvertQTY: '_' or ' of '-> in OverrideUOMSetRef
|
### modified if UOM has ConvertQTY: '_' or ' of '-> in OverrideUOMSetRef
|
||||||
if '_' in UnitOfMeasure:
|
if '_' in UnitOfMeasure:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user