This question has been flagged

Hi All,


I am using odoo 14 with OpenHRMS core 14.0.1.0.0.


I am creating a loan for a user and with multiple instalments. The loan is approved. When I create a payslip which has the instalment, I get this error "Posted journal entry must have an unique sequence number per company. Problematic numbers: Loan For XYZ".


If I go to the journal and reset the entry to draft, the error temporarily goes away. But, I have the same error when I create a new payslip for the same user which has the next instalment.


I assume, the entry created by the module is not unique per transaction.


Any suggestions? 

Avatar
Discard

i thought i am the only one looking for answers

even i am not a user of odoo but i am studying it since 2018

in multi-company the document (Journal Enry/Sales Order/Invoice) reference must be a unique number