[FIX] point_of_sale: iface_print_auto doesn't require a POSBox
Auto-printing works with and without a POSBox. Skipping the print
screen only works with a POSBox.
Was possible in v10, small oversight of
80e89c7a11.
opw-1874390
This commit is contained in:
@@ -391,7 +391,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-md-6 o_setting_box" id="auto_printing" attrs="{'invisible': [('is_posbox', '=', False)]}">
|
||||
<div class="col-xs-12 col-md-6 o_setting_box" id="auto_printing">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="iface_print_auto"/>
|
||||
</div>
|
||||
@@ -400,7 +400,7 @@
|
||||
<div class="text-muted">
|
||||
Print receipts automatically once the payment registered
|
||||
</div>
|
||||
<div class="content-group mt16" attrs="{'invisible' : [('iface_print_auto', '=', False)]}">
|
||||
<div class="content-group mt16" attrs="{'invisible' : ['|', ('iface_print_auto', '=', False), ('is_posbox', '=', False)]}">
|
||||
<div>
|
||||
<field name="iface_print_skip_screen" class="oe_inline"/><span class="oe_inline"><b>Skip Preview Screen</b></span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user