On 02/26/2014 03:35 PM, Holger Brunn wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

We have released yesterday a module that might be included in this
project, called mail_organizer.
Nice module! This one seems quite similar, but implements a slightly
different workflow:
http://bazaar.launchpad.net/~therp-nl/therp-addons/7.0/view/head:/fetchmail_inbox/__openerp__.py

But I'd rather propose it to server-env-tools than openerp-crm, as it
seems perfectly generic, isn't it?

[...]
Yes. Sounds good. We will prepare the MP.

By the way we came as well with a new polymorphic field idea that
is applied in this module.
Looks interesting. For the module above, I had to do something similar
but resorted to some hackish use of a many2one field with a fallback
to a reference field.

Wouldn't it be great to have web_polymorphic be a widget for reference
fields? Actually, it might just inherit from FieldReference and add
the flexibility on model choice you're after. And if the polymorphic
field also accepted ids of models in addition to their names, you'd
save yourself some helper fields in mail_organizer (and I guess most
modules using it). But well, let's better discuss that when you
propose it to web-addons.
This is indeed perfect for the reference field. It is not yet supporting ids but that could be a nice spinoff (for tags for example).
In this polymorphic field you can easily have domain for example.
We will send a MP on web-addons anyway.

- -- Therp - Maatwerk in open ontwikkeling

Holger Brunn - Ontwerp en implementatie

mail: hol...@therp.nl
web: http://therp.nl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iF4EAREIAAYFAlMNmUUACgkQAcl2D+yjrhgtCQEAgdtjRRRQBos8IeAjg/3kQGj0
PZTbbzuVaSp0EtfS84MA/0uHIZhnHKLeVtNzf6+rLftDhBz0byRmMd9IF5jk8saN
=eZkl
-----END PGP SIGNATURE-----

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : openerp-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : openerp-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to