Compare commits

...

2 Commits

Author SHA1 Message Date
01fe395579 feat: Add rake task 2025-05-24 15:06:13 -03:00
Mongar28
fe33cf11b0 Ajuste en las herramientas 2025-04-03 16:28:25 -05:00
3 changed files with 9 additions and 3 deletions

View File

@@ -95,6 +95,11 @@ namespace :live do
compose('restart', compose: 'compose.yml')
end
desc 'terminal trytond'
task :sh do
compose('exec', 'live.dev', 'bash')
end
desc 'terminal'
task :sh_agents do
compose('exec', 'agents.dev', 'bash')

View File

@@ -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"

View File

@@ -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