Odooers论坛

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

'Reset to draft' option on Accounting

形象
odoo
形象
丢弃
1 答案
0
形象
odoo
最佳答案

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.

2 注释
形象
丢弃
形象
odoo
-

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?

形象
odoo
-

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!