Test
This commit is contained in:
parent
d4db10123a
commit
41bc8b0105
|
@ -647,11 +647,10 @@ class Operation(Workflow, ModelSQL, ModelView):
|
|||
if rec.get('vouchers'):
|
||||
for v in rec['vouchers']:
|
||||
SaleVoucher.create([{
|
||||
'voucher': v.id,
|
||||
'sale': sale.id
|
||||
'voucher': v.id,
|
||||
'sale': sale.id
|
||||
}])
|
||||
|
||||
|
||||
# Add and create default charges lines if exists
|
||||
if rec.get('guests_qty') and rec.get('add_default_charges'):
|
||||
for product in configuration.default_charges:
|
||||
|
|
|
@ -27,7 +27,7 @@ this repository contains the full copyright notices and license terms. -->
|
|||
<label name="taxes_exception"/>
|
||||
<field name="taxes_exception"/>
|
||||
<notebook>
|
||||
<page string="Lines" id="lines">
|
||||
<!-- <page string="Lines" id="lines">
|
||||
<field name="lines" colspan="4"/>
|
||||
</page>
|
||||
<page string="Guests" id="guests">
|
||||
|
@ -58,7 +58,7 @@ this repository contains the full copyright notices and license terms. -->
|
|||
<label name="operation_target"/>
|
||||
<field name="operation_target"/>
|
||||
<field name="transfered_operations" colspan="4"/>
|
||||
</page>
|
||||
</page> -->
|
||||
</notebook>
|
||||
<group col="10" colspan="4" id="buttons">
|
||||
<label name="state"/>
|
||||
|
|
Loading…
Reference in New Issue