-
Hi there guys. I remember there was a way to do this but I can't remember where I saw it... The point is I have a So, how to get the position of the Particularly, I want to find this |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Ha! Found it! Well, for the sake of the next one coming to this (including my future self), this was the solution: <template id="report_delivery_document" inherit_id="stock.report_delivery_document">
<xpath expr="//table[@name='stock_move_table']/tbody//td[
1 + count(
//table[@name='stock_move_table']
//th[@name='th_sm_ordered']
/preceding-sibling::*
)
]" position="inside">
<!-- Yay! 🎉 -->
</xpath>
</template> Inspiration: https://stackoverflow.com/a/227080/1468388 |
Beta Was this translation helpful? Give feedback.
Ha! Found it!
Well, for the sake of the next one coming to this (including my future self), this was the solution:
Inspiration: https://stackoverflow.com/a/227080/1468388