Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
14
sell_only_by_packaging/tests/common.py
Executable file
14
sell_only_by_packaging/tests/common.py
Executable file
@@ -0,0 +1,14 @@
|
||||
# Copyright 2020 Camptocamp SA
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||
|
||||
from odoo.addons.product_packaging_level_salable.tests.common import Common
|
||||
|
||||
TU_PRODUCT_QTY = 20
|
||||
PL_PRODUCT_QTY = TU_PRODUCT_QTY * 30
|
||||
|
||||
|
||||
class SellOnlyByPackagingCommon(Common):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
cls.env.user.groups_id += cls.env.ref("product.group_stock_packaging")
|
||||
Reference in New Issue
Block a user