Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
2760 Vizualizări

I am currently using version 13 Enterprise of Odoo and I need the journal sequences not to take the system date, but the accounting record date.

For example, when a transaction is recorded after the end of the month, the entry bears the date of the following month in progress and not the month in which the movement must be recorded in accounting. This makes it difficult for me to keep a monthly physical file (required by the regulatory entity) for example in month 05 I would have journals with the number 06 instead of 05.

Does anyone have an idea how to solve this? Because the sequence of the diaries parameterized in the system does not allow me to do it.

Example as it is created:

MMI-BILL-%(range_year)s-%(month)s-


Imagine profil
Abandonează
Cel mai bun răspuns

You can't do that  with a sequence because its for current dates only not past dates.

You can use an alternative way. All sequences fields are regular text fields (Char) .

Make the field editable by going In the form view of the record (Debug mode), click on the debug and Edit View: Form. Usually, the field is "name" or "number", depending on the model. Add the attribute readonly="False" then click on save and update . Refresh your page and then you can update the sequence field directly every time you have past dates.


Imagine profil
Abandonează
Autor Cel mai bun răspuns

to risky

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
11
ian. 24
17527
0
mar. 15
3893
1
mar. 15
5189
1
dec. 23
25367
5
feb. 25
11520