diff --git a/bees_custom/__manifest__.py b/bees_custom/__manifest__.py index 64b4687e..94ec570e 100644 --- a/bees_custom/__manifest__.py +++ b/bees_custom/__manifest__.py @@ -7,7 +7,7 @@ "depends": [ "point_of_sale", "account_invoice_date_required", - "beesdoo_product_info_screen", + "product_info_screen", "pos_mail_receipt", ], "author": "Coop IT Easy SC", diff --git a/bees_custom/views/products.xml b/bees_custom/views/products.xml index a429ab05..8e28c9fc 100644 --- a/bees_custom/views/products.xml +++ b/bees_custom/views/products.xml @@ -9,7 +9,7 @@ product.template @@ -33,7 +33,7 @@ product.template diff --git a/bees_custom/wizard/label_printing_utils.py b/bees_custom/wizard/label_printing_utils.py index 368537a6..46c74941 100644 --- a/bees_custom/wizard/label_printing_utils.py +++ b/bees_custom/wizard/label_printing_utils.py @@ -8,9 +8,7 @@ class RequestLabelPrintingWizard(models.TransientModel): @api.multi def request_printing(self): self.ensure_one() - if not self.env.user.has_group( - "beesdoo_product_info_screen.group_product_info_user" - ): + if not self.env.user.has_group("product_info_screen.group_product_info_user"): super().request_printing() else: self.product_ids.sudo().write({"label_to_be_printed": True}) @@ -18,9 +16,7 @@ def request_printing(self): @api.multi def set_as_printed(self): self.ensure_one() - if not self.env.user.has_group( - "beesdoo_product_info_screen.group_product_info_user" - ): + if not self.env.user.has_group("product_info_screen.group_product_info_user"): super().set_as_printed() else: self.product_ids.sudo().write(