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

chat.freenode.net #tryton log beginning Fri Dec 9 00:00:01 CET 2016
2016-12-09 00:01 <nineinchnick> why does trytond-admin always tries to open an sqlite database when given anything to -d ?
2016-12-09 00:04 <nineinchnick> oh it does that when it can't read the config file
2016-12-09 00:39 -!- smarro(~sebastian@201-212-238-53.net.prima.net.ar) has joined #tryton
2016-12-09 00:53 -!- elbenfreund(~elbenfreu@x59cc8969.dyn.telefonica.de) has joined #tryton
2016-12-09 01:12 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-12-09 01:17 -!- thaneor(~ldlc6@179.26.144.44) has joined #tryton
2016-12-09 02:22 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-12-09 04:49 -!- thaneor1(~ldlc6@r179-25-65-49.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-12-09 05:20 -!- nicoe(~nicoe@103.240.242.247) has joined #tryton
2016-12-09 05:22 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-12-09 05:41 -!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton
2016-12-09 08:14 -!- flachtassekasse(~flachtass@p5DD1897C.dip0.t-ipconnect.de) has joined #tryton
2016-12-09 08:21 -!- JanGB(~jan@dslb-088-073-246-007.088.073.pools.vodafone-ip.de) has joined #tryton
2016-12-09 08:32 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton
2016-12-09 08:40 -!- rpit(~rpit@2a02:908:e672:7480:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-12-09 08:53 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-12-09 08:54 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-12-09 08:56 -!- nicoe(~nicoe@103.240.242.247) has joined #tryton
2016-12-09 08:56 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-12-09 10:44 -!- g5pw(~g5pw@mittelab/sudo/g5pw) has left #tryton
2016-12-09 10:56 -!- Guest12530(~pistache@lebib.org) has joined #tryton
2016-12-09 10:59 -!- elbenfreund(~elbenfreu@p4FCA4FD1.dip0.t-ipconnect.de) has joined #tryton
2016-12-09 11:08 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-12-09 11:20 <mrichez> hi, how is working "sequence_ordered", i'm using it on one2many field but order won't change, sequence field is empty
2016-12-09 11:35 <mrichez> my one2many is readonly and i'm using widget=many2many for display
2016-12-09 11:44 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-12-09 11:55 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-12-09 11:59 <pokoli> mrichez: you should define the sequence field in the tree_views so tryton client will automatically set the sequence for you
2016-12-09 11:59 <pokoli> mrichez: and you can drag and drop for ordering
2016-12-09 12:03 <mrichez> pokoli: done but not working (drag'n'drop ok, but when i save, order go back initial state), i'll try to unset my field readonly
2016-12-09 12:05 <mrichez> pokoli: initial state: https://snag.gy/yYh98Q.jpg
2016-12-09 12:06 <mrichez> pokoli: after drag 'n' drop second line : https://snag.gy/q86mWk.jpg
2016-12-09 12:07 <mrichez> pokoli: and when i save : https://snag.gy/BPqXN6.jpg
2016-12-09 12:07 <pokoli> mrichez: can I see the code? field definition and tree view definition?
2016-12-09 12:09 <mrichez> pokoli: http://pastebin.com/vXUvs8NR field used is at the end : quotations
2016-12-09 12:10 <mrichez> pokoli: treeview: http://pastebin.com/uYpU6kSc
2016-12-09 12:11 <mrichez> pokoli: field added on the form: http://pastebin.com/yvjucPKP
2016-12-09 12:13 <mrichez> pokoli: i think it's because of readonly
2016-12-09 12:14 <pokoli> mrichez: how you created the records?
2016-12-09 12:15 <mrichez> pokoli: with the wizard in the code -> def transition_start
2016-12-09 12:15 <pokoli> mrichez: drag and drop is disabled if screen is readonly, which i think is your case
2016-12-09 12:16 <pokoli> mrichez: http://hg.tryton.org/tryton/file/d4a05786df98/tryton/gui/window/view_form/view/list.py#l596
2016-12-09 12:16 <pokoli> mrichez: so the wizard must set the sequence otherwise it will not make sense
2016-12-09 12:16 <mrichez> pokoli: yes, i just check, it seems working now. But is there's a way to keep prevent adding records to a one2many but allowing ordering
2016-12-09 12:17 <pokoli> mrichez: Just give write access but not creation access to the user
2016-12-09 12:17 <pokoli> mrichez: on the target model
2016-12-09 12:18 <mrichez> pokoli: ok, will do that, not yet implemented access rules
2016-12-09 12:18 <mrichez> pokoli: thanks for your help
2016-12-09 12:18 <pokoli> mrichez: you're welcome :)
2016-12-09 12:31 -!- mamcode(~mamcode@190.79.52.46) has joined #tryton
2016-12-09 13:14 -!- mariomop(~quassel@181.90.95.209) has joined #tryton
2016-12-09 14:33 -!- JanGB(~jan@dslb-088-073-246-007.088.073.pools.vodafone-ip.de) has left #tryton
2016-12-09 14:37 -!- mamcode(~mamcode@190.79.52.46) has joined #tryton
2016-12-09 15:05 -!- JanGB(~jan@dslb-088-073-246-007.088.073.pools.vodafone-ip.de) has joined #tryton
2016-12-09 16:51 -!- thaneor(~ldlc6@r179-25-101-234.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-12-09 16:56 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2016-12-09 16:57 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2016-12-09 17:04 -!- perilla(~perilla@corp-190-57-169-210.cue.puntonet.ec) has joined #tryton
2016-12-09 17:36 -!- kstenger(~karla@r167-56-235-175.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-12-09 17:45 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-12-09 18:50 -!- niki(~niki@0x3e2c8614.mobile.telia.dk) has joined #tryton
2016-12-09 18:58 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2016-12-09 19:50 -!- mamcode(~mamcode@190.79.52.46) has joined #tryton
2016-12-09 21:18 <mamcode> Hi, 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?
2016-12-09 21:18 <mamcode> *when I try to assign a value it is disabled and clean the value of the field.
2016-12-09 21:19 <JanGB> mamcode: you are not member of a company
2016-12-09 21:19 <mamcode> mmm ok
2016-12-09 21:19 <JanGB> mamcode: current company set?
2016-12-09 21:19 <mamcode> JanGB: I will to review that
2016-12-09 21:20 <JanGB> mamcode: user settings - current company
2016-12-09 21:28 <mamcode> JanGB: 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)
2016-12-09 21:29 <JanGB> mamcode: did you set if right now? if yes you need to relogin
2016-12-09 21:30 <JanGB> mamcode: defaullt company in price list ist taken from actual context of the user
2016-12-09 21:30 <JanGB> mamcode: if I remember right :)
2016-12-09 21:32 <mamcode> mmm ok
2016-12-09 21:35 <mamcode> JanGB: Thank you for the help :-)
2016-12-09 21:35 <mamcode> It works now
2016-12-09 21:36 <JanGB> mamcode: welcome
2016-12-09 21:36 <mamcode> JanGB: I can set price lists by client ?
2016-12-09 21:36 <JanGB> mamcode: ?
2016-12-09 21:38 <JanGB> mamcode: for a client - yes. you need sale_price_list
2016-12-09 21:38 <mamcode> ok
2016-12-09 21:39 <mamcode> What else does the sale_price_list module adds?
2016-12-09 21:51 <JanGB> mamcode: http://hg.tryton.org/modules/sale_price_list/file/tip/tryton.cfg
2016-12-09 21:52 <mamcode> JanGB: XD
2016-12-09 23:32 -!- perilla(~perilla@corp-190-57-169-210.cue.puntonet.ec) has joined #tryton

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