Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Apparently it is a serious problem and nobody know how to do it so I need help, I'm new in Odoo, it's still a mistery for me how to build something in this system.
How can I create and how should it look like a function which will create a link. For example I have a field "ebay_number" which contain 12 digits long number of product and I would like to create a link to the item based on constant element like "www.ebay.com/itm/ + <item number>" but on screen I want only see this number. Hope you understand guys what I'm talking about.
Can anyone help me with it please?
Too complicated ?
Can anyone show me how to do it ?
in view_form.js you have all basic widget... If you need module which add a widget, you can grep 'instance.web.form.widgets = '...
But your widget is really basic, you can copy past the widget Field2 from documentation...
this.$el.html("<a href='<your_url>/'>"+ this.get("value") + "</a>");
and it will works !
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
|Asked: 3/20/15, 10:00 AM|
|Seen: 1619 times|
|Last updated: 7/16/15, 9:57 AM|