This commit is contained in:
Oscar 2021-11-25 14:24:02 -05:00
parent 59d002bcfb
commit 35507aae18
2 changed files with 6 additions and 4 deletions

View File

@ -527,7 +527,7 @@ class Booking(Workflow, ModelSQL, ModelView):
'invoice': invoice.id,
'type': 'line',
'unit': product.template.default_uom.id,
'operation_center': 1,
# 'operation_center': 1,
'quantity': rec['guests_qty'],
'unit_price': product.template.list_price,
'product': product.id,

View File

@ -3,11 +3,13 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="number"/>
<field name="party"/>
<field name="contact"/>
<field name="party" expand="1"/>
<field name="contact" expand="1"/>
<field name="booking_date" widget="date"/>
<field name="price_list"/>
<field name="party_seller" expand="1"/>
<field name="media"/>
<field name="total_amount"/>
<field name="total_advance"/>
<field name="state"/>
<field name="state" expand="1"/>
</tree>