update print buttons
This commit is contained in:
parent
8f079d4f65
commit
d0bde61593
4
sale.py
4
sale.py
@ -49,7 +49,7 @@ class Sale(metaclass=PoolMeta):
|
|||||||
url = "http://localhost:5000/order_kitchen"
|
url = "http://localhost:5000/order_kitchen"
|
||||||
response = requests.post(url, data=json.dumps(content), headers=headers)
|
response = requests.post(url, data=json.dumps(content), headers=headers)
|
||||||
|
|
||||||
return response.status_code
|
#return response.status_code
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@ModelView.button
|
@ModelView.button
|
||||||
@ -64,7 +64,7 @@ class Sale(metaclass=PoolMeta):
|
|||||||
url = "http://localhost:5000/order_bar"
|
url = "http://localhost:5000/order_bar"
|
||||||
response = requests.post(url, data=json.dumps(content), headers=headers)
|
response = requests.post(url, data=json.dumps(content), headers=headers)
|
||||||
|
|
||||||
return response.status_code
|
#return response.status_code
|
||||||
|
|
||||||
|
|
||||||
class Line(metaclass=PoolMeta):
|
class Line(metaclass=PoolMeta):
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||||
this repository contains the full copyright notices and license terms. -->
|
this repository contains the full copyright notices and license terms. -->
|
||||||
<data>
|
<data>
|
||||||
<xpath expr="//field[@name='reference']" position="after">
|
<xpath expr="//field[@name='reference']" position="after">
|
||||||
<newline/>
|
<newline/>
|
||||||
|
Loading…
Reference in New Issue
Block a user