Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Apology if I misinterpret your question, but my answer would be:
- Read the next sequence using next_by_id or next_by_code method
- Write the resulting valu into the field that you want (via create or write method).
You can find multitude samples in the addons, one example would be: addons/account_sequence/account_sequence.py
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
|Asked: 11/30/14, 8:59 PM|
|Seen: 675 times|
|Last updated: 3/16/15, 8:10 AM|