IRC logs of #tryton for Friday, 2016-01-08 #tryton log beginning Fri Jan 8 00:00:01 CET 2016
-!- smarro(~sebastian@ has joined #tryton01:02
-!- smarro(~sebastian@ has joined #tryton01:18
-!- gytis(~gytis@ has joined #tryton01:25
-!- kstenger1( has joined #tryton01:41
-!- yangoon1( has joined #tryton06:01
-!- leio(~leio@gentoo/developer/leio) has joined #tryton06:56
-!- gytis( has joined #tryton07:24
-!- frispete( has joined #tryton07:40
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton07:42
-!- Timitos( has joined #tryton07:59
-!- dj_xatra(~dj_xatra@ has joined #tryton08:13
-!- gytis( has joined #tryton08:37
-!- mrichez( has joined #tryton08:54
-!- gytis( 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( has joined #tryton10:38
-!- frispete( has joined #tryton10:49
-!- Telesight( has joined #tryton11:10
-!- Nico7878(500f74d0@gateway/web/freenode/ip. 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
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( has joined #tryton11:54
-!- smarro(~sebastian@ has joined #tryton13:18
-!- kstenger( has joined #tryton13:43
-!- meanmicio1( has joined #tryton13:45
-!- smarro(~sebastian@ 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_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:
cedkdj_xatra: otherwise B2CK is going to make an online training soon, will be posted at
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( 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@ 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 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
pokolicedk: thanks, I have already signed the CLA16:39
-!- bechamel( has joined #tryton17:00
pokolicedk: how can I update the review of
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 2.11.0 by Marius Gedminas - find it at!