We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
immediate_transfer
1 parent 0e54d3d commit 64f00fdCopy full SHA for 64f00fd
addons/mrp/models/stock_picking.py
@@ -46,7 +46,10 @@ def _get_mo_count(self):
46
remaining.count_mo_late = False
47
48
def get_mrp_stock_picking_action_picking_type(self):
49
- return self._get_action('mrp.mrp_production_action_picking_deshboard')
+ action = self.env.ref('mrp.mrp_production_action_picking_deshboard').read()[0]
50
+ if self:
51
+ action['display_name'] = self.display_name
52
+ return action
53
54
class StockPicking(models.Model):
55
_inherit = 'stock.picking'
0 commit comments