Hello. I'm trying to understand "what happens where". As I'm unable to modify/ use the default website from the "Recruitment Application" of odoo I'm trying RPC calls.
So when the (default) form is submitted a email is sent, and from the models a "candiate-model" is created.
Looking at the hr.applicant ("where the form is going to") the is the candiate id mandatory (relation) but I cant see where the candidate (relation) is created.
Using RPC to hr.applicant using the fields the htpp form is also sending I can't create the entity as a relation to "candidate" is missing. Passing an exisiting id as candidate id I also get an error:
message": "The operation cannot be completed: Error, a partner cannot follow twice the same object.",
"arguments": [
"The operation cannot be completed: Error, a partner cannot follow twice the same object."
],
Thanks. I understand. But when I pass an exisiting candidate_id I receive:
UniqueViolation: duplicate key value violates unique constraint \"mail_followers_mail_followers_res_partner_res_model_id_uniq\"\nDETAIL: Key (res_model, res_id, partner_id)=(hr.applicant, 97, 3) already exists.
Provide a full example of what you are doing