Well, there's a simple fix.

I added a new field to res.partner.event called x_attachment as a many2one 
field referencing ir.attachment. Then added it to the res.partner.event.form 
view:

                <form>
                    <separator>
                    <field>
                    <field>
                    <field>
                    <field>
                    <field>
                    <field>
                    <field>
                    <field>
                    <field>
                    <field>
                    <separator>
                    <field>
                    <separator>
                    <field>
                    <field>
                </form>

This seems to work fine, as expected. But surely this a is a basic requirement 
of any CRM system. I had expected this to be included in the base system.

Is this how it should be done or is there another way to link to a 
file/attachment via a "reference" field type (such as the Document Link is this 
case)?

Many thanks

MattLG




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=44019#44019

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to