Odoo Help

0

How to add file attachement field ? [Closed]

By
Yassine TEIMI
on 4/2/15, 10:30 AM 617 views

The Question has been closed for reason: not a real question

by
Serpent Consulting Services Pvt. Ltd.
on 04/02/2015 12:31:46

This is how to do it :

on .py : 

 'piece_jointe': fields.binary('Image'),
 'fname': fields.char('Nom fichier', size=32),
and on xml side: 

 
<field name="piece_jointe" filename="fname"/> <field name="fname" invisible="1" class="oe_inline oe_right"/>
 

0
Temur
On 4/2/15, 10:37 AM

!

No,no, it was just my openerp server who was'nt able to restart, I resolved the problem but shutting it down and restaarting the server properly. thanks.

Yassine TEIMI
on 4/2/15, 10:42 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 4/2/15, 10:30 AM
Seen: 617 times
Last updated: 4/3/15, 4:34 AM