Hello, is there a way to have a tab on each employee's profile that lists all the expenses they've submitted?
I would like this to be an option instead of sorting/filtering by employee on the expenses page.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello, is there a way to have a tab on each employee's profile that lists all the expenses they've submitted?
I would like this to be an option instead of sorting/filtering by employee on the expenses page.
Hi,
1. Install Studio
Open the Employee module.
Go to the employee's profile.
Click on the "Studio" icon.
2. Add a New Tab:
Click on the "+" button on the employee's profile.
Select "Tab" to add a new tab.
3. Add a Related Field:
Inside the new tab, drag and drop a "One2many" field from the Studio.
Set the model to hr.expense.
Hope it helps
Hey Ray, I have no idea what to do when creating the start button. It says call a method or run server action. Run a server action only gives me two options which have nothing to do with expenses or anything and I don't know how to use a call a method.
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 | |
---|---|---|---|---|
|
1
thg 7 25
|
258 | ||
|
1
thg 7 25
|
364 | ||
|
0
thg 7 25
|
484 | ||
|
2
thg 7 25
|
756 | ||
|
1
thg 6 25
|
503 |
Thank you, that was exactly what I was looking for !
I would recommend a Smart Button rather than a Tab. After you get a dozen Expenses, you will probably want to sort / filter / search. Use Studio but click the PLUS next to the existing Smart Buttons at the top instead of the Tabs.