update print buttons

This commit is contained in:
root 2023-07-11 19:37:12 +00:00
parent 8f079d4f65
commit d0bde61593
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ class Sale(metaclass=PoolMeta):
url = "http://localhost:5000/order_kitchen"
response = requests.post(url, data=json.dumps(content), headers=headers)
return response.status_code
#return response.status_code
@classmethod
@ModelView.button
@ -64,7 +64,7 @@ class Sale(metaclass=PoolMeta):
url = "http://localhost:5000/order_bar"
response = requests.post(url, data=json.dumps(content), headers=headers)
return response.status_code
#return response.status_code
class Line(metaclass=PoolMeta):

View File

@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!-- 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>
<xpath expr="//field[@name='reference']" position="after">
<newline/>