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

field type for customer stock code field (unique customer stock code/customer)?

By
Luke Branch
on 7/8/14, 4:21 AM 783 views

I'm looking to have customer's stock codes list next to our own stock codes on our purchase orders, invoices, quotations and other documents with order lines. What I would like to achieve is a unique set of stock codes for each customer that correspond to our own.

I believe the field type I should use for this is many2many or one2many, however I am unsure of how to relate customer stock code field to the product and the customer.

Any input on this would be appreciated.

 

I have figured out a (hack) workaround for adding a customer stock code for a specified number of customers by using t-if statements and custom fields. If anyone is interested in this please comment below and i'll make it available to the public on my github profile.

Luke Branch
on 11/27/14, 3:04 AM

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: 7/8/14, 4:21 AM
Seen: 783 times
Last updated: 3/16/15, 8:10 AM