IRC logs of #tryton for Friday, 2016-12-09

chat.freenode.net #tryton log beginning Fri Dec 9 00:00:01 CET 2016
nineinchnickwhy does trytond-admin always tries to open an sqlite database when given anything to -d ?00:01
nineinchnickoh it does that when it can't read the config file00:04
-!- smarro(~sebastian@201-212-238-53.net.prima.net.ar) has joined #tryton00:39
-!- elbenfreund(~elbenfreu@x59cc8969.dyn.telefonica.de) has joined #tryton00:53
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:12
-!- thaneor(~ldlc6@179.26.144.44) has joined #tryton01:17
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton02:22
-!- thaneor1(~ldlc6@r179-25-65-49.dialup.adsl.anteldata.net.uy) has joined #tryton04:49
-!- nicoe(~nicoe@103.240.242.247) has joined #tryton05:20
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton05:22
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton05:41
-!- flachtassekasse(~flachtass@p5DD1897C.dip0.t-ipconnect.de) has joined #tryton08:14
-!- JanGB(~jan@dslb-088-073-246-007.088.073.pools.vodafone-ip.de) has joined #tryton08:21
-!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton08:32
-!- rpit(~rpit@2a02:908:e672:7480:56ee:75ff:fe0d:d3c7) has joined #tryton08:40
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:53
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:54
-!- nicoe(~nicoe@103.240.242.247) has joined #tryton08:56
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:56
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has left #tryton10:44
-!- Guest12530(~pistache@lebib.org) has joined #tryton10:56
-!- elbenfreund(~elbenfreu@p4FCA4FD1.dip0.t-ipconnect.de) has joined #tryton10:59
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton11:08
mrichezhi, how is working "sequence_ordered", i'm using it on one2many field but order won't change, sequence field is empty11:20
mrichezmy one2many is readonly and i'm using widget=many2many for display11:35
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton11:44
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton11:55
pokolimrichez: you should define the sequence field in the tree_views so tryton client will automatically set the sequence for you11:59
pokolimrichez: and you can drag and drop for ordering11:59
mrichezpokoli: done but not working (drag'n'drop ok, but when i save, order go back initial state), i'll try to unset my field readonly12:03
mrichezpokoli: initial state: https://snag.gy/yYh98Q.jpg12:05
mrichezpokoli: after drag 'n' drop second line : https://snag.gy/q86mWk.jpg12:06
mrichezpokoli: and when i save : https://snag.gy/BPqXN6.jpg12:07
pokolimrichez: can I see the code? field definition and tree view definition?12:07
mrichezpokoli: http://pastebin.com/vXUvs8NR   field used is at the end : quotations12:09
mrichezpokoli: treeview: http://pastebin.com/uYpU6kSc12:10
mrichezpokoli: field added on the form: http://pastebin.com/yvjucPKP12:11
mrichezpokoli: i think it's because of readonly12:13
pokolimrichez: how you created the records?12:14
mrichezpokoli: with the wizard in the code -> def transition_start12:15
pokolimrichez: drag and drop is disabled if screen is readonly, which i think is your case12:15
pokolimrichez: http://hg.tryton.org/tryton/file/d4a05786df98/tryton/gui/window/view_form/view/list.py#l59612:16
pokolimrichez: so the wizard must set the sequence otherwise it will not make sense12:16
mrichezpokoli: yes, i just check, it seems working now. But is there's a way to keep prevent adding records to a one2many but allowing ordering12:16
pokolimrichez: Just give write access but not creation access to the user12:17
pokolimrichez: on the target model12:17
mrichezpokoli: ok, will do that, not yet implemented access rules12:18
mrichezpokoli: thanks for your help12:18
pokolimrichez: you're welcome :)12:18
-!- mamcode(~mamcode@190.79.52.46) has joined #tryton12:31
-!- mariomop(~quassel@181.90.95.209) has joined #tryton13:14
-!- JanGB(~jan@dslb-088-073-246-007.088.073.pools.vodafone-ip.de) has left #tryton14:33
-!- mamcode(~mamcode@190.79.52.46) has joined #tryton14:37
-!- JanGB(~jan@dslb-088-073-246-007.088.073.pools.vodafone-ip.de) has joined #tryton15:05
-!- thaneor(~ldlc6@r179-25-101-234.dialup.adsl.anteldata.net.uy) has joined #tryton16:51
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton16:56
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton16:57
-!- perilla(~perilla@corp-190-57-169-210.cue.puntonet.ec) has joined #tryton17:04
-!- kstenger(~karla@r167-56-235-175.dialup.adsl.anteldata.net.uy) has joined #tryton17:36
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton17:45
-!- niki(~niki@0x3e2c8614.mobile.telia.dk) has joined #tryton18:50
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton18:58
-!- mamcode(~mamcode@190.79.52.46) has joined #tryton19:50
mamcodeHi, I am having problems to set the company field in price list of products, when I try to assign a value it is disabled, and is a required field. Has anyone had that?21:18
mamcode*when I try to assign a value it is disabled and clean the value of the field.21:18
JanGBmamcode: you are not member of a company21:19
mamcodemmm ok21:19
JanGBmamcode: current company set?21:19
mamcodeJanGB: I will to review that21:19
JanGBmamcode: user settings - current company21:20
mamcodeJanGB: I set Main Company in my user settings but when I try to assign a value in Company field in price list stays the same (disabled and clean the value of the field)21:28
JanGBmamcode: did you set if right now? if yes you need to relogin21:29
JanGBmamcode: defaullt company in price list ist taken from actual context of the user21:30
JanGBmamcode: if I remember right :)21:30
mamcodemmm ok21:32
mamcodeJanGB: Thank you for the help :-)21:35
mamcodeIt works now21:35
JanGBmamcode: welcome21:36
mamcodeJanGB: I can set price lists by client ?21:36
JanGBmamcode: ?21:36
JanGBmamcode: for a client - yes. you need sale_price_list21:38
mamcodeok21:38
mamcodeWhat else does the sale_price_list module adds?21:39
JanGBmamcode: http://hg.tryton.org/modules/sale_price_list/file/tip/tryton.cfg21:51
mamcodeJanGB: XD21:52
-!- perilla(~perilla@corp-190-57-169-210.cue.puntonet.ec) has joined #tryton23:32

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