I have made my custom button in journal entries form of odoo 15 and i want to generate sequence with that button instead of post button please guide me.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
2521
Vistas
Hi Danish,
name = fields.Char(string='Number', copy=False, compute='_compute_name', readonly=False, store=True, index=True, tracking=True)
This is the field where the sequence is generating in journal entry, and is using the compute function "_compute_name" for this. You can modify this function as you need and try
Hope this will help you
Thank You
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
jul 22
|
3745 | ||
|
1
mar 25
|
1623 | ||
|
4
oct 24
|
1897 | ||
|
0
abr 24
|
2080 | ||
|
0
feb 24
|
1301 |
Thank you @Mehjabin.