Ajuste en las herramientas
This commit is contained in:
parent
706f3b0bd4
commit
fe33cf11b0
@ -6,7 +6,7 @@ import requests
|
||||
|
||||
|
||||
# url = "http://live.dev:8000"
|
||||
url = "http://10.1.131.41:8000"
|
||||
url = "http://10.1.156.147:8000"
|
||||
key = "9a9ffc430146447d81e6698240199a4be2b0e774cb18474999d0f60e33b5b1eb1cfff9d9141346a98844879b5a9e787489c891ddc8fb45cc903b7244cab64fb1"
|
||||
db = "tryton"
|
||||
application_name = "sale_don_confiao"
|
||||
|
@ -4,7 +4,7 @@ import requests
|
||||
import json
|
||||
|
||||
# url = "http://live.dev:8000"
|
||||
url = "http://10.1.131.41:8000"
|
||||
url = "http://10.1.156.147:8000"
|
||||
key = "9a9ffc430146447d81e6698240199a4be2b0e774cb18474999d0f60e33b5b1eb1cfff9d9141346a98844879b5a9e787489c891ddc8fb45cc903b7244cab64fb1"
|
||||
db = "tryton"
|
||||
application_name = "sale_don_confiao"
|
||||
@ -32,7 +32,7 @@ def create_party(
|
||||
"""
|
||||
|
||||
# url = "http://live.dev:8000"
|
||||
url = "http://10.1.131.41:8000"
|
||||
url = "http://10.1.156.147:8000"
|
||||
key = "9a9ffc430146447d81e6698240199a4be2b0e774cb18474999d0f60e33b5b1eb1cfff9d9141346a98844879b5a9e787489c891ddc8fb45cc903b7244cab64fb1"
|
||||
db = "tryton"
|
||||
application_name = "sale_don_confiao"
|
||||
@ -133,6 +133,7 @@ def search_sale_order(order_id: int):
|
||||
|
||||
return response_sale
|
||||
|
||||
|
||||
@tool
|
||||
def add_lines_to_order(
|
||||
order_id: int, product: str, unit: str, quantity: str, unitprice: str
|
||||
|
Loading…
Reference in New Issue
Block a user