chat.freenode.net #tryton log beginning Thu Jul 13 00:00:01 CEST 2017 | ||
2017-07-13 00:14 <jcm> cedk: found: the path for config file must be absolute, not start with ~ | ||
2017-07-13 00:21 <cedk> jcm: I guess a patch will be welcome to expanduser | ||
2017-07-13 00:22 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton | ||
2017-07-13 00:24 <cedk> created issue6637 | ||
2017-07-13 01:44 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2017-07-13 02:02 -!- cryptic(~cryptic@67-8-35-31.res.bhn.net) has joined #tryton | ||
2017-07-13 02:40 -!- cryptic(~cryptic@67-8-35-31.res.bhn.net) has joined #tryton | ||
2017-07-13 03:25 -!- thaneor(~ldlc6@r179-25-162-135.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-07-13 04:08 -!- csotelo(~csotelo@2001:1388:49c7:32d5:c390:e3f4:bf8f:a93a) has joined #tryton | ||
2017-07-13 04:31 -!- zmijunkie1(~Adium@p200300CC23CD400041A6E8E58DC8EE49.dip0.t-ipconnect.de) has joined #tryton | ||
2017-07-13 04:31 -!- robinak(~quassel@unaffilated/robink) has joined #tryton | ||
2017-07-13 05:18 -!- kstenger1(~karla@r186-54-43-192.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-07-13 07:19 -!- flachtassekasse(~flachtass@5.104.149.54) has joined #tryton | ||
2017-07-13 07:47 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton | ||
2017-07-13 08:02 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | ||
2017-07-13 08:41 -!- rpit(~rpit@aftr-37-24-145-228.unity-media.net) has joined #tryton | ||
2017-07-13 08:52 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2017-07-13 08:56 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | ||
2017-07-13 09:19 -!- udono(~udono@185.22.140.120) has joined #tryton | ||
2017-07-13 09:37 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | ||
2017-07-13 10:52 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton | ||
2017-07-13 11:56 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton | ||
2017-07-13 12:35 <csotelo> hello 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 ? please | ||
2017-07-13 12:37 <pokoli> csotelo: can you post the full traceback? | ||
2017-07-13 12:37 <csotelo> pokoli, sure | ||
2017-07-13 12:37 <csotelo> give 2 minutes | ||
2017-07-13 12:43 -!- mariomop(~quassel@181.93.53.228) has joined #tryton | ||
2017-07-13 12:46 <csotelo> pokoli, https://pastebin.com/s0eE6yCJ | ||
2017-07-13 12:52 <pokoli> csotelo: the problem is that the model is not a subclass of ModelView | ||
2017-07-13 12:52 <cedk> csotelo: be careful, if you add it you must add access rights | ||
2017-07-13 12:53 <csotelo> pokoli, which model? | ||
2017-07-13 12:54 <csotelo> pokoli, , InvoicePaymentLine ? | ||
2017-07-13 12:54 <pokoli> csotelo: account.invoice-account.move.line | ||
2017-07-13 12:55 <csotelo> pokoli, I have this model definition as class InvoicePaymentLine:, do you mean as class InvoicePaymentLine(ModelView): | ||
2017-07-13 12:55 <csotelo> cedk, I guess I get lost on access rights? Must I add it on my xml module??? | ||
2017-07-13 13:02 <cedk> csotelo: Model without ModelView are not accessible from RPC | ||
2017-07-13 13:02 <cedk> so we rely on this to not care about access for such technical models | ||
2017-07-13 13:03 <cedk> but if you decide to add it ModelView, you must take care of giving proper access right otherwise any user could access it | ||
2017-07-13 13:21 <csotelo> cedk, I see | ||
2017-07-13 13:22 <csotelo> cedk, 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" view | ||
2017-07-13 13:28 <pokoli> csotelo: You should probably want to show the account.move.line but not the Many2Many relation | ||
2017-07-13 13:33 <pokoli> cedk: how can I make the Function field getter be called with two records on unitest? | ||
2017-07-13 13:33 <csotelo> pokoli, yes | ||
2017-07-13 13:34 <pokoli> cedk: that's my current code: https://pastebin.com/MKZqChnR which does not raise the error with MissingFunction | ||
2017-07-13 13:36 <cedk> pokoli: it must be called for both ids | ||
2017-07-13 13:36 <csotelo> that 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 .. | ||
2017-07-13 13:36 <csotelo> I gues I have found the error | ||
2017-07-13 13:36 <csotelo> I will try it at office | ||
2017-07-13 13:36 <csotelo> time to go out | ||
2017-07-13 13:45 <pokoli> cedk: but If i call it for both ids, it won't be possible to apply the same test with properties | ||
2017-07-13 13:47 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton | ||
2017-07-13 13:53 -!- smarro(~sebastian@181.16.7.104) has joined #tryton | ||
2017-07-13 13:57 -!- flachtassekasse(~flachtass@5.104.149.54) has joined #tryton | ||
2017-07-13 15:05 -!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton | ||
2017-07-13 15:27 -!- deep-book-gk_(~1wm_su@94.242.252.58) has joined #tryton | ||
2017-07-13 15:28 -!- thaneor1(~ldlc6@r179-25-50-151.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-07-13 15:28 -!- deep-book-gk_(~1wm_su@94.242.252.58) has left #tryton | ||
2017-07-13 15:30 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2017-07-13 15:40 -!- alexbodn(~alex@213.57.190.189) has joined #tryton | ||
2017-07-13 16:29 -!- kstenger(~karla@r186-54-43-192.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-07-13 17:09 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton | ||
2017-07-13 17:19 -!- kstenger1(~karla@r186-54-188-60.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-07-13 18:31 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton | ||
2017-07-13 19:45 -!- kstenger(~karla@r186-54-188-60.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-07-13 21:11 -!- mariomop(~quassel@181.93.53.228) has joined #tryton | ||
2017-07-13 21:29 -!- smarro(~sebastian@181.16.7.104) has joined #tryton | ||
2017-07-13 22:00 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | ||
2017-07-13 22:39 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2017-07-13 23:13 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!