We migrated from an old accounting system to Odoo. The old system automatically created customer number.
We imported those customers numbers into the default code/internal reference of Odoo.
I am using Odoo v9 Online so I can't make a module. Is there a way with a server action that I can do this?
I don't want it to wipe out any customer numbers that are currently applied. I just want the next number in sequence each time a customer is created. So something like: If customer number is blank run server action to create customer number at the next sequence number .
It is possible on Odoo Online. You probably would want to create a sequence pattern, create a new field on the customer form (or re-use the internal reference like you did), and have a server action that fills it in automatically based on the sequence.
If you want Odoo to do it for you, it can be done with a success pack: https://www.odoo.com/pricing-packs
But why do you need to keep those numbers if they are specific to your previous software? Do you need to associate those specific numbers with something else in Odoo?
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
|Asked: 7/20/16, 8:39 AM|
|Seen: 255 times|
|Last updated: 7/20/16, 7:35 PM|