Skip to content

Commit

Permalink
[FIX] purchase_stock_ux: rename context keys
Browse files Browse the repository at this point in the history
This is to avoid context errors in other odoo actions.

closes #139

Related: ingadhoc/stock#326
Related: ingadhoc/sale#534
Signed-off-by: Nicolas Mac Rouillon <nmr@adhoc.com.ar>
  • Loading branch information
bruno-zanotti committed May 19, 2022
1 parent b2593a2 commit 015d06b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion purchase_stock_ux/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Purchase Stock UX',
'version': '13.0.1.3.0',
'version': '13.0.1.4.0',
'category': 'Purchases',
'sequence': 14,
'summary': '',
Expand Down
2 changes: 1 addition & 1 deletion purchase_stock_ux/views/stock_move_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
string="Purchase Order"
type="object"
groups="purchase.group_purchase_user"
context="{'res_id': purchase_id, 'action_ref': 'purchase.purchase_form_action', 'form_view_ref': 'purchase.purchase_order_form'}"
context="{'res_id': purchase_id, 'action': 'purchase.purchase_form_action', 'form_view': 'purchase.purchase_order_form'}"
attrs="{'invisible': [('purchase_id', '=', False)]}"
>
</button>
Expand Down

0 comments on commit 015d06b

Please sign in to comment.