Community mailing list archives
community@mail.odoo.com
Browse archives
Re: adding a many2many data to xml record
byplease check my last line of my email.
it was.
<field name="rule_ids" eval="[(6, 0,
[ref('hr_salary_rule_a'),ref('hr_salary_rule_b'),ref('hr_salary_rule_c'),ref('hr_salary_rule_d')]]"
/>
Dear Dhaval,
what to try ? I can't find any XML record examples in your reply !
Regards,
On 06/28/2015 05:37 PM, Dhaval Patel wrote:<blockquote cite="mid:CAKLWWMUACZ2hLwz1m_wB_v1auniiFLPNi+A6N=2gt5haZWH9JA@mail.gmail.com" type="cite">
Hello, Please try as bellow. > Dears, > > > 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 : > > > > General Salary strucutre > GENERAL > > > hr_salary_rule_a, > hr_salary_rule_b, > hr_salary_rule_c, > hr_salary_rule_d, > > > > > 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 ?! > > > > Regards, > > _______________________________________________ > Mailing-List: https://www.odoo.com/groups/community-59> Post to: mailto:community@mail.odoo.com > Unsubscribe: https://www.odoo.com/groups?unsubscribe_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe
_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe
Reference
-
adding a many2many data to xml record
byMohamed Hagag-
-
-
-
-
Re: adding a many2many data to xml record
byVoedsel.Coop, Ronald Wopereis -
-
-