Odoo Help

0

0
3 Answers
0
Bruce Rochester Canada
10/9/19, 4:30 PM

I ended up making a customization to resolve this issue.

  • Added a new model field vendor_contact_id to purchase orders.

  • Added vendor_contact_id below vendor on purchase form view

  • Restricted domain of vendor to companies

  • Used vendor (partner_id) onchange to set domain of vendor_contact_id to subcontacts of selected vendor

  • Modified reports to show ATTN to the selected vendor contact

  • Modified e-mail templates to send POs/RFQs to vendor contact person instead of parent company

This customization allows us to ensure all vendor bills are being created under the parent company rather than the contact person, while still allowing the user to select a contact person that should receive the PO.

1
Avatar

Paresh Wagh India

--Paresh Wagh--

8521
| 4 2 5
Navi Mumbai, India
--Paresh Wagh--
Paresh Wagh India
10/8/19, 11:21 AM

Hi Bruce: 

While creating the Vendor Bill, after selecting the PO, you can go back and change the Vendor to the company partner instead of the partner contact. That should take care of what you need without any customization.

1 Comment
T&T Power Group, Bruce Rochester Canada
10/9/19, 3:43 PM

Thanks Paresh, but we are trying to avoid the need to change the vendor on hundreds of bills every month. I've made a customization and will post it below as an answer.

Ask a Question
Keep Informed
1 follower(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