Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1
Rispondi
2679
Visualizzazioni
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
thanks John Doe
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati