Skip to content

Commit

Permalink
Merge PR OCA#557 into 10.0
Browse files Browse the repository at this point in the history
Signed-off-by lreficent
  • Loading branch information
OCA-git-bot committed Sep 13, 2019
2 parents 55ea199 + 416915a commit 0f6d2cb
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
5 changes: 4 additions & 1 deletion stock_picking_line_sequence/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
"Odoo Community Association (OCA)",
'website': 'http://www.camptocamp.com',
'depends': ['stock', 'sale', 'sale_stock'],
'data': ['views/stock_view.xml'],
'data': [
'views/stock_view.xml',
'report/report_deliveryslip.xml',
],
'post_init_hook': 'post_init_hook',
'installable': True,
'auto_install': False,
Expand Down
20 changes: 20 additions & 0 deletions stock_picking_line_sequence/report/report_deliveryslip.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>

<template id="report_delivery_document"
inherit_id="stock.report_delivery_document">
<xpath expr="//table[2]/thead/tr/th[1]" position="before">
<th><strong>Seq.</strong></th>
</xpath>
<xpath expr="//table[2]/tbody/tr/td[1]" position="before">
<td><span t-field="move.sequence2"/></td>
</xpath>
<xpath expr="//table[3]/thead/tr/th[1]" position="before">
<th><strong>Seq.</strong></th>
</xpath>
<xpath expr="//table[3]/tbody/tr/td[1]" position="before">
<td><span t-field="pack_operation.linked_move_operation_ids[0].move_id.sequence2"/></td>
</xpath>
</template>

</odoo>

0 comments on commit 0f6d2cb

Please sign in to comment.