Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1516 Vistas

When reversing a journal entry, I encountered an error. Upon checking, I found that the error occurred because we have enabled ZATCA (Saudi e-Invoicing). 



Move type is :  'entry', 'Journal Entry'

When the move type is 'entry' the reason popup is not visible but still system throw the warning.

 Should we enable (Visble) the reason feild in the Edit View Form

Any solution?

Avatar
Descartar
Mejor respuesta

Hi Asharaf,

You not define reason for reversal reason so that is why coming this User Error.


 when you click on reverse button open one popup you need to define here your reason why you reverse this entry.

so your issue is resolve

Thanks. 

Avatar
Descartar
Autor

Thanks for your reply. However, when we are reversing a journal (not an invoice), the move type would be 'entry', and the reason pop-up is invisible.

<group>
<field name="reason" attrs="{'invisible': [('move_type', '=', 'entry')]}"/>
<field name="date_mode" string="Reversal Date" widget="radio"/>
</group>

Yes entry = Journal Entry.
Great success !

Publicaciones relacionadas Respuestas Vistas Actividad
2
abr 25
1424
0
jun 24
1152
1
dic 24
1619
2
nov 24
1360
1
jun 24
1916