hello everyone , i just created a module on openerp7 , it has a registration form and wanted to add a field where i can load the user picture .. can anyone give me any hints??
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- सीआरएम
- e-Commerce
- लेखांकन
- इन्वेंटरी
- PoS
- Project
- MRP
This question has been flagged
1
Reply
4328
Views
in python :
_columns = { 'image': fields.binary("Image",), }
in xml :
<field name="image" widget='image' class="oe_avatar oe_left" />
Thank you very much :)
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
Created module , new moduel
Solved
|
|
5
अप्रैल 19
|
5893 | |
|
1
अप्रैल 16
|
4094 | ||
|
1
मार्च 15
|
8676 | ||
|
5
जन॰ 24
|
16138 | ||
|
4
मार्च 15
|
5933 |