minor fix
This commit is contained in:
parent
fd7e9f4fc5
commit
c5f85592f7
|
@ -12,8 +12,8 @@ def register():
|
||||||
company.ConnectionCompanies,
|
company.ConnectionCompanies,
|
||||||
sale.Sale,
|
sale.Sale,
|
||||||
sale.SaleIncomeDailyStart,
|
sale.SaleIncomeDailyStart,
|
||||||
sale.SaleMonthByShopStart,
|
# sale.SaleMonthByShopStart,
|
||||||
sale.SaleGoalAnnualRankingStart,
|
# sale.SaleGoalAnnualRankingStart,
|
||||||
sale.SaleDetailedStart,
|
sale.SaleDetailedStart,
|
||||||
sale.ShopDailySummaryStart,
|
sale.ShopDailySummaryStart,
|
||||||
account.PrintBalanceSheetCOLGAAPStart,
|
account.PrintBalanceSheetCOLGAAPStart,
|
||||||
|
|
18
sale.py
18
sale.py
|
@ -112,15 +112,15 @@ class SaleIncomeDailyStart(metaclass=PoolMeta):
|
||||||
# return report_context
|
# return report_context
|
||||||
|
|
||||||
|
|
||||||
class SaleMonthByShopStart(metaclass=PoolMeta):
|
# class SaleMonthByShopStart(metaclass=PoolMeta):
|
||||||
__name__ = 'sale_goal.sale_month_shop.start'
|
# __name__ = 'sale_goal.sale_month_shop.start'
|
||||||
|
#
|
||||||
@classmethod
|
# @classmethod
|
||||||
def __setup__(cls):
|
# def __setup__(cls):
|
||||||
super(SaleMonthByShopStart, cls).__setup__()
|
# super(SaleMonthByShopStart, cls).__setup__()
|
||||||
cls.shop.domain.append(
|
# cls.shop.domain.append(
|
||||||
('id', 'in', Eval('context', {}).get('shops', -1))
|
# ('id', 'in', Eval('context', {}).get('shops', -1))
|
||||||
)
|
# )
|
||||||
|
|
||||||
|
|
||||||
class SaleGoalAnnualRankingStart(metaclass=PoolMeta):
|
class SaleGoalAnnualRankingStart(metaclass=PoolMeta):
|
||||||
|
|
Loading…
Reference in New Issue