no message
This commit is contained in:
@@ -13,10 +13,12 @@ if __name__ == "__main__":
|
||||
position = AutoPartPosition(sku="560300054", manufacturer="VST", requested_quantity=1)
|
||||
order.add_position(position)
|
||||
|
||||
provider = AbcpProvider()
|
||||
login = os.getenv('ABCP_LOGIN_SYSTEM')
|
||||
password = os.getenv('ABCP_PASSWORD_SYSTEM')
|
||||
provider = AbcpProvider(login=login, password=password)
|
||||
|
||||
provider.get_stock(order)
|
||||
result = provider.get_stock(position.sku, position.manufacturer)
|
||||
|
||||
print(order.positions[0].stock)
|
||||
|
||||
print(os.getenv('ABCP_LOGIN'))
|
||||
print(os.getenv('ABCP_LOGIN_SYSTEM'))
|
||||
Reference in New Issue
Block a user