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

chat.freenode.net #tryton log beginning Fri Jan 8 00:00:01 CET 2016
-!- smarro(~sebastian@181.16.7.104) has joined #tryton01:02
-!- smarro(~sebastian@181.16.7.104) has joined #tryton01:18
-!- gytis(~gytis@78.56.151.78) has joined #tryton01:25
-!- kstenger1(~karla@r167-56-251-96.dialup.adsl.anteldata.net.uy) has joined #tryton01:41
-!- yangoon1(~mathiasb@p549F0223.dip0.t-ipconnect.de) has joined #tryton06:01
-!- leio(~leio@gentoo/developer/leio) has joined #tryton06:56
-!- gytis(~gytis@k250.nfq.lt) has joined #tryton07:24
-!- frispete(~frispete@p54A903DE.dip0.t-ipconnect.de) has joined #tryton07:40
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton07:42
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton07:59
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton08:13
-!- gytis(~gytis@v100.nfq.lt) has joined #tryton08:37
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:54
-!- gytis(~gytis@v100.nfq.lt) has joined #tryton08:58
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:28
-!- nicoe(~nicoe@2001:6f8:3aa:2:ee55:f9ff:fe7b:f7ac) has joined #tryton09:56
-!- rpit(~rpit@aftr-37-201-214-183.unity-media.net) has joined #tryton10:38
-!- frispete(~frispete@p54A903DE.dip0.t-ipconnect.de) has joined #tryton10:49
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton11:10
-!- Nico7878(500f74d0@gateway/web/freenode/ip.80.15.116.208) has joined #tryton11:41
Nico7878Greetings 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)11:43
cedkNico7878: see https://bugs.tryton.org/issue522711:45
Nico7878excellent cedk, ty11:49
Nico7878but I'll wait an update of the default branch, I don't fell skilled enough to implement this kind of modules on my setup11:52
-!- mariomop(~quassel@host114.190-137-86.telecom.net.ar) has joined #tryton11:54
-!- smarro(~sebastian@181.16.7.104) has joined #tryton13:18
-!- kstenger(~karla@r186-50-7-8.dialup.adsl.anteldata.net.uy) has joined #tryton13:43
-!- meanmicio1(~lfm@41.Red-88-14-137.dynamicIP.rima-tde.net) has joined #tryton13:45
-!- smarro(~sebastian@181.16.7.104) has joined #tryton13:46
dj_xatraSay 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?13:55
dj_xatraProbably a silly question, but my boss wants to know w/o me looking into the code.13:55
cedkdj_xatra: Tryton is designed to be customized13:58
cedkdj_xatra: you just have to create a Tryton module and register an extention for the Product Model13:59
dj_xatraInteresting14:00
dj_xatraACTION searches docs14:00
cedkdj_xatra: look at the product_measurements module, it is a simple module that adds some fields to product14:00
cedkdj_xatra: the best way to start is to follow: http://downloads.tryton.org/TUL2014/crash-course.pdf14:01
cedkdj_xatra: otherwise B2CK is going to make an online training soon, will be posted at http://www.b2ck.com/news/index.html14:02
dj_xatraAwesome. So far I had the library example on my tutorial todo list, but crash course seems to cover more. Looking forward to online training.14:04
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton14:12
dj_xatraAm I right that Pool.register(Product, module='our_product') would override the default Product module with a custom module?14:22
cedkdj_xatra: yes in some way14:25
cedkdj_xatra: Tryton will create a concatination of all the Product class (following module dependency)14:25
cedkdj_xatra: so the __name__ of the class is important14:26
dj_xatraCool. I think that's something we can work with.14:33
-!- nina_(~nina@177.19.245.134) has joined #tryton14:33
nina_How can a field of a parent module is required=True only in a child module?14:40
cedknina_: you mean, you want to extend a field to make it required?14:41
nina_cedk: I created a new module extend, and I need to modify a field of the parent to required.14:43
cedknina_: you have to modify the field from the __setup__ method14:45
nina_cedk: for example , I need the patient's weight field is mandatory14:46
nina_In new module, I modify  the __setup__?14:47
cedknina_: yes14:47
nina_cedk: Thanks. I'm going to try.14:48
cedkpokoli: you will have better chance on bugs.python.org if you submit a patch anyway14:53
pokolicedk: ok, but on which branch? default?15:29
cedkpokoli: yes, it is an optimisation15:57
cedkpokoli: but maybe they will backport but a core dev will manage that15:57
cedkpokoli: you also have to sign the cla16:00
cedkpokoli: https://docs.python.org/devguide/#contributing16:01
pokolicedk: thanks, I have already signed the CLA16:39
-!- bechamel(~Adium@host-95-182-199-152.dynamic.voo.be) has joined #tryton17:00
pokolicedk: how can I update the review of bugs.python.org?17:02
cedkpokoli: I think you have to add a new patch17:05
cedkpokoli: otherwise I think you can use upload.py17:06
pokolicedk: I asked on #python channel and told me to upload a new patch17:06
pokolicedk: thanks17:06
pokoliACTION prefers the tryton way with hgreview ;) 17:06
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton19:05

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!