Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] stock_ux: hide column "ordered" in remito #347

Open
wants to merge 1 commit into
base: 15.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stock_ux/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Stock UX',
'version': "15.0.1.2.0",
'version': "15.0.1.3.0",
'category': 'Warehouse Management',
'sequence': 14,
'summary': '',
Expand Down
8 changes: 7 additions & 1 deletion stock_ux/views/report_deliveryslip.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@
</p>
</td>
</xpath>

<!-- Filtramos los stock_move en estado cancelado porque nosotros habilitamos la cancelacion de los mismos,
esto desde el lado de Odoo no se puede lograr -->
<xpath expr="//t[@t-set='lines']" position="after">
<t t-set="lines" t-value="o.move_lines.filtered(lambda x: x.product_uom_qty and x.state != 'cancel')"/>
</xpath>

<xpath expr="//th[@name='th_sml_qty_ordered']" position="replace"/>
</template>

<template id="stock_report_delivery_aggregated_move_lines" inherit_id="stock.stock_report_delivery_aggregated_move_lines">
<xpath expr="//td[@name='move_line_aggregated_qty_ordered']" position="replace"/>
</template>

<template id="stock_report_delivery_has_serial_move_line" inherit_id="stock.stock_report_delivery_has_serial_move_line">
Expand Down