-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
matthieu.saison
committed
Sep 18, 2023
1 parent
47dcb85
commit 801f744
Showing
13 changed files
with
70 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,13 @@ | |
# Copyright 2020 Camptocamp SA (http://www.camptocamp.com) | ||
# Simone Orsi <[email protected]> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
from odoo.addons.shopinvader_product_binding.tests.common import ProductUtilsMixin | ||
from odoo.addons.shopinvader_restapi.tests.common import UtilsMixin | ||
|
||
from .common import StockCommonCase | ||
|
||
|
||
class TestProductProduct(StockCommonCase, UtilsMixin): | ||
class TestProductProduct(StockCommonCase, UtilsMixin, ProductUtilsMixin): | ||
"""Tests for product stock info.""" | ||
|
||
def _expectect_qty_by_wh(self, warehouse_recs, prod): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,12 @@ | |
# Simone Orsi <[email protected]> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
from odoo.addons.shopinvader_product_binding.tests.common import ProductUtilsMixin | ||
from odoo.addons.shopinvader_restapi.tests.common import CommonCase | ||
from odoo.addons.shopinvader_restapi.tests.test_cart_item import ItemCaseMixin | ||
|
||
|
||
class ConnectedItemCase(ItemCaseMixin, CommonCase): | ||
class ConnectedItemCase(ItemCaseMixin, CommonCase, ProductUtilsMixin): | ||
@classmethod | ||
def setUpClass(cls): | ||
super().setUpClass() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,11 @@ | |
# Simone Orsi <[email protected]> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
from odoo.addons.shopinvader_product_binding.tests.common import ProductUtilsMixin | ||
from odoo.addons.shopinvader_restapi.tests.common import CommonCase | ||
|
||
|
||
class TestSaleOrderPackaging(CommonCase): | ||
class TestSaleOrderPackaging(CommonCase, ProductUtilsMixin): | ||
@classmethod | ||
def setUpClass(cls): | ||
super().setUpClass() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,11 @@ | |
# @author Simone Orsi <[email protected]> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from odoo.addons.shopinvader_product_binding.tests.common import ProductUtilsMixin | ||
from odoo.addons.shopinvader_wishlist.tests.test_wishlist import CommonWishlistCase | ||
|
||
|
||
class WishlistCase(CommonWishlistCase): | ||
class WishlistCase(CommonWishlistCase, ProductUtilsMixin): | ||
@classmethod | ||
def setUpClass(cls): | ||
super().setUpClass() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters