Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
502f57a1 by Cédric Krier at 2023-07-25T11:02:09+02:00
Call the same search method in super call when extending for components

Closes #12434
- - - - -


2 changed files:

- modules/product_kit/purchase.py
- modules/product_kit/sale.py


Changes:

=====================================
modules/product_kit/purchase.py
=====================================
@@ -41,7 +41,7 @@
     @classmethod
     @search_shipments_returns('stock.shipment.in.return')
     def search_shipment_returns(cls, name, clause):
-        return super().search_shipments(name, clause)
+        return super().search_shipment_returns(name, clause)
 
     @get_moves
     def get_moves(self, name):


=====================================
modules/product_kit/sale.py
=====================================
@@ -41,7 +41,7 @@
     @classmethod
     @search_shipments_returns('stock.shipment.out.return')
     def search_shipment_returns(cls, name, clause):
-        return super().search_shipments(name, clause)
+        return super().search_shipment_returns(name, clause)
 
     @get_moves
     def get_moves(self, name):



View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/502f57a1d2929ff336c6acbd5a6c3d4628f4d689

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/502f57a1d2929ff336c6acbd5a6c3d4628f4d689
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to