[FIX] restore posibility to print agrregated table

adding 'or' condition leads to that that table for
serial moves is always printed
This commit is contained in:
Iryna Vyshnevska
2022-05-31 01:43:03 +03:00
parent 66f566f617
commit f37a24d70c

View File

@@ -26,7 +26,7 @@
</t> </t>
</t> </t>
</xpath> </xpath>
<xpath <!-- <xpath
expr="//t[@t-foreach='packages']//t[@t-if='has_serial_number']" expr="//t[@t-foreach='packages']//t[@t-if='has_serial_number']"
position="attributes" position="attributes"
> >
@@ -55,7 +55,7 @@
add="or (o.valued and o.sale_id and o.move_line_ids)" add="or (o.valued and o.sale_id and o.move_line_ids)"
separator=" " separator=" "
/> />
</xpath> </xpath> -->
<xpath <xpath
expr="//table[@t-if=&quot;o.move_line_ids and o.state==&apos;done&apos;&quot;]" expr="//table[@t-if=&quot;o.move_line_ids and o.state==&apos;done&apos;&quot;]"
position="after" position="after"