Odoo Help

Welcome!

This community 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.

0

Contacts to lead

By
Nischal
on 1/4/16, 3:10 PM 319 views

Want to have a button on the customer(res.partner view) from where a lead can be generated with auto populating the customer/contact info.  Along with the button would like to provide a text box where the user can fill in some details(basic requirements for the lead) which can go to internal notes of the lead.

  would like to make it on my own but need some guidance...   

 

0

Tarek Mohamed Ibrahim

--Tarek Mohamed Ibrahim--
896
| 5 3 7
Gîza, Egypt
--Tarek Mohamed Ibrahim--

I am an old VFP developer on ERP

I have moved to 2p since Nov-2014 and started developing with Python on Odoo.

https://www.linkedin.com/profile/public-profile-settings?trk=prof-edit-edit-public_profile

tibrahim@2p.com.sa

Tarek Mohamed Ibrahim
On 1/4/16, 6:16 PM

Hi Nischal,

pls check the code that creates a PO from a Purchase Requisition, it will fully guide you, but this needs some work.

You have to install the Purchase requisition module, create a PR and from it create a PO.

The key method for my example is 

make_purchase_order

There are also some other examples, like creating an Invoice from a sales order/purchase order.

For full set of examples that you can wander along them you can search the code for 

.create(

this will guide you more


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

Question tools

1 follower(s)

Stats

Asked: 1/4/16, 3:10 PM
Seen: 319 times
Last updated: 1/4/16, 6:16 PM