Skip to Content

Welcome!

Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

Sign up

You need to be registered to interact with the community.
This question has been flagged
1 Reply
29 Views

I want to add a field to products so i can view when was the last date the product was purchased from the vendor. What is the field name if it exist. 


Avatar
Discard

The last purchase date is exists in Odoo for each vendor under product supplier info so you can add it to the below view:


If you need to add it to product, you need to add a computed field to product model and write your python code to compute the last purchase date (from any supplier) from purchase order model, then you can add it to the product list view.

Avatar
Discard

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!