IRC logs of #tryton for Monday, 2013-02-11

chat.freenode.net #tryton log beginning Mon Feb 11 00:00:01 CET 2013
sharoonthomascodereview.tryton.org is down!03:37
shalabhaggarwalcedk: Hi, I am trying to create a party from XML data but it always breaks saying ('UserError', (u'The value of the field "Account Payable" on "Party" is not valid according to its domain.', ''))15:56
shalabhaggarwalany ideas how to deal with it?15:56
cedkshalabhaggarwal: don't create party via XML15:57
cedkshalabhaggarwal: it is production data not programming data15:58
cedkshalabhaggarwal: so use an importation script written for example with proteus15:59
cedkshalabhaggarwal: like that you can configure it to use the right user with the right company etc.15:59
shalabhaggarwalcedk: lets say i want to create a carrier with my custom carrier computation module and carrier inherits from party16:02
cedkshalabhaggarwal: idem for carrier it is production data not programming16:03
sharoonthomascedk: codereview.tryton.org is down ?16:46
cedksharoonthomas: then it is google16:48
sharoonthomascedk: is it running off app engine ?16:48
cedksharoonthomas: quota exceeded16:48
sharoonthomascedk: apparently its an "OverQuotaError"16:48
sharoonthomascedk: any way to get the quota increased ?16:48
cedksharoonthomas: paying google16:50
sharoonthomascedk: An item for the next foundation meeting then ?16:51
cedksharoonthomas: but it is some crawler that make more than 1000 request in 24h16:51
cedksharoonthomas: we got 16 IPs like that16:51
sharoonthomascedk: crawler ? who would want to do that ?16:51
cedksharoonthomas: http://codereview.tryton.org/robots.txt16:52
cedksharoonthomas: but doesn't seem to respect it16:52
cedksharoonthomas: even there is one from Google16:53
sharoonthomascedk: interesting16:54
cedksharoonthomas: I will disallow every crawlers for everything16:55
cedksharoonthomas: we don't care so much about referencing patches16:55
cedksharoonthomas: new http://codereview.tryton.org/robots.txt17:01
sharoonthomascedk: its unto the crawler to respect/disrespect robots.txt, so blacklisting is probably the way17:02
cedksharoonthomas: blacklisting is too complex, there are so much17:03
sharoonthomascedk: paying seems to be the way out17:04
cedksharoonthomas: I don't want to pay for robots17:05
cedksharoonthomas: any way the foundation doesn't have the fund now17:08
sharoonthomascedk: how much does it cost per month (approx) do you have any idea ?17:08
cedksharoonthomas: min. $2.10/week17:11
cedksharoonthomas: https://developers.google.com/appengine/docs/billing17:11
cedksharoonthomas: but the best is to host the application ourself17:12
sharoonthomascedk: any way you calculate, you will end up spending more time managing the application ourself17:12
cedksharoonthomas: I'm not sure of that and any way time doesn't cost17:13
cedksharoonthomas: and being out of Google == more freedom17:14
sharoonthomascedk: i can pay for it, if you think its ok (till you have time to move it over or there is an alternate decision)17:14
cedksharoonthomas: ok, I can make you an owner and then you should be able to setup the billing17:19
sharoonthomascedk: thanks17:19
cedksharoonthomas: what is you google account?17:19
sharoonthomassharoon.thomas@openlabs.co.in17:19
cedksharoonthomas: done17:20
sharoonthomascedk: got the email17:21
sharoonthomascedk: i have added my card and enabled billing and the status says activating billing17:26
cedksharoonthomas: ok17:29
sharoonthomascedk: looks like its back up17:35
cedksharoonthomas: quotas have been reset17:43
sharoonthomascedk: yep17:43
coepsHi, can someone give me a hint. Whats the sense of sequence types - related to sequences?22:16
coepsFrom the examples, I bind both to a field in a model. Can I just add more sequencefields to a type? But if yes, why is the type bound to a field?22:22
katrcoeps: What do you mean by "you bind them to a model"?22:57
katrcoeps: You can have multiple sequences for a model, e.g. FiscalYear has more than one sequence.22:58
coepskatr: in module party party.xml I have two records ir.sequence.type and ir.sequence with the fields name> party<.. and code>party.party<. What do I need the type for?23:04
coepsWhat I mean is, that the sequence and the type reference (bind) the same field, model.23:07
coepsMaybe its easier if you just could tell me what sequence type is for. .)23:08
katrcoeps: I think it will be become clear what the types are for if you have a look at "Administration -> Sequences"?23:12
katrOr at the sequence model ir/sequence.py23:13
coepskatr: I did that for sure, but I still miss the relation between the type and the sequence. Is the type just for acess control?23:19
katrI think the misunderstanding is that the sequence is not "bound" to any model at all. You can have a relation field (Many2One) like to any other object but that is not necessarily the case.23:20
cedkcoeps: yeps it is just for access control and prevent mistake when selecting a sequence23:21
katrcoeps: Yes, I would say it just gives another model the possibility to enforce the type of the underlying sequence if you want to make the sequence selectable.23:23
katrcoeps: E.g. the party module adds a sequence type with the code "party.party" and a sequence with that code. In configuration.py it forces the sequence to have the code "party.party" with the domain clause.23:31
coepscedk,katr: Thanks a lot for your help, I am still not sure I understand it completely. I will think and play with it tomorrow, right now I am gaga :). I might bother you again with that stuff ;)23:32
cedkcoeps: I must say the current design is not the properest, it comes from legacy of OpenERP23:35
katrcoeps: In case of parties it doesn't make much sense, but if you have a look at e.g. the accounting module which has different sequences for different fiscal years it makes perfect sense.23:35
cedkcoeps: it was already rework a little bit to make it functional but there are rooms for improvement and clarication23:36
katrcoeps: E.g. it's always the same code 'account.move' (type) but the actual sequence changes from year to year.23:37
coepscedk: What I see so far from Tryton, you guys will come up with a perfect solution soon. I really think that framework is awesome.23:38
cedkcoeps: it will be perfect when there will be nothing to remove23:39
coepscedk, katr: While trying to get the sequencing right, I struggle with the the following error: 'coeps_saccounting.configuration' is not in list'- From that little info, can you give me a hint where to start debugging. ? Just a hint, nothing more :)23:42
coepsIt comes from the xml and is thrown in the client when clicking the menu entry, where a form is bound to23:44
cedkcoeps: I guess it is the list of the reference field23:44
coepscedk,katr: Thank you for your time.23:46

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