تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2215 أدوات العرض

Hello,

I recently upgraded my database from 17.4 to 18, and when creating an invoice and confirming it, if I click on the button 'Reset to draft' afterwards, I get an error as shown below:




Is there a specific setting that need to be configured to address this issue?

Thanks.

الصورة الرمزية
إهمال
أفضل إجابة

Hello Muhammad Fadil Khodadin,

In account.move, there's a field called "inalterable_hash". If this field contains any value, you'll receive a validation message saying, "You cannot reset to draft a locked journal entry."

This field is readonly and gets automatically populated when you click the "Lock" button on the invoice. In your case, the invoice has been locked, which is why you're seeing this validation message.

Thanks.

الصورة الرمزية
إهمال
الكاتب

Hello,
Thanks for reply.
But the invoice is being locked automatically because I did not manually click on the 'Lock' button. Is there a way to prevent that?

Hello,

If you haven't manually locked the invoice, please check the journal settings.
Navigate to Journals > Advanced Settings tab, and look for the option "Secure Posted Entries with Hash".

If this option is enabled, invoices will be automatically locked upon posting, this will preventing you from "Reset to draft" invoice.

Thanks!

المنشورات ذات الصلة الردود أدوات العرض النشاط
3
سبتمبر 25
248
1
أغسطس 25
185
1
أغسطس 25
264
0
أغسطس 25
165
1
أغسطس 25
196