IRC logs of #tryton for Tuesday, 2013-03-19

chat.freenode.net #tryton log beginning Tue Mar 19 00:00:02 CET 2013
2013-03-19 06:31 -!- sharoonthomas(~sharoonth@122.177.56.223) has left #tryton
2013-03-19 10:16 <efx> Hi, I don't know if this is the best strategy to go but.. I have a tryton model (the patient model from the GNUHEALTH project) that I want to make accessible to both patient and practitioner however I want them to work on two distinct copies of the same entry ( this is crucial to control the changes made by both the patient and the practitioner).
2013-03-19 10:16 <efx> Do you think it is better to create a full copy of the gnuhealth.patient model or to do everything in the same model ?
2013-03-19 10:23 <cedk> efx: don't understand, what do you mean by copy?
2013-03-19 10:26 <efx> cedk: I mean a copy of the gnuhealth.patient model something like gnuhelath.patient2
2013-03-19 10:38 <efx> cedk: I don't know maybe its simpler and better to add an extra field to the current model to link 2 entries but I was thinking that it would be easier with an other model, however I don't know if a copy can be done without having to copy the whole model class..
2013-03-19 10:40 <cedk> efx: please expose your *real* problem
2013-03-19 10:41 <efx> 1/ patient should have access to their medical data,
2013-03-19 10:42 <efx> 2/ practitian should have access to the medical data of their patient
2013-03-19 10:43 <efx> 3/ the modification made by the patient on its medical data should not directly modify what the practician is seeing (in other word the practitian can accept or reject the modification)
2013-03-19 10:43 <cedk> efx: I don't understand, you mean that patient will have Tryton installed to update it ?
2013-03-19 10:44 <efx> I created a web interface to tryton so he will use that
2013-03-19 10:44 -!- mrechte1(~mrechte@landtrekker.com) has left #tryton
2013-03-19 10:45 <cedk> efx: so you don't care about access control, just do it in you web interface
2013-03-19 10:46 <efx> cedk: what do you mean by "do it" in your web interface ?
2013-03-19 10:49 <efx> I mean I need a somehow to have a backup of the data
2013-03-19 10:49 <efx> that's why I was thinking of using an other model
2013-03-19 12:27 <sharoonthomas> cedk: would try_assign at the stock.shipment.out level be the right place to hack if we had to implement multi-warehouse shipping ?
2013-03-19 12:29 <cedk> sharoonthomas: i don't think so
2013-03-19 12:29 <cedk> sharoonthomas: because draft move are already part of the supply chain
2013-03-19 12:29 <cedk> sharoonthomas: I guess if you have many warehouse there is a strategy to fill them
2013-03-19 12:29 <sharoonthomas> cedk: ok, so what would be your recommendation ?
2013-03-19 12:30 <sharoonthomas> cedk: like prefer a primary warehouse for products ?
2013-03-19 12:30 <cedk> sharoonthomas: for example
2013-03-19 12:38 <sharoonthomas> cedk: did i miss something
2013-03-19 12:44 <cedk> sharoonthomas: I think you must first define the warehouse management strategy
2013-03-19 12:44 <sharoonthomas> cedk: ok
2013-03-19 12:44 <cedk> sharoonthomas: I think generally, company sale from the closest one
2013-03-19 12:44 <sharoonthomas> cedk: yes
2013-03-19 12:47 <cedk> sharoonthomas: so warehouse is choosen at the sale
2013-03-19 12:48 <sharoonthomas> cedk: but how to fulfill if the product is available on a different warehouse ?
2013-03-19 12:48 <cedk> sharoonthomas: there is order point between warehouse
2013-03-19 12:49 <sharoonthomas> cedk: but there are no internal transfers ?
2013-03-19 12:50 <cedk> sharoonthomas: don't understand
2013-03-19 12:51 <sharoonthomas> cedk: to simplify, at the moment we have warehouse at the order level, but is it possible to move them to order line level ?
2013-03-19 12:51 <sharoonthomas> cedk: this would allow fulfilling the same order from multiple warehouses
2013-03-19 12:51 <sharoonthomas> cedk: and filling the warehouse at the line could be based on the warehouse management strategy ?
2013-03-19 12:52 <cedk> sharoonthomas: what is the point ?
2013-03-19 12:54 <sharoonthomas> cedk: lets say that there are two warehouses - A & B
2013-03-19 12:54 <sharoonthomas> cedk: A has some products and B has others
2013-03-19 12:55 <sharoonthomas> cedk: It should be possible to take a single order with products available in both warehouses
2013-03-19 12:55 <sharoonthomas> cedk: and create shipments from A & B with the corresponding products
2013-03-19 12:56 <cedk> sharoonthomas: i don't see a simple solution
2013-03-19 13:02 <sharoonthomas> cedk: agree with that. I looked at SAP B1 implementation and they seem to take warehouse at the line level
2013-03-19 13:04 <cedk> sharoonthomas: we could make room in base module to easy such customization
2013-03-19 13:04 <cedk> sharoonthomas: and indeed it is already there
2013-03-19 13:04 <cedk> sharoonthomas: see there is a function field on saleline to get the warehouse
2013-03-19 13:04 <sharoonthomas> ACTION looking at code
2013-03-19 13:05 <cedk> sharoonthomas: so you could already customize it to return an other warehouse
2013-03-19 13:05 <cedk> sharoonthomas: and move line are grouped by warehouse
2013-03-19 13:06 <sharoonthomas> cedk: could you share a link
2013-03-19 13:06 <sharoonthomas> cedk: to the source
2013-03-19 13:07 <sharoonthomas> cedk: i see the method _group_shipment_key
2013-03-19 13:08 <cedk> sharoonthomas: I don't really have link or it is the all file
2013-03-19 13:08 <cedk> sharoonthomas: on SaleLine there is a warehouse function field
2013-03-19 13:08 <sharoonthomas> cedk: looks like its just a matter of changing how warehouse in line is handled
2013-03-19 13:09 <sharoonthomas> cedk: exactly, what do you think of using the warehouse on sale by default (current behavior) and an override_warehouse (m2o stock.location) which overrides for specific lines ?
2013-03-19 13:13 <cedk> sharoonthomas: I really think it is custom how you choose your warehouse
2013-03-19 13:49 <sisalp> hello, I cannot find info on tryton.org about third party modules. Looking for contract_management and periodic invoicing/renewal
2013-03-19 13:54 <sharoonthomas> cedk: your API designs and vision is amazing.
2013-03-19 13:55 <cedk> sisalp: look at PyPI if they have been released
2013-03-19 14:04 <sisalp> cedk: I should have thought about it by my self ! There are plenty of good modules on pypi ;-)
2013-03-19 14:09 <cedk> sisalp: the link is on download page of tryton.org: http://pypi.python.org/pypi?:action=browse&show=all&c=551
2013-03-19 14:19 <sisalp> I found a subcription module from zikzikmedia, I remember of another module from Netherlands. Nobody knows where it was ?
2013-03-19 14:45 <sisalp> zikzikmedia module is certainly the one to consider Thank you.
2013-03-19 14:47 <corro> sisalp: just out of curiosity: what is this subscription module for?
2013-03-19 14:58 <sisalp> I'm evaluating it for me (hosting services) and for a prospect who needs to manage a business center (shared offices)
2013-03-19 15:05 <sharoonthomas> cedk: are we applying to be on GSoC this year ?
2013-03-19 15:07 <cedk> sharoonthomas: I posted on the mailing list that I will not take the job
2013-03-19 15:07 <sharoonthomas> cedk: missed the email, going back to the emails
2013-03-19 21:41 <nacho586> hay alguien?
2013-03-19 22:58 <plantian> Does trytond use multiple processes or just multiple threads?
2013-03-19 23:01 <juanfe> plantian, I don't know, but to use multiple process it must use parallel python no?
2013-03-19 23:02 <juanfe> As I figure it use: import threading
2013-03-19 23:08 <plantian> juanfe: Yeah I think it must just use threading.

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