[FIX] printer_zpl2: Do use colspan=2 for the ace widget fields so you can use it

This commit is contained in:
Wolfgang Pichler
2023-12-06 16:03:26 +01:00
committed by Pedro M. Baeza
parent c37c370924
commit 04551cb32f
2 changed files with 3 additions and 1 deletions

View File

@@ -149,6 +149,7 @@
widget="ace"
options="{'mode': 'python'}"
nolabel="1"
colspan="2"
/>
</group>
<notebook colspan="4">
@@ -302,6 +303,7 @@
widget="ace"
options="{'mode': 'python'}"
attrs="{'invisible':[('test_print_mode', '=', False), ('test_labelary_mode', '=', False)]}"
colspan="2"
/>
</group>
</page>

View File

@@ -12,7 +12,7 @@
</group>
</group>
<group string="ZPL2">
<field name="data" widget="ace" nolabel="1" />
<field name="data" widget="ace" nolabel="1" colspan="2" />
</group>
<footer>
<button string="Cancel" class="btn-default" special="cancel" />