IRC logs of #tryton for Sunday, 2011-05-29

chat.freenode.net #tryton log beginning Sun May 29 00:00:02 CEST 2011
2011-05-29 00:51 -!- GasbaKid(~GasbaKid@41.96.38.240) has joined #tryton
2011-05-29 00:54 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-29 00:56 -!- GasbaKid(~GasbaKid@41.96.38.240) has joined #tryton
2011-05-29 01:07 -!- GasbaKid(~GasbaKid@41.96.38.240) has joined #tryton
2011-05-29 01:15 -!- ikks(~ikks@186.83.199.77) has joined #tryton
2011-05-29 01:30 -!- sharoon(~sharoon@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton
2011-05-29 02:31 -!- elbenfreund(~elbenfreu@p54B95B64.dip.t-dialin.net) has joined #tryton
2011-05-29 04:16 -!- effenberg(~chlu@pD9E9D598.dip.t-dialin.net) has joined #tryton
2011-05-29 05:19 -!- yangoon(~mathiasb@p54B4FF0C.dip.t-dialin.net) has joined #tryton
2011-05-29 05:37 -!- alimon(~alimon@187.156.103.195) has joined #tryton
2011-05-29 05:48 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-05-29 06:07 -!- nicoe_(~nicoe@242.142-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2011-05-29 08:16 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-05-29 08:21 -!- nicoe(~nicoe@242.142-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2011-05-29 08:28 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-05-29 08:49 -!- mhi1(~mhi@pd95b104a.dip0.t-ipconnect.de) has joined #tryton
2011-05-29 09:27 -!- enlightx(~enlightx@dynamic-adsl-94-34-195-161.clienti.tiscali.it) has joined #tryton
2011-05-29 09:35 -!- FWiesing(~franz@mail.tryton.at) has joined #tryton
2011-05-29 09:55 -!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton
2011-05-29 10:01 -!- nicoe_(~nicoe@242.142-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2011-05-29 11:29 -!- nicoe(~nicoe@242.142-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2011-05-29 11:38 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-29 12:03 -!- lem0na(~lem0na@95.87.233.207) has joined #tryton
2011-05-29 12:14 -!- lem0na(~lem0na@95.87.233.207) has joined #tryton
2011-05-29 12:16 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-29 12:21 -!- nicoe(~nicoe@242.142-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2011-05-29 12:37 -!- lem0na(~lem0na@95.87.233.207) has joined #tryton
2011-05-29 12:45 -!- lem0na(~lem0na@95.87.233.207) has joined #tryton
2011-05-29 12:48 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-05-29 13:13 -!- lem0na(~lem0na@95.87.233.210) has joined #tryton
2011-05-29 13:58 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-29 14:05 -!- dba(~daniel@178.63.150.30) has joined #tryton
2011-05-29 14:07 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-29 14:12 -!- dba_(~daniel@178.63.150.30) has joined #tryton
2011-05-29 14:13 -!- dba_(~daniel@178.63.150.30) has left #tryton
2011-05-29 14:19 -!- ikks(~ikks@186.83.199.77) has joined #tryton
2011-05-29 14:48 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-29 15:07 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-29 15:39 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-29 15:40 -!- cedk_(~ced@ced.homedns.org) has joined #tryton
2011-05-29 16:09 -!- alimon(~alimon@187.156.103.195) has joined #tryton
2011-05-29 16:11 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-29 16:37 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-05-29 17:04 <cedk> meanmicio: ping
2011-05-29 17:04 <meanmicio> hey cedric
2011-05-29 17:04 <cedk> meanmicio: I was reviewing medical module
2011-05-29 17:04 <meanmicio> I was about to ping you
2011-05-29 17:04 <meanmicio> got some questions
2011-05-29 17:04 <cedk> meanmicio: I'm thinking about medical.medicament
2011-05-29 17:05 <cedk> meanmicio: I think it could be a inherits of product.product
2011-05-29 17:05 <meanmicio> It is.
2011-05-29 17:06 <cedk> meanmicio: not now
2011-05-29 17:06 <cedk> meanmicio: there is even a TODO for related field
2011-05-29 17:07 <meanmicio> No, just added some fields.
2011-05-29 17:07 <meanmicio> I meant I refer to product.product
2011-05-29 17:07 <cedk> meanmicio: yes but I think making an inherits is better
2011-05-29 17:07 <meanmicio> Oh yes, that's one of the questions I have
2011-05-29 17:07 <meanmicio> about fields.related
2011-05-29 17:08 <cedk> meanmicio: yes
2011-05-29 17:09 <meanmicio> I have it there and in the patient object, where I use it to put the patient lastname, taken from the party object
2011-05-29 17:09 <meanmicio> Is there an analogous to fields.related in Tryton ?
2011-05-29 17:10 <cedk> meanmicio: no and yes :-)
2011-05-29 17:10 <cedk> meanmicio: there is no equivalent but indeed related field in OE is just Function field
2011-05-29 17:12 <meanmicio> I'll look for it then. It comes pretty handy
2011-05-29 17:13 <meanmicio> Let me put some questions / comments on some things that I run into it, then you tell me the current status.
2011-05-29 17:13 <cedk> meanmicio: ok
2011-05-29 17:15 <meanmicio> Ability to set attributes like required in views (handy so no need to change the program) // Calendar view // fields.related (we just talked about it)
2011-05-29 17:16 <meanmicio> The use of onchange in views
2011-05-29 17:16 <meanmicio> I think that's pretty much it. The rest of the port is coming along great.
2011-05-29 17:17 <meanmicio> I'm quite motivated looking at how is shaping up.
2011-05-29 17:17 <cedk> meanmicio: ok let's start with the state/on_change in views
2011-05-29 17:17 <meanmicio> ok
2011-05-29 17:18 <cedk> meanmicio: we decided to make a clear separation between the view (display) and the behavior (controller)
2011-05-29 17:18 <cedk> like that, the same record behaves the same on any places of the application
2011-05-29 17:19 <yangoon> cedk: maintenance releases are finished, news are prepared
2011-05-29 17:19 <cedk> if you have a field required only in one view, then you can start editing a record in this but it doesn't have the field filled so you must fill it to be able to save your change
2011-05-29 17:19 <cedk> yangoon: great
2011-05-29 17:20 <cedk> yangoon: will make win32/mac monday
2011-05-29 17:20 <yangoon> cedk: great
2011-05-29 17:20 -!- udono(~udono@ip-95-222-129-145.unitymediagroup.de) has joined #tryton
2011-05-29 17:21 <cedk> meanmicio: is it clear?
2011-05-29 17:21 <cedk> meanmicio: I think that your need of view attributes is instead the usage of states with PySON
2011-05-29 17:23 <cedk> meanmicio: for calendar view, we don't have it
2011-05-29 17:24 <cedk> meanmicio: instead there is the CalDAV with which you can use any program that supports it like Sunbird
2011-05-29 17:26 <meanmicio> cedk : I have to look into it. The calendar is quite important, for appointments, beds, operating rooms, ....
2011-05-29 17:27 <meanmicio> So I need to have something that visually shows the status in periods
2011-05-29 17:28 <cedk> meanmicio: and CalDAV is not good?
2011-05-29 17:28 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-05-29 17:28 <meanmicio> cedk : I have to look into it. Haven't done it yet
2011-05-29 17:28 <meanmicio> cedk : it has to come handy for the end user
2011-05-29 17:29 <meanmicio> cedk : so the less apps around, the better.
2011-05-29 17:29 <cedk> meanmicio: agree but for me the current design of views list/form/graph doesn't apply well on calendar
2011-05-29 17:31 <meanmicio> We'll find a way around. Probably for now CalDAV integration will do the trick
2011-05-29 17:33 <cedk> meanmicio: but your events need to be connected to the calendar.event
2011-05-29 17:34 <meanmicio> cedk : ok. I will install the calendar module once I get to the object to migrate and check it.
2011-05-29 17:36 <cedk> meanmicio: give me perhaps the name of objects that must be display in calendar
2011-05-29 17:38 <meanmicio> cedk : medical.appointment
2011-05-29 17:38 <meanmicio> cedk : from the inpatient module functionality, medical.inpatient.registration
2011-05-29 17:40 <cedk> meanmicio: only two?
2011-05-29 17:42 <meanmicio> For now yes. But two critical ones :-)
2011-05-29 17:42 <meanmicio> You can take a look at some functionality screenshot here http://meanmicio.blogspot.com/2010/09/medical-012-hospitalization-inpatient.html
2011-05-29 17:43 <cedk> meanmicio: does the calendar view of OE work well?
2011-05-29 17:44 <meanmicio> cedk : so far so good
2011-05-29 17:45 <meanmicio> In the screenshot I sent you, it helps a lot to visualize the status of the period somebody is going to be hospitalized, who's the doctor in charge,...
2011-05-29 17:47 <meanmicio> cedk : I believe the calendar view is quite nice in OE
2011-05-29 17:47 <cedk> meanmicio: but there are issues with it
2011-05-29 17:48 <meanmicio> cedk : I will extend the functionality to nursing protocols, patient medication schedule ....
2011-05-29 17:48 <cedk> meanmicio: I know that it doesn't necessary show you all the events if there are too much (limit=80)
2011-05-29 17:48 <meanmicio> cedk : If we can achieve it with CalDAV integration, then is ok
2011-05-29 17:50 <cedk> meanmicio: I think it is doable
2011-05-29 17:50 <meanmicio> cedk : Yes, but you can restrict search. In large institutions, you should restrict the search, otherwise it becomes too crowded.
2011-05-29 17:51 <meanmicio> cedk : ah, now it came to my mind the "filter" concept . I have to look at the search functionality in Tryton
2011-05-29 17:51 <cedk> meanmicio: why not having many calendars with specific filter
2011-05-29 17:55 <meanmicio> and the other thing I remember now is the "shortcut" actions
2011-05-29 17:56 <cedk> meanmicio: what do you mean by "filter" and "shortcut" ?
2011-05-29 17:56 <meanmicio> cedk : For example, I currently have implemented in the patient model form, to have a "shortcut" that takes you to that patient appointments.
2011-05-29 17:57 <meanmicio> <act_window domain="[('patient', '=', active_id)]" id="act_patient_appointments" name="Appointments" res_model="medical.appointment" src_model="medical.patient"/>
2011-05-29 17:57 <cedk> meanmicio: ok you mean relate action
2011-05-29 17:58 <cedk> meanmicio: http://hg2.tryton.org/modules/sale/file/5e5ce24bb283/sale.xml#l232
2011-05-29 18:01 <meanmicio> cedk : ok. Does it create the link in the form ?
2011-05-29 18:02 <cedk> meanmicio: yes
2011-05-29 18:02 <meanmicio> cedk : excellent
2011-05-29 18:02 <meanmicio> cedk : so that's solved :)
2011-05-29 18:02 <cedk> meanmicio: it is the same but doesn't use the crappy ir_values table :-)
2011-05-29 18:04 <meanmicio> :)
2011-05-29 18:04 <cedk> meanmicio: and filter?
2011-05-29 18:05 <meanmicio> By filter I mean the tag they use in the ir.ui.view
2011-05-29 18:05 <meanmicio> <filter string="Institution" icon="terp-personal" domain="[]" context="{'group_by':'institution'}"/>
2011-05-29 18:07 <cedk> meanmicio: we use menu
2011-05-29 18:10 <cedk> meanmicio: but did you see the coming new search widget design?
2011-05-29 18:10 <meanmicio> cedk : not yet... just saw it in the news
2011-05-29 18:10 <meanmicio> cedk : let me take a look at it now
2011-05-29 18:11 <cedk> meanmicio: there had not yet news about it
2011-05-29 18:12 <meanmicio> I read about it somewhere in the tryton homepage.... don't ask me where, but I saw it :-)
2011-05-29 18:14 <cedk> meanmicio: perhaps the fulltext search of a GSoC student?
2011-05-29 18:14 <meanmicio> cedk : And I was not listening to Pink Floyd :)
2011-05-29 18:16 <udono> http://twitter.com/#!/cedrickrier/statuses/71518037156704256
2011-05-29 18:16 <meanmicio> udono : thanks !
2011-05-29 18:16 <udono> and the talk on tryton-dev...
2011-05-29 18:16 <udono> meanmicio: welcome!
2011-05-29 18:17 <cedk> but that's not news :-)
2011-05-29 18:20 <cedk> meanmicio: just one thougt about CalDAV, we can also use tryton's URL to open event directly
2011-05-29 18:20 <meanmicio> I still think I also read something in the homepage / wiki, but maybe it is a mix about the two . No big deal.... just explain it :-)
2011-05-29 18:23 <meanmicio> cedk : what do you mean with tryton's URL ?
2011-05-29 18:24 <cedk> meanmicio: http://doc.tryton.org/2.0/tryton/doc/usage.html#url
2011-05-29 18:28 <meanmicio> cedk : When I get to the first object migration that deals with the calendar view, I will install the calendar module and play a bit with it. Probably it will be tonight
2011-05-29 18:31 <meanmicio> cedk : Ah, a couple of questions related fields in views
2011-05-29 18:33 <meanmicio> Do we need to place a label tag always to show the field string ?
2011-05-29 18:34 <meanmicio> cedk : Wouldn't it be better to use the default string ?
2011-05-29 18:34 <cedk> meanmicio: yes explicit is better than implicit :-)
2011-05-29 18:38 <meanmicio> cedk : ok ... ;-)
2011-05-29 18:40 <meanmicio> cedk : In that case, I see myself going crazy when converting all the patient signs and symptoms labeling .... :-)
2011-05-29 18:40 <cedk> meanmicio: perhaps it can be done with a macro?
2011-05-29 18:41 <meanmicio> cedk : yes, most probably it can
2011-05-29 18:47 <meanmicio> brb
2011-05-29 19:01 -!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton
2011-05-29 19:21 -!- enlightx(~enlightx@dynamic-adsl-94-34-195-161.clienti.tiscali.it) has joined #tryton
2011-05-29 20:06 -!- alimon_(~alimon@187.156.103.195) has joined #tryton
2011-05-29 20:12 -!- dba(~daniel@178.63.150.30) has joined #tryton
2011-05-29 20:57 -!- alimon(~alimon@187.156.103.195) has joined #tryton
2011-05-29 21:06 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-05-29 22:43 -!- lem0na(~lem0na@95.87.233.210) has joined #tryton
2011-05-29 22:56 -!- FWiesing(~franz@mail.tryton.at) has left #tryton
2011-05-29 23:27 -!- alimon(~alimon@187.156.103.195) has joined #tryton

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