Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2528 Zobrazení

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.

Avatar
Zrušit
Autor

Thank you @Mehjabin.


Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvc 22
3749
1
bře 25
1625
4
říj 24
1899
0
dub 24
2081
0
úno 24
1301