IRC logs of #tryton for Wednesday, 2013-08-07

chat.freenode.net #tryton log beginning Wed Aug 7 00:00:02 CEST 2013
2013-08-07 00:34 <cedk> plantian: you have to add the parent field name at the end
2013-08-07 00:53 <cedk> plantian: http://doc.tryton.org/2.8/trytond/doc/topics/domain.html?highlight=child_of#child-of
2013-08-07 04:58 <plantian> cedk: thanks, I think I got it with Product.search([('category', 'child_of', [parent_category.id], "childs")])
2013-08-07 07:45 -!- sharoonthomas(~sharoonth@122.177.34.216) has left #tryton
2013-08-07 08:08 <zhulikas> hey fellas
2013-08-07 08:08 <zhulikas> I am wondering how hard would it be to write a client library for tryton
2013-08-07 08:09 <zhulikas> a library which lets interacting with tryton data over xml-rpc in java or c#
2013-08-07 08:09 <zhulikas> with some abstraction level in library end
2013-08-07 08:21 <zhulikas> I'm kinda interested in custom application development on tryton but don't want to rely on standartized client
2013-08-07 08:21 <zhulikas> and only implement the parts of the application I want in a way I want
2013-08-07 09:07 -!- priyankarani(~priyanka@122.177.34.216) has left #tryton
2013-08-07 09:37 <priyankarani> cedk: while creating invoice for sale order facing issue related to properties saying "('UserError', ('Sale "%(sale)s" misses an "account revenue" default property.', ''))". what could be the reason?
2013-08-07 09:37 <cedk> priyankarani: I think the message is quite obvious
2013-08-07 09:38 <cedk> priyankarani: you don't have a default account revenue
2013-08-07 09:40 <priyankarani> cedk: where it should be set?
2013-08-07 09:55 <cedk> priyankarani: it was asked on chart of account creation
2013-08-07 09:55 <cedk> priyankarani: for now, we don't have an easy access
2013-08-07 09:56 <cedk> priyankarani: just: Aministration>Models>Default Propertis
2013-08-07 10:10 <priyankarani> cedk: I'm facing this issue while running tests and account chart properties are set as https://github.com/tryton/account/blob/develop/tests/test_account.py#L112. This issue occurs while creating invoice for sale order that has sale line without product.
2013-08-07 11:36 <sisalp> sharoonthomas: pip install trytond_nereid_catalog breaks a Trytond 2.8 server by reinstalling previous versions of modules
2013-08-07 11:37 <sharoonthomas> sisalp: since you have not specified the version to install, it installs the latest version on PYPI which is 2.6.0.3
2013-08-07 11:39 <sisalp> sharoonthomas: do you think it is approppriate ?
2013-08-07 11:40 <sisalp> sharoonthomas: the installation uninstalls parts of Trytond 28 and reinstallsparts of Trytond 26 which has no chance to succeed
2013-08-07 11:41 <sisalp> sharoonthomas: and Trytond is no longer operationnal of course
2013-08-07 11:42 <sisalp> sharoonthomas: the expected behavior would be that only trytond_nereid_catalog is not operational
2013-08-07 11:43 <sharoonthomas> sisalp: i don't know, but internally i've never seen people use pip to install without specifying versions and this is unfortunately how python packaging works.
2013-08-07 11:48 <sharoonthomas> sisalp: we will be migrating all catalog modules to 2.8 soon BTW
2013-08-07 11:48 <sisalp> sharoonthomas: good
2013-08-07 12:53 <prusglajotemis> Hello. Is it possible to set all the translated language values from one translatable field to another ?
2013-08-07 12:58 <prusglajotemis> and also how can i get the value of prefered language on runtime from translatable field ?
2013-08-07 12:59 <cedk> prusglajotemis: don't understand the first question
2013-08-07 13:00 <cedk> prusglajotemis: for second, it is from the language context
2013-08-07 13:34 <prusglajotemis> When i set the value for example : from product.description to new_product.description and i want that new_product.description would get all the translated values (from product.description)
2013-08-07 13:35 <cedk> prusglajotemis: if you use copy, it does
2013-08-07 13:38 <prusglajotemis> yes i know (not very good example) but if I set from different models
2013-08-07 13:39 <priyankarani> cedk: How to programatically set properties in tests for https://github.com/tryton/sale/blob/develop/sale.py#L1276 ?
2013-08-07 13:41 <cedk> prusglajotemis: look at the copy code
2013-08-07 13:42 <cedk> priyankarani: like any other Model
2013-08-07 13:47 <prusglajotemis> thanks a lot
2013-08-07 14:16 <sisalp> hi, looking for a script called health_demo_server.py, anyone met it recently ?
2013-08-07 14:23 <cedk> sisalp: better to ask on #gnuhealth
2013-08-07 14:23 <cedk> sisalp: #gnu-health
2013-08-07 14:26 <sisalp> cedk: didn't know this room, thank you
2013-08-07 14:50 <priyankarani> cedk: i think what i am facing is a bug in tryton (since v 2.8)
2013-08-07 14:50 <priyankarani> cedk: I just tried creating a new order in the demo server and the sale has line without product
2013-08-07 14:51 <priyankarani> cedk: when i try to process the order it will show the UserError Sale misses an account revenue property
2013-08-07 14:51 <priyankarani> cedk: you can check the order on demo.tryton.org (2.8), the reference is 74
2013-08-07 14:59 <cedk> priyankarani: I don't see any bug, it is just that there is no default account defined
2013-08-07 15:00 <cedk> priyankarani: I just defined one and it works
2013-08-07 15:01 <priyankarani> cedk: let me update my test cases to do the same and i will update here if it works
2013-08-07 15:18 <cedk> priyankarani: a good improvement will be to add them in account configuration like for expense and revunue
2013-08-07 15:44 <priyankarani> cedk: I cant see any field like revenue or expense in account configuration
2013-08-07 19:48 -!- angel_(~chatzilla@222.Red-83-56-177.dynamicIP.rima-tde.net) has left #tryton
2013-08-07 21:30 -!- heg(~heg@dyn.83-228-134-186.dsl.vtx.ch) has left #tryton

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