Compare commits
2 Commits
706f3b0bd4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 01fe395579 | |||
|
|
fe33cf11b0 |
5
Rakefile
5
Rakefile
@@ -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')
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user