This commit is contained in:
Oscar 2021-11-25 21:10:16 -05:00
parent 35507aae18
commit 31b232d879
4 changed files with 3 additions and 2 deletions

1
.~lock.folio.fodt# Normal file
View File

@ -0,0 +1 @@
,psk,Tech,25.11.2021 20:56,file:///home/psk/.config/libreoffice/4;

View File

@ -0,0 +1 @@
,psk,Tech,25.11.2021 20:47,file:///home/psk/.config/libreoffice/4;

1
.~lock.service.fods# Normal file
View File

@ -0,0 +1 @@
,psk,Tech,25.11.2021 20:57,file:///home/psk/.config/libreoffice/4;

View File

@ -456,7 +456,6 @@ class Booking(Workflow, ModelSQL, ModelView):
new_line = {
'type': 'line',
'invoice': invoice.id,
'operation_center': 1,
'unit': product.template.default_uom.id,
'account': product.template.account_category.account_revenue_used.id,
'invoice_type': 'out',
@ -527,7 +526,6 @@ class Booking(Workflow, ModelSQL, ModelView):
'invoice': invoice.id,
'type': 'line',
'unit': product.template.default_uom.id,
# 'operation_center': 1,
'quantity': rec['guests_qty'],
'unit_price': product.template.list_price,
'product': product.id,