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

Apply a sequence for a field

By
Sergio Fernández
on 12/24/15, 4:00 AM 314 views

Good Morning

I want to use "Contact's Reference" (in Spanish, Referencia de Contacto), to show an ID for a partner. In our old ERP solution a client/supplier/article must have a number.. Starting from 1..2..3... and so on.

I've created a sequence in Configuration->Technical->Sequences but I don't know how to apply it to that field i've mentioned before....

I've tried with two modules, one made by a developer, which didn't work, and another from the OCA, base_partner_sequence, which didn't work too..

I want only a way to make the field auto-filled whenever a new client/supplier/article is created.

Thank you

0
Jose M. González
On 12/24/15, 4:45 AM

Hi,

maybe this posts could help you: 


1) https://www.odoo.com/fr_FR/forum/help-1/question/how-to-make-an-auto-incremental-field-in-odoo-with-prefix-letters-85794

2) https://www.odoo.com/es_ES/forum/help-1/question/how-to-get-the-next-value-of-a-sequence-in-an-odoo-python-model-87859


Good luck!!


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: 12/24/15, 4:00 AM
Seen: 314 times
Last updated: 12/24/15, 4:45 AM