Add field Tip
This commit is contained in:
2
sale.py
2
sale.py
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user