mirror of
https://github.com/frappe/books.git
synced 2024-12-22 10:58:59 +00:00
fix: move pricing rule to sales instead of common
This commit is contained in:
parent
1e41c0803c
commit
8003f0883e
@ -216,6 +216,13 @@ function getCompleteSidebar(): SidebarConfig {
|
||||
schemaName: 'Lead',
|
||||
hidden: () => !fyo.singles.AccountingSettings?.enableLead,
|
||||
},
|
||||
{
|
||||
label: t`Pricing Rule`,
|
||||
name: 'pricing-rule',
|
||||
route: '/list/PricingRule',
|
||||
schemaName: 'PricingRule',
|
||||
hidden: () => !fyo.singles.AccountingSettings?.enablePricingRule,
|
||||
},
|
||||
{
|
||||
label: t`Coupon Code`,
|
||||
name: 'coupon-code',
|
||||
@ -293,13 +300,6 @@ function getCompleteSidebar(): SidebarConfig {
|
||||
schemaName: 'PriceList',
|
||||
hidden: () => !fyo.singles.AccountingSettings?.enablePriceList,
|
||||
},
|
||||
{
|
||||
label: t`Pricing Rule`,
|
||||
name: 'pricing-rule',
|
||||
route: '/list/PricingRule',
|
||||
schemaName: 'PricingRule',
|
||||
hidden: () => !fyo.singles.AccountingSettings?.enablePricingRule,
|
||||
},
|
||||
] as SidebarItem[],
|
||||
},
|
||||
getReportSidebar(),
|
||||
|
Loading…
Reference in New Issue
Block a user