Community mailing list archives
Re: adding a many2many data to xml recordby
Thanks Ronald, it's working fine.
I would like to know how to add many2many data in an xml record of module ?
for example salary structure with rule_ids, I tried this :
<record id="hr_payroll_structure_general" model="hr.payroll.structure">
<field name="name">General Salary strucutre</field>
<field name="parent_id" ref="hr_payroll.structure_base"/>
and it didn't show an error but also it didn't link the salary structure to the rules.
any idea how to achieve it ?!