Odoo Help

1

1
1 答案
0
头像

Sudhir Arya (ERP Harbor Consulting Services) 印度

--Sudhir Arya (ERP Harbor Consulting Services)--
25560
| 8 9 10
Ahmedabad, 印度
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 

LinkedIn

Blog

Stackoverflow

ERP Harbor Consulting Services

Skype:sudhir@erpharbor.com
Website: http://www.erpharbor.com
Sudhir Arya (ERP Harbor Consulting Services) 印度
2017/12/11 下午11:58

Hi,

You can create your own method and return the action you wish to open from the button.

@api.multi
def action_open_mail(self):
action = self.env.ref('mail.action_mail_archives_feeds').read()[0]
action.update({'target': 'new'})
return action

This could solve your problem.

Sudhir Arya
ERP Harbor Consulting Services
sype: sudhir@erpharbor.com  website: http://www.erpharbor.com
提问
标签
Keep Informed
1 关注者(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now