Add field Tip

This commit is contained in:
2023-07-19 02:04:57 +00:00
parent d0bde61593
commit a118d64c71
4 changed files with 9 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ class Sale(metaclass=PoolMeta):
Report = pool.get('sale.customer_order', type='report')
context = Transaction().context
customer_order = Report.execute(records, context)
raise UserError(str(customer_order))
content = {'content': customer_order[1].decode('utf-8')}
headers = {"accept": 'application/json', 'Content-Type': 'application/json'}
url = "http://localhost:5000/order_kitchen"