alexkyllo / bots

Automatically exported from code.google.com/p/bots
2 stars 0 forks source link

add: user defined fields for partners #195

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I often use ccode for partner-related things.
eg: customer->senderID.

also aded function:
partnerlookup(idpartner,field,safe=False)

(for lookup in mappings etc)

Original issue reported on code.google.com by hjebb...@gmail.com on 5 Nov 2012 at 1:15

GoogleCodeExporter commented 9 years ago
It would be good to take this a step further, making each field usage 
configurable. So in the view instead of "attr1", "attr2" etc you could have 
"Country", "Region", etc according to your needs, and could also do 
partnerlookup(idpartner,'Country',safe=False). I thought about this for 
usercodes too but never found an easy way to do it.

Original comment by mjg1964 on 19 Nov 2012 at 6:07

GoogleCodeExporter commented 9 years ago
yes, that is  a  good idea

Original comment by hjebb...@gmail.com on 19 Nov 2012 at 9:40

GoogleCodeExporter commented 9 years ago

Original comment by hjebb...@gmail.com on 10 Sep 2013 at 12:45