I have five stages in hr.recruitment.
In each have many required fields.
I added required="true" in each field.
I added datas in the first stage & save. But it shows error that remaining stages required fields are empty.
I want the same procedure, But how can i solve the issue?
ie, Datas in the first stage added there, then save. Only when i click the second stage, required fileds of second stage give that time only.
After initial qualification, next first stage then second stage. In initial qualification both tab are invisible, when i click first stage the offer letter field should be required, when i click second stage the passport field should be required.
<page string="First Stage" attrs="{'invisible':[('state','=','draft')]}"> <group> <field name="offer_letter" required="1"/> </group> </page>
<page string="Second Stage" attrs="{'invisible':[('state','in',('draft','pending'))]}"> <group> <field name="passport" required="1"/> </group> </page>