minor fix
This commit is contained in:
parent
fd7e9f4fc5
commit
c5f85592f7
|
@ -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,
|
||||
|
|
18
sale.py
18
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):
|
||||
|
|
Loading…
Reference in New Issue