IRC logs of #tryton for Thursday, 2017-11-30

chat.freenode.net #tryton log beginning Thu Nov 30 00:00:01 CET 2017
2017-11-30 00:28 -!- csotelo(~csotelo@181.176.91.29) has joined #tryton
2017-11-30 00:31 -!- csotelo(~csotelo@181.176.91.29) has joined #tryton
2017-11-30 01:03 -!- smarro(~sebastian@181.16.34.86) has joined #tryton
2017-11-30 03:29 -!- thaneor1(~ldlc6@r179-25-164-223.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-11-30 04:07 -!- zmijunkie1(~Adium@200116b80a4c2f002cc3cb1497d4773a.dip.versatel-1u1.de) has joined #tryton
2017-11-30 06:01 -!- robink(~quassel@unaffilated/robink) has joined #tryton
2017-11-30 06:47 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2017-11-30 06:55 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2017-11-30 08:47 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2017-11-30 09:04 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2017-11-30 09:04 -!- csotelo(~csotelo@181.176.56.65) has joined #tryton
2017-11-30 09:06 -!- rpit(~rpit@p4FD19F0C.dip0.t-ipconnect.de) has joined #tryton
2017-11-30 09:11 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-11-30 10:12 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2017-11-30 10:36 -!- zmijunkie(~Adium@200116b80a4c2f002cc3cb1497d4773a.dip.versatel-1u1.de) has joined #tryton
2017-11-30 10:45 -!- sim6(sim6matrix@gateway/shell/matrix.org/x-mmyhkptzgsjcenjp) has joined #tryton
2017-11-30 10:58 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-11-30 11:11 -!- xcodinas(~xcodinas@134.ip-5-196-28.eu) has joined #tryton
2017-11-30 11:13 -!- csotelo(~csotelo@181.176.94.110) has joined #tryton
2017-11-30 11:28 <mrichez> hi, wondering how is raised pre_validate error when clicking "complete lines" without inventory location in inventory module? Is it an automatic behaviour cause i don't see any "pre_validate" instruction in script? Could this pre-validate also applied on the inventory lines? (you could add lines manually without specifing inventory location, but when you save you got warning "location is mandatory", and you have to delete all the lines to update location...
2017-11-30 11:34 <pokoli> mrichez: probablly the best option is to make inventory lines readonly if no location is filled on the inventory
2017-11-30 11:34 <pokoli> mrichez: like we do on sale lines with party
2017-11-30 11:35 <mrichez> pokoli: seems logical
2017-11-30 11:36 <pokoli> mrichez: the pre-validate is complaining about required fields, isn't it?
2017-11-30 11:37 <mrichez> pokoli: indeed, so i'll introduce an issue for this change (lines readonly until location and date fields filled)
2017-11-30 11:38 <pokoli> mrichez: yes, but this does not fix https://tryton-rietveld-hrd.appspot.com/37861002/diff/1/inventory.py#newcode347
2017-11-30 11:38 <pokoli> mrichez: on_change_methods should not fail when called with all values empty
2017-11-30 11:39 <pokoli> mrichez: indeed there is a test that enforces it
2017-11-30 11:39 <mrichez> pokoli: ok will add a test on location and date
2017-11-30 11:42 <pokoli> mrichez: just test the value is filled on the scenario
2017-11-30 11:43 <pokoli> mrichez: on_change is tested here: http://hg.tryton.org/trytond/file/cb69edb0ea61/trytond/tests/test_tryton.py#l355
2017-11-30 11:44 <mrichez> pokoli: thanks
2017-11-30 12:48 -!- meigallodixital_(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2017-11-30 13:04 -!- smarro(~sebastian@181.16.34.86) has joined #tryton
2017-11-30 13:27 -!- rpit(~rpit@p200300C88BD1190056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton
2017-11-30 13:37 <mrichez> pokoli: following our previous discussion, wondering how it's defined that sales_lines are readonly unless party is filled ? Don't see a state : readonly : Eval(party) on the lines
2017-11-30 13:44 <pokoli> mrichez: it's defined on the sale_price_list module: http://hg.tryton.org/modules/sale_price_list/file/5d886f7363c7/sale.py#l27
2017-11-30 13:47 <mrichez> pokoli: ok, i was looking in sale module... :-)
2017-11-30 14:06 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2017-11-30 14:08 -!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton
2017-11-30 14:11 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-11-30 14:26 -!- csotelo_at_work(~csotelo@181.176.191.186) has joined #tryton
2017-11-30 14:31 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-11-30 14:34 <andrespoliti> hi, i am trying to use celery_tryton but i'm having trouble defining the configuration
2017-11-30 14:35 <andrespoliti> this is what i have: https://pastebin.com/7yx2YAc6
2017-11-30 14:35 <andrespoliti> and i get this error:
2017-11-30 14:35 <andrespoliti> AttributeError: 'Settings' object has no attribute 'TRYTON_DATABASE'
2017-11-30 14:42 -!- rpit(~rpit@p200300C88BD1190056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton
2017-11-30 15:30 -!- JanGB(~jan@x2f7ffe7.dyn.telefonica.de) has joined #tryton
2017-11-30 15:30 -!- thaneor(~ldlc6@r179-25-176-137.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-11-30 15:31 -!- JanGB(~jan@p54855E24.dip0.t-ipconnect.de) has joined #tryton
2017-11-30 15:40 <yangoon> hi all, can someone tell me how to extend staticmethods in tryton? According to https://stackoverflow.com/questions/26788214/super-and-staticmethod-interaction it should work like in https://pastebin.com/fXgWptRg, but I still get AttributeError: 'super' object has no attribute '_get_tax_rule_pattern'
2017-11-30 15:41 <pokoli> yangoon: you can extend them as classmethods
2017-11-30 15:41 <pokoli> yangoon: super(Class, cls).staticmethod() will call the parent staticmethod
2017-11-30 15:42 <yangoon> pokoli: thx a lot, works!
2017-11-30 15:43 -!- xcodinas(~xcodinas@unaffiliated/xcodinas) has joined #tryton
2017-11-30 15:49 <pokoli> I'm wondering how people manage machines on tryton. Do they create as company employees?
2017-11-30 15:50 <cedk> pokoli: it is an asset
2017-11-30 15:51 <pokoli> cedk: but, who I inidicate that an asset must be used for a production
2017-11-30 15:52 <pokoli> s/who/how
2017-11-30 15:53 <cedk> pokoli: you can link assets to work center
2017-11-30 16:07 <pokoli> cedk: thanks.
2017-11-30 16:07 <pokoli> probably we should revieve the assets blueprint: http://hg.tryton.org/deprecated/tryton.wiki/file/e5cff9482830/Assets.wiki
2017-11-30 16:55 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2017-11-30 17:43 -!- lukio(~lukio@iplan.gcoop.com.ar) has joined #tryton
2017-11-30 17:45 <lukio> Hi everybody, I want to add history to one of my models. I added it the attribute _history=True. But I don't understand how to add the history tab to the view form. thanks!
2017-11-30 17:48 <cedk> lukio: there is no history tab
2017-11-30 17:49 <cedk> lukio: you have only the revision browsing from the menu
2017-11-30 17:50 <lukio> hi cedk, but i see the history tab at sale_opportunity module, and i did not saw anything about that at the view form.
2017-11-30 17:55 <nicoe> lukio: http://hg.tryton.org/modules/sale_opportunity/file/tip/opportunity.py#l97
2017-11-30 17:56 <nicoe> The refered model is a table_query
2017-11-30 18:00 <andrespoliti> hi, i am trying to use celery_tryton but i'm having trouble defining the configuration
2017-11-30 18:00 <andrespoliti> this is what i have: https://pastebin.com/7yx2YAc6
2017-11-30 18:00 <andrespoliti> and i get this error: AttributeError: 'Settings' object has no attribute 'TRYTON_DATABASE'
2017-11-30 18:04 <lukio> nicoe: great, thanks!
2017-11-30 18:09 -!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton
2017-11-30 18:57 -!- NeonKing(~Neonking@176.179.38.86) has joined #tryton
2017-11-30 18:58 -!- NeonKing(~Neonking@unaffiliated/neonking) has joined #tryton
2017-11-30 19:05 -!- JanGB(~jan@x2f7fba3.dyn.telefonica.de) has joined #tryton
2017-11-30 19:08 -!- JanGB(~jan@x2f7fba3.dyn.telefonica.de) has joined #tryton
2017-11-30 19:15 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-11-30 19:16 -!- JanGB1(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-11-30 20:29 -!- lukio(~lukio@iplan.gcoop.com.ar) has left #tryton
2017-11-30 20:52 -!- mariomop(~quassel@181.88.203.135) has joined #tryton
2017-11-30 20:56 -!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton
2017-11-30 21:01 <andrespoliti> hello, i downloaded trytond-4.0.12.tar.gz but there are no differences with trytond-4.0.11.tar.gz except for the changelog. If i download it with git, i see the changes
2017-11-30 21:30 -!- catonano(~user@151.50.145.188) has joined #tryton
2017-11-30 22:01 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2017-11-30 23:05 -!- udono1(~udono@107-057-210-188.ip-addr.inexio.net) has joined #tryton
2017-11-30 23:35 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton

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