From c5f85592f7e1c84c8f7968381ac5cc7daef381e5 Mon Sep 17 00:00:00 2001 From: wilsongomez Date: Fri, 25 Feb 2022 08:23:09 -0500 Subject: [PATCH] minor fix --- __init__.py | 4 ++-- sale.py | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/__init__.py b/__init__.py index b318563..36de3e3 100644 --- a/__init__.py +++ b/__init__.py @@ -12,8 +12,8 @@ def register(): company.ConnectionCompanies, sale.Sale, sale.SaleIncomeDailyStart, - sale.SaleMonthByShopStart, - sale.SaleGoalAnnualRankingStart, + # sale.SaleMonthByShopStart, + # sale.SaleGoalAnnualRankingStart, sale.SaleDetailedStart, sale.ShopDailySummaryStart, account.PrintBalanceSheetCOLGAAPStart, diff --git a/sale.py b/sale.py index 3e4d43d..d15a379 100644 --- a/sale.py +++ b/sale.py @@ -112,15 +112,15 @@ class SaleIncomeDailyStart(metaclass=PoolMeta): # return report_context -class SaleMonthByShopStart(metaclass=PoolMeta): - __name__ = 'sale_goal.sale_month_shop.start' - - @classmethod - def __setup__(cls): - super(SaleMonthByShopStart, cls).__setup__() - cls.shop.domain.append( - ('id', 'in', Eval('context', {}).get('shops', -1)) - ) +# class SaleMonthByShopStart(metaclass=PoolMeta): +# __name__ = 'sale_goal.sale_month_shop.start' +# +# @classmethod +# def __setup__(cls): +# super(SaleMonthByShopStart, cls).__setup__() +# cls.shop.domain.append( +# ('id', 'in', Eval('context', {}).get('shops', -1)) +# ) class SaleGoalAnnualRankingStart(metaclass=PoolMeta):