I added a button in crm.lead form in order to create a new object I defined based on the values of the Lead. I successfully can open a form in a popup (target=new) with predefined values (using the context and default_ values). However, there is no Create button showing up, I can therefore not save my new record. Do you know how to add this Create button ? Here is my XML:

This will add the button in the form of the "crm.event.custom". However, if I go on the form view without coming from the "crm.lead" object", I don't want to see this button, as I am not in a popup mode...

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just
use the commenting tool. Please remember that you can always revise your answers
- no need to answer the same question twice. Also, please don't forget to vote
- it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines