IRC logs of #tryton for Thursday, 2017-07-13

chat.freenode.net #tryton log beginning Thu Jul 13 00:00:01 CEST 2017
jcmcedk: found: the path for config file must be absolute, not start with ~00:14
cedkjcm: I guess a patch will be welcome to expanduser00:21
-!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton00:22
cedkcreated issue663700:24
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:44
-!- cryptic(~cryptic@67-8-35-31.res.bhn.net) has joined #tryton02:02
-!- cryptic(~cryptic@67-8-35-31.res.bhn.net) has joined #tryton02:40
-!- thaneor(~ldlc6@r179-25-162-135.dialup.adsl.anteldata.net.uy) has joined #tryton03:25
-!- csotelo(~csotelo@2001:1388:49c7:32d5:c390:e3f4:bf8f:a93a) has joined #tryton04:08
-!- zmijunkie1(~Adium@p200300CC23CD400041A6E8E58DC8EE49.dip0.t-ipconnect.de) has joined #tryton04:31
-!- robinak(~quassel@unaffilated/robink) has joined #tryton04:31
-!- kstenger1(~karla@r186-54-43-192.dialup.adsl.anteldata.net.uy) has joined #tryton05:18
-!- flachtassekasse(~flachtass@5.104.149.54) has joined #tryton07:19
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton07:47
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:02
-!- rpit(~rpit@aftr-37-24-145-228.unity-media.net) has joined #tryton08:41
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:52
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:56
-!- udono(~udono@185.22.140.120) has joined #tryton09:19
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton09:37
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton10:52
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton11:56
csotelohello coders. I am tryting to add view_ids="account_invoice.move_line_view_list_payment" on a view field definition from a custom model for a One2Many relatoin ship field for account.invoice-account.move.line, but I get the error account.invoice-account.move.line. Any suggest ? please12:35
pokolicsotelo: can you post the full traceback?12:37
csotelopokoli, sure12:37
csotelogive 2 minutes12:37
-!- mariomop(~quassel@181.93.53.228) has joined #tryton12:43
csotelopokoli, https://pastebin.com/s0eE6yCJ12:46
pokolicsotelo: the problem is that the model is not a subclass of ModelView12:52
cedkcsotelo: be careful, if you add it you must add access rights12:52
csotelopokoli, which model?12:53
csotelopokoli, , InvoicePaymentLine ?12:54
pokolicsotelo: account.invoice-account.move.line12:54
csotelopokoli, I have this model definition as class InvoicePaymentLine:, do you mean as class InvoicePaymentLine(ModelView):12:55
csotelocedk, I guess I get lost on access rights? Must I add it on my xml module???12:55
cedkcsotelo: Model without ModelView are not accessible from RPC13:02
cedkso we rely on this to not care about access for such technical models13:02
cedkbut if you decide to add it ModelView, you must take care of giving proper access right otherwise any user could access it13:03
csotelocedk, I see13:21
csotelocedk, probably I am wrong, but I am taking this pice of code from other model https://pastebin.com/s0eE6yCJ, specifictly from account.invoice to show payment_lines. I trying to use "account_invoice.move_line_view_list_payment" view13:22
pokolicsotelo: You should probably want to show the account.move.line but not the Many2Many relation13:28
pokolicedk: how can I make the Function field getter be called with two records on unitest?13:33
csotelopokoli, yes13:33
pokolicedk: that's my current code: https://pastebin.com/MKZqChnR which does not raise the error with MissingFunction13:34
cedkpokoli: it must be called for both ids13:36
csotelothat is the idea. I just take that piece of code from https://hg.tryton.org/modules/account_invoice/file/3.8/view/invoice_form.xml#l85 and ..13:36
csoteloI gues I have found the error13:36
csoteloI will try it at office13:36
csotelotime to go out13:36
pokolicedk: but If i call it for both ids, it won't be possible to apply the same test with properties13:45
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton13:47
-!- smarro(~sebastian@181.16.7.104) has joined #tryton13:53
-!- flachtassekasse(~flachtass@5.104.149.54) has joined #tryton13:57
-!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton15:05
-!- deep-book-gk_(~1wm_su@94.242.252.58) has joined #tryton15:27
-!- thaneor1(~ldlc6@r179-25-50-151.dialup.adsl.anteldata.net.uy) has joined #tryton15:28
-!- deep-book-gk_(~1wm_su@94.242.252.58) has left #tryton15:28
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton15:30
-!- alexbodn(~alex@213.57.190.189) has joined #tryton15:40
-!- kstenger(~karla@r186-54-43-192.dialup.adsl.anteldata.net.uy) has joined #tryton16:29
-!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton17:09
-!- kstenger1(~karla@r186-54-188-60.dialup.adsl.anteldata.net.uy) has joined #tryton17:19
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton18:31
-!- kstenger(~karla@r186-54-188-60.dialup.adsl.anteldata.net.uy) has joined #tryton19:45
-!- mariomop(~quassel@181.93.53.228) has joined #tryton21:11
-!- smarro(~sebastian@181.16.7.104) has joined #tryton21:29
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:00
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:39
-!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton23:13

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