I created a field (named XXX) in the [color=#ff0000]account[/color] module, the value of this fied is : yes or no
I want to recover this value of this field
And finaly i want to put this value in the [color=#ff0000]contact[/color] module
What i need to create ?
Create a dropdown field from studio and use the yesno list.
I am not sure what actually you want to achieve by recovering the value in contact module. There are several ways to do, the question is do you want value to be saved in each contact for the account, or you only want to display the value in contacts.
You can such solutions via before save logic hook or view.detail.php