Odoo Help

Welcome!

This community 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.

0

How to add file attachement field ? [Closed]

By
Yassine TEIMI
on 4/2/15, 10:30 AM 438 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

--Temur--
2896
| 6 5 7
Tbilisi, Georgia
--Temur--
Programmer
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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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