IRC logs of #tryton for Friday, 2016-01-08

chat.freenode.net #tryton log beginning Fri Jan 8 00:00:01 CET 2016
2016-01-08 01:02 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-01-08 01:18 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-01-08 01:25 -!- gytis(~gytis@78.56.151.78) has joined #tryton
2016-01-08 01:41 -!- kstenger1(~karla@r167-56-251-96.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-01-08 06:01 -!- yangoon1(~mathiasb@p549F0223.dip0.t-ipconnect.de) has joined #tryton
2016-01-08 06:56 -!- leio(~leio@gentoo/developer/leio) has joined #tryton
2016-01-08 07:24 -!- gytis(~gytis@k250.nfq.lt) has joined #tryton
2016-01-08 07:40 -!- frispete(~frispete@p54A903DE.dip0.t-ipconnect.de) has joined #tryton
2016-01-08 07:42 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-01-08 07:59 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-01-08 08:13 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-01-08 08:37 -!- gytis(~gytis@v100.nfq.lt) has joined #tryton
2016-01-08 08:54 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-01-08 08:58 -!- gytis(~gytis@v100.nfq.lt) has joined #tryton
2016-01-08 09:28 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-01-08 09:56 -!- nicoe(~nicoe@2001:6f8:3aa:2:ee55:f9ff:fe7b:f7ac) has joined #tryton
2016-01-08 10:38 -!- rpit(~rpit@aftr-37-201-214-183.unity-media.net) has joined #tryton
2016-01-08 10:49 -!- frispete(~frispete@p54A903DE.dip0.t-ipconnect.de) has joined #tryton
2016-01-08 11:10 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-01-08 11:41 -!- Nico7878(500f74d0@gateway/web/freenode/ip.80.15.116.208) has joined #tryton
2016-01-08 11:43 <Nico7878> Greetings all : is there a way to edit manually a delivery date for a purchase order? Our company always request a delivery date to appear on the PO, but as tryton doesn't take into account business days I have quiet strange delivery date. I can't manage to set it manually even by editing the database (yeah I know I shouldn't and it's weird)
2016-01-08 11:45 <cedk> Nico7878: see https://bugs.tryton.org/issue5227
2016-01-08 11:49 <Nico7878> excellent cedk, ty
2016-01-08 11:52 <Nico7878> but I'll wait an update of the default branch, I don't fell skilled enough to implement this kind of modules on my setup
2016-01-08 11:54 -!- mariomop(~quassel@host114.190-137-86.telecom.net.ar) has joined #tryton
2016-01-08 13:18 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-01-08 13:43 -!- kstenger(~karla@r186-50-7-8.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-01-08 13:45 -!- meanmicio1(~lfm@41.Red-88-14-137.dynamicIP.rima-tde.net) has joined #tryton
2016-01-08 13:46 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-01-08 13:55 <dj_xatra> Say we like 95% of Tryton's ERP functionality and we need 5% customization. E.g. we need 2 extra attributes in the Product module. Can we derive an OurProduct module from Product and somehow fool the rest of the modules to use OurProduct instead of Product?
2016-01-08 13:55 <dj_xatra> Probably a silly question, but my boss wants to know w/o me looking into the code.
2016-01-08 13:58 <cedk> dj_xatra: Tryton is designed to be customized
2016-01-08 13:59 <cedk> dj_xatra: you just have to create a Tryton module and register an extention for the Product Model
2016-01-08 14:00 <dj_xatra> Interesting
2016-01-08 14:00 <dj_xatra> ACTION searches docs
2016-01-08 14:00 <cedk> dj_xatra: look at the product_measurements module, it is a simple module that adds some fields to product
2016-01-08 14:01 <cedk> dj_xatra: the best way to start is to follow: http://downloads.tryton.org/TUL2014/crash-course.pdf
2016-01-08 14:02 <cedk> dj_xatra: otherwise B2CK is going to make an online training soon, will be posted at http://www.b2ck.com/news/index.html
2016-01-08 14:04 <dj_xatra> Awesome. So far I had the library example on my tutorial todo list, but crash course seems to cover more. Looking forward to online training.
2016-01-08 14:12 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-01-08 14:22 <dj_xatra> Am I right that Pool.register(Product, module='our_product') would override the default Product module with a custom module?
2016-01-08 14:25 <cedk> dj_xatra: yes in some way
2016-01-08 14:25 <cedk> dj_xatra: Tryton will create a concatination of all the Product class (following module dependency)
2016-01-08 14:26 <cedk> dj_xatra: so the __name__ of the class is important
2016-01-08 14:33 <dj_xatra> Cool. I think that's something we can work with.
2016-01-08 14:33 -!- nina_(~nina@177.19.245.134) has joined #tryton
2016-01-08 14:40 <nina_> How can a field of a parent module is required=True only in a child module?
2016-01-08 14:41 <cedk> nina_: you mean, you want to extend a field to make it required?
2016-01-08 14:43 <nina_> cedk: I created a new module extend, and I need to modify a field of the parent to required.
2016-01-08 14:45 <cedk> nina_: you have to modify the field from the __setup__ method
2016-01-08 14:46 <nina_> cedk: for example , I need the patient's weight field is mandatory
2016-01-08 14:47 <nina_> In new module, I modify the __setup__?
2016-01-08 14:47 <cedk> nina_: yes
2016-01-08 14:48 <nina_> cedk: Thanks. I'm going to try.
2016-01-08 14:53 <cedk> pokoli: you will have better chance on bugs.python.org if you submit a patch anyway
2016-01-08 15:29 <pokoli> cedk: ok, but on which branch? default?
2016-01-08 15:57 <cedk> pokoli: yes, it is an optimisation
2016-01-08 15:57 <cedk> pokoli: but maybe they will backport but a core dev will manage that
2016-01-08 16:00 <cedk> pokoli: you also have to sign the cla
2016-01-08 16:01 <cedk> pokoli: https://docs.python.org/devguide/#contributing
2016-01-08 16:39 <pokoli> cedk: thanks, I have already signed the CLA
2016-01-08 17:00 -!- bechamel(~Adium@host-95-182-199-152.dynamic.voo.be) has joined #tryton
2016-01-08 17:02 <pokoli> cedk: how can I update the review of bugs.python.org?
2016-01-08 17:05 <cedk> pokoli: I think you have to add a new patch
2016-01-08 17:06 <cedk> pokoli: otherwise I think you can use upload.py
2016-01-08 17:06 <pokoli> cedk: I asked on #python channel and told me to upload a new patch
2016-01-08 17:06 <pokoli> cedk: thanks
2016-01-08 17:06 <pokoli> ACTION prefers the tryton way with hgreview ;)
2016-01-08 19:05 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton

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