Skip to content

Commit aa3c5c8

Browse files
committed
[FIX]stock_ux:hide return button
closes #862 X-original-commit: 9e1b187 Signed-off-by: Matias Velazquez <mav@adhoc.com.ar>
1 parent 7ae62fa commit aa3c5c8

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

stock_ux/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
##############################################################################
2020
{
2121
"name": "Stock UX",
22-
"version": "19.0.1.2.0",
22+
"version": "19.0.1.3.0",
2323
"category": "Warehouse Management",
2424
"sequence": 14,
2525
"summary": "",

stock_ux/views/stock_picking_views.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
<page name="note" position="attributes">
4444
<attribute name="invisible">1</attribute>
4545
</page>
46+
<xpath expr="//button[@name='%(stock.act_stock_return_picking)d']" position="attributes">
47+
<attribute name="invisible">state != 'done'</attribute>
48+
</xpath>
4649
</field>
4750
</record>
4851

0 commit comments

Comments
 (0)