IRC logs of #tryton for Tuesday, 2011-11-15

chat.freenode.net #tryton log beginning Tue Nov 15 00:00:01 CET 2011
2011-11-15 00:00 <bechamel> zodman: cedk has dark hair and a black openbsd hoodie on the video
2011-11-15 00:03 <zodman> :o
2011-11-15 00:03 <zodman> forget asking for bechanel :P
2011-11-15 00:04 <zodman> sharoom not missed :P from the video
2011-11-15 01:42 -!- ciupicri(~ciupicri@unaffiliated/ciupicri) has joined #tryton
2011-11-15 06:35 <marcosdmyr> hi
2011-11-15 06:35 <marcosdmyr> has tryton a way to handle product variants ¿?
2011-11-15 15:18 <grasbauer> okko1: Hi
2011-11-15 15:20 <okko1> grasbauer: hi Jan
2011-11-15 15:21 -!- ciupicri(~ciupicri@unaffiliated/ciupicri) has joined #tryton
2011-11-15 15:21 <okko1> grasbauer: what can I do for you?
2011-11-15 15:21 <grasbauer> okk1: just contributed on elveos - so you can anwer me a question ;)
2011-11-15 15:22 <okko1> grasbauer: good news!
2011-11-15 15:24 <okko1> grasbauer: for Kanban, you better use OpenERP ;-)
2011-11-15 15:24 <cedk> grasbauer: what do you mean by kanban?
2011-11-15 15:25 <grasbauer> okko1: how you handle the subscriptions (user, password) of clients in your shop? Do you have them in party table of tryton? Or only after a order? have to decide this ....
2011-11-15 15:25 <okko1> grasbauer: we have a separate table for shop-users
2011-11-15 15:25 <okko1> grasbauer: we link this shop-user to a party
2011-11-15 15:26 <grasbauer> okko1: ok - sounds reasonable
2011-11-15 15:26 <grasbauer> cedk: http://en.wikipedia.org/wiki/Kanban
2011-11-15 15:27 <grasbauer> cedk: for this we have the realtime booking of material on the project
2011-11-15 15:27 <okko1> grasbauer: and a shop-user has a many2many relation to parties
2011-11-15 15:28 <grasbauer> okko1: why?
2011-11-15 15:28 <grasbauer> okko1: can i user be more than hust a single person - jekyll and hyde?
2011-11-15 15:28 <okko1> grasbauer: if a user can order for more then 1 parties. In most cases many2one will do the job.
2011-11-15 15:29 <grasbauer> okko1: ok
2011-11-15 15:29 <cedk> grasbauer: could you point in what our design will not work as Kaban?
2011-11-15 15:34 <grasbauer> cedk: don't know in deep - I was only thinking about my reasons to choose project as model 4 month ago. I read a lot of stuff about production planning and finally I desided to do something. I was totally confused ....
2011-11-15 15:36 <grasbauer> cedk: http://help.sap.com/saphelp_45b/helpdata/en/cb/7f8a8743b711d189410000e829fbbd/content.htm
2011-11-15 15:39 <grasbauer> cedk: I was thinking about the posiibi
2011-11-15 15:42 <grasbauer> possibilities to build the kanban cycles and so on - but I do not have a blueprint of what I have understood or not until now. It's a real complex topic ...
2011-11-15 15:43 <cedk> grasbauer: I think it is possible to have a production module that could work as MRP or as Kanban
2011-11-15 15:44 <cedk> grasbauer: the main difference is on the quantities and when the production orders are generated
2011-11-15 15:44 <cedk> grasbauer: I think this kind of parameters/behavior could be overridable
2011-11-15 15:45 <grasbauer> cedk: yes - for thsi I contributed to the production_module - its always more simple to work on a existing model and improve this
2011-11-15 15:59 <cedk> grasbauer: yes especially when it is minimal and generic :-)
2011-11-15 16:02 <grasbauer> cedk: of course
2011-11-15 18:48 <grasbauer> is it possible to check the len of One2Many in a pysonstatement?
2011-11-15 18:50 <udono> grasbauer: Do you need the len or just to know if the O2M has at least a containing line?
2011-11-15 18:51 <grasbauer> udono: I need the information, if len(O2M) > 1
2011-11-15 18:52 <cedk> grasbauer: there is no len operator
2011-11-15 18:52 <cedk> grasbauer: but I think it could be great to add it
2011-11-15 18:55 <grasbauer> udono,cedk: its not than important - but I'm still playing with my little product variant shown in liege - if only one product is related to the template, the fields inherited from template in the product form should be editable. if more than one product related to the template, the fields should not be editable ....
2011-11-15 18:56 <cedk> grasbauer: yep, that's really fine tuning :-)
2011-11-15 18:56 <cedk> grasbauer: why not createing a function field that define if fields are editable or not?
2011-11-15 18:57 <udono> grasbauer: did you try with bool eval? I don't know if o2m evaluates to true when it has lines and otherwise false.
2011-11-15 18:57 <grasbauer> cedk: thats cool! I'll go for typing
2011-11-15 18:58 <grasbauer> udono: its true - because there is one line
2011-11-15 18:58 <cedk> udono: it is but here we want len() > 1 not len() >= 1
2011-11-15 18:59 <cedk> grasbauer: when things are complicated to write in PYSON, there is always the function field solution :-)
2011-11-15 19:01 <grasbauer> cedk: yes - fighting with my code I have overlooked that simple solution
2011-11-15 19:06 <cedk> grasbauer: but anyway, a PYSON Len will be great
2011-11-15 19:08 <grasbauer> cedk: to advanced for me - but i will remind myself if my skills are higher ;)
2011-11-15 19:09 <grasbauer> cedk: need to take a look to pyson in the deep
2011-11-15 19:11 <cedk> grasbauer: that's not so complicated
2011-11-15 19:20 <grasbauer> cedk: it works - done :P
2011-11-15 20:26 -!- cjbarnes18(~craig@cl-1034.lon-02.gb.sixxs.net) has left #tryton
2011-11-15 20:27 <yangoon> cedk: ping
2011-11-15 20:27 <yangoon> cedk: isn't the sequence of argumnets wrong in http://hg.tryton.org/modules/account_invoice/file/399c7cfc01ca/invoice.py#l199 ?
2011-11-15 20:45 <cedk> yangoon: yes it seems
2011-11-15 20:45 <yangoon> cedk: ok, will provide patches

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!