Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
2555 Ansichten

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
Verwerfen
Autor

Thank you @Mehjabin.


Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Juli 22
3797
1
März 25
1652
4
Okt. 24
1969
0
Apr. 24
2146
0
Feb. 24
1335