Skip to content

Commit

Permalink
[FIX] Allow correct inheritance of oca modules
Browse files Browse the repository at this point in the history
  • Loading branch information
valentincastravete committed Aug 7, 2024
1 parent 468ab24 commit 45fe76a
Showing 1 changed file with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,17 @@
</xpath>

<xpath expr="//td[span[@t-field='l.quantity']]" position="replace">
<td class="text-right">
<t t-if="l.uom_id.factor_inv > 1">
<t t-set="qty" t-value="l.quantity*l.uom_id.factor_inv"/>
<t t-if="l.uom_id.factor_inv > 1">
<t t-set="qty" t-value="l.quantity*l.uom_id.factor_inv"/>
<td class="text-right">
<span><t t-esc="qty"/></span>
</t>
<t t-else="">
<span t-esc="l.quantity"/>
</t>
</td>
</td>
</t>
<t t-else="">
<td class="text-right">
<span t-field="l.quantity"/>
</td>
</t>
</xpath>

<xpath expr="//td[span[@t-field='l.price_unit']]" position="replace">
Expand Down

0 comments on commit 45fe76a

Please sign in to comment.