Discussion:
[Erp5-dev] personModule_viewPersonList
Tomasz Brzezina
2008-03-08 11:34:43 UTC
Permalink
I wonder if i can make different viewPersonLists for different Roles
(domain tree is used) - eg if i select customers - I need customer
number, name, address and telephone. If I select merchants - I don't
need customer_number, but I need organisation etc.
--
T.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3327 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080308/abf43f42/attachment.bin>
bartek
2008-03-08 11:36:11 UTC
Permalink
Post by Tomasz Brzezina
I wonder if i can make different viewPersonLists for different Roles
(domain tree is used) - eg if i select customers - I need customer
number, name, address and telephone. If I select merchants - I don't
need customer_number, but I need organisation etc.
You can achieve this but not this way - you can add a column to the
listbox which would run a script and display different things depending
on the role. See wiki - listbox is quite well documented.

Bartek
Post by Tomasz Brzezina
------------------------------------------------------------------------
_______________________________________________
Erp5-dev mailing list
Erp5-dev at erp5.org
http://mail.nexedi.com/mailman/listinfo/erp5-dev
--
"feelings affect productivity. (...) unhappy people write worse
software, and less of it."
Karl Fogel, "Producing Open Source Software"
Tomasz Brzezina
2008-03-08 11:54:23 UTC
Permalink
Post by bartek
Post by Tomasz Brzezina
I wonder if i can make different viewPersonLists for different Roles
(domain tree is used) - eg if i select customers - I need customer
number, name, address and telephone. If I select merchants - I don't
need customer_number, but I need organisation etc.
You can achieve this but not this way - you can add a column to the
listbox which would run a script and display different things depending
on the role. See wiki - listbox is quite well documented.
ok - i understand the idea
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3327 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080308/d13e92f8/attachment.bin>
Loading...