mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[PORT] stock_picking_show_linked: Backport to 13.0
This commit is contained in:
@@ -0,0 +1 @@
|
||||
../../../../stock_picking_show_linked
|
||||
6
setup/stock_picking_show_linked/setup.py
Normal file
6
setup/stock_picking_show_linked/setup.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['setuptools-odoo'],
|
||||
odoo_addon=True,
|
||||
)
|
||||
@@ -7,11 +7,11 @@
|
||||
(in the case of chained routes) through a button
|
||||
in the parent picking view.
|
||||
""",
|
||||
"version": "14.0.1.0.1",
|
||||
"version": "13.0.1.0.1",
|
||||
"author": "ForgeFlow, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/stock-logistics-warehouse",
|
||||
"category": "Warehouse Management",
|
||||
"depends": ["stock",],
|
||||
"depends": ["stock"],
|
||||
"data": ["views/stock_picking.xml"],
|
||||
"license": "AGPL-3",
|
||||
"installable": True,
|
||||
|
||||
@@ -19,8 +19,8 @@ class StockPicking(models.Model):
|
||||
record.dest_picking_count = len(dest_pickings)
|
||||
|
||||
def _get_action_link(self, pickings):
|
||||
result = self.env["ir.actions.actions"]._for_xml_id(
|
||||
"stock.action_picking_tree_all"
|
||||
result = self.env["ir.actions.act_window"].for_xml_id(
|
||||
"stock", "action_picking_tree_all"
|
||||
)
|
||||
# choose the view_mode accordingly
|
||||
if not pickings or len(pickings) > 1:
|
||||
|
||||
Reference in New Issue
Block a user