Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1451 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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. 

Ảnh đại diện
Huỷ bỏ
Tác giả

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 !

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 4 25
1362
0
thg 6 24
1123
1
thg 12 24
1555
2
thg 11 24
1287
1
thg 6 24
1876