Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
740
Lượt xem
Hii,
if you can hide for perticular user that
Option 1: Remove “Budget” Access via User Settings
Go to Settings → Users & Companies → Users.
Open the user who should not see the Budget button.
In the Access Rights tab:
- Find the Accounting section.
- Make sure Budgets is unchecked (or that the user is not in the group: Accounting / Budget Manager).
Save.
and if you can hide for all then
Create a custom module structure
In your custom module, create this file:
my_module/static/src/js/hide_budget_button.js
/** @odoo-module **/
import { FinancialReport } from '@account_reports/components/financial_report/financial_report';
import { patch } from "@web/core/utils/patch";
patch(FinancialReport.prototype, {
setup() {
super.setup();
// Filter out the Budget button
if (this.reportButtons) {
this.reportButtons = this.reportButtons.filter(
(button) => button.name !== 'budget'
);
}
},
});
and after that update manifest file
'assets': {
'web.assets_backend': [
'my_module/static/src/js/hide_budget_button.js',
],
},
option 2:
If you don’t use budgets at all, you can uninstall the module:
- Go to Apps.
- Search for Budget Management (account_budget).
- Click the dropdown next to “Installed” → Uninstall.
i hope it is use full
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
2
thg 7 25
|
686 | ||
|
2
thg 6 25
|
939 | ||
|
2
thg 5 25
|
1060 | ||
|
1
thg 9 25
|
3666 | ||
|
1
thg 8 25
|
523 |
You want to get rid of Budget completely or just in this particular view? For every user or specific ones?