Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1374 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Auteur

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 !

Gerelateerde posts Antwoorden Weergaven Activiteit
2
apr. 25
1284
0
jun. 24
1077
1
dec. 24
1451
2
nov. 24
1232
1
jun. 24
1850