I have vendor and customer ... in both menus res.partner is the model ... I have inherited the res.partner and added one bool filed called is_vendor and the default value is TRUE in vendor menu.
But i wanted the is_vendor default value as FALSE in customer menu as well.
can you guys please tell me how can i do that?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
Hi Ashutosh,
Please add 'default_is_vendor' : False in the context of the customer action.
Hope it will help you.
Hi Malay,
it works for me...
Thank you so much for the quick response. :)
Hi Ashutosh.
Please Vote for the Answer.
Thank you.
Is there a way to change this value through UI withouth touching action? Kind of looking of inheriting and edit like I do with extension view. Currently doing these changes from UI and trying to avoid .py for the time being (should be doing so soon tho).
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
1
7월 25
|
1756 | ||
|
1
2월 24
|
1474 | ||
|
1
12월 22
|
3728 | ||
|
1
6월 25
|
1280 | ||
|
3
7월 25
|
3042 |