Community mailing list archives

community@mail.odoo.com

Re: Select default value in many2one field

by
Mohamed Magdy
- 11/22/2015 10:41:08
Hi Omar,

I think it will not be easy to add a default value for the Many2one field, it should be done using the context in the XML file.

Best Regards,

Mohamed Magdy
Odoo Technical Team Leader
Mob 1: +201114347478
Mob 2: +201095179215

On Sun, Nov 22, 2015 at 2:52 PM, Omar Ouhari <omar.ouhari@gmail.com> wrote:
Hi community,

I have a many2one field and I want to select default value depend of his parent.
I do this:

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe