IRC logs of #tryton for Wednesday, 2012-01-18

chat.freenode.net #tryton log beginning Wed Jan 18 00:00:01 CET 2012
2012-01-18 09:06 -!- pjstevns(~paul@a83-163-46-103.adsl.xs4all.nl) has left #tryton
2012-01-18 11:57 <sisalp> hello, testing python virtual environments : how to desactivate an environment and return to system one ?
2012-01-18 11:58 <nicoe> sisalp: I don't understand your question
2012-01-18 11:59 <marc0s> sisalp: deactivate
2012-01-18 12:07 <sisalp> cd envir; source bin/activate; virtualenv desactivate;
2012-01-18 12:07 <sisalp> is that correct ?
2012-01-18 12:08 <cedk> nicoe: /mark
2012-01-18 12:08 <cedk> nicoe: oops
2012-01-18 12:09 <marc0s> sisalp: cd envir; source bin/activate ; ... work work work .... ; deactivate
2012-01-18 12:10 <marc0s> sisalp: deactivate is an alias (or a function, i don't remember what exactly) that's defined when you source bin/activate
2012-01-18 12:11 <sisalp> marc0s: thank you it works well
2012-01-18 12:12 <marc0s> sisalp: welcome :)
2012-01-18 12:20 <pjstevns> hi all, where are the 'export' actions in the 2.2 client??
2012-01-18 14:57 <sisalp> hello,
2012-01-18 14:57 <sisalp> what replaces default values in Tryton ?
2012-01-18 15:01 <jcm> hi, I don't find in the code where the default language for report translation is defined
2012-01-18 15:01 <sisalp> jcm: I think there is not such a thing
2012-01-18 15:01 <jcm> I have a server with fr_FR.utf8 locale, a company with fr defined as language, and the reports output in english...
2012-01-18 15:02 <sisalp> jcm: default is "no translation"
2012-01-18 15:02 <jcm> ah, yes, probably ;-)
2012-01-18 15:02 <jcm> would you agree that by default the translation language should be the company's one ?
2012-01-18 15:03 <jcm> "by default" meaning when there's no party implied or that the party's language is not defined
2012-01-18 15:12 <nicoe> sisalp default values are found by calling a method on the object
2012-01-18 15:13 <nicoe> sisalp: the name of the method must follow a pattern: "default_<name of the field>"
2012-01-18 15:13 <cedk> jcm: http://codereview.tryton.org/198001/
2012-01-18 15:13 <cedk> jcm: this is a patch to allow to define the default language
2012-01-18 15:13 <cedk> jcm: just waiting testing
2012-01-18 15:15 <jcm> cedk: very good !
2012-01-18 15:16 <jcm> cedk: only quesiotn about codereview testing: is it possible to test this on a 2.2 or should it be done on trunk with last trunk client ?
2012-01-18 15:17 <cedk> jcm: patch is based on trunk but perhaps it could apply on 2.2
2012-01-18 16:16 <sharoon> cedk: None to False ? in RPC ?
2012-01-18 16:17 <cedk> sharoon: yeps
2012-01-18 16:17 <cedk> sharoon: indeed it is already the case in many places
2012-01-18 16:17 <sharoon> cedk: cool
2012-01-18 16:19 <cedk> sharoon: indeed, I'm working on getting the save button activated when you start changing the first field
2012-01-18 16:19 <cedk> sharoon: but for that, I need to get a clean comparison way
2012-01-18 16:19 <cedk> sharoon: and now, we got a lot of None vs False comparison
2012-01-18 16:19 <sharoon> cedk: got it
2012-01-18 16:19 <cedk> sharoon: so I will change it to use everywhere None
2012-01-18 16:20 <sharoon> cedk: i think that will be a nice change :)
2012-01-18 16:22 <cedk> sharoon: I just had a look at your fleet_management
2012-01-18 16:22 <cedk> sharoon: I see the fleet.asset
2012-01-18 16:22 <sharoon> cedk: yes
2012-01-18 16:23 <cedk> and I'm thinking it is almost the same as the expense.type of http://codereview.tryton.org/178006/
2012-01-18 16:23 <cedk> I'm wondering if we should not have a generic asset module
2012-01-18 16:23 <sharoon> cedk: +1 for a generic asset module
2012-01-18 16:24 <sharoon> that would be a beginning for more asset management things like deprecation etc
2012-01-18 16:25 <sharoon> cedk: i think its a very close match
2012-01-18 16:26 <sharoon> cedk: wish i had paid more attention to the code review beforeā€¦. it is exactly what we need and we should really have extended on this functionality
2012-01-18 16:26 <cedk> sharoon: perhaps it should be product
2012-01-18 16:27 <sharoon> cedk: i think using product is too much of a generalisation
2012-01-18 16:28 <sharoon> cedk: though we use it
2012-01-18 16:28 <sharoon> cedk: u had a proposal to have these modules on code review on a repository, do you already have it ?
2012-01-18 16:30 <cedk> sharoon: for me, the only issue to get asset as product is about the stock accounting
2012-01-18 16:31 <sharoon> cedk: yes
2012-01-18 16:32 <cedk> sharoon: the question is: would we want to see asset in Purchase/Sale/Invoice ?
2012-01-18 16:34 <sharoon> cedk: why would we wan to use it that way ?
2012-01-18 16:34 <cedk> sharoon: I don't know
2012-01-18 16:34 <cedk> sharoon: sometimes you can sale some assets but it is not often
2012-01-18 16:35 <sharoon> cedk: I think that will mess up accounting unless we override the selection of accounts for move creation
2012-01-18 16:37 <sharoon> cedk: and what is unit in the expense.type ?
2012-01-18 16:37 <sharoon> cedk: or what we propose as asset ?
2012-01-18 16:38 <cedk> sharoon: when you buy stuffs, you get a quantity that need a unit
2012-01-18 16:39 <sharoon> cedk: got it
2012-01-18 16:40 <sharoon> cedk: saw your comment on the code review, are you proposing to have the asset in expense module or a new module with just asset definition
2012-01-18 16:41 <cedk> sharoon: a new module with just asset
2012-01-18 16:41 <cedk> sharoon: and later improved to have depreciation
2012-01-18 16:41 <sharoon> cedk: nice and same specification as expense.type ?
2012-01-18 16:42 <cedk> sharoon: almost
2012-01-18 16:42 <cedk> sharoon: I think we will need a expense_account but also an income_account
2012-01-18 16:44 <sharoon> cedk: and what about the asset value of the asset (a Fixed Asset/Current Asset Balance sheet account)
2012-01-18 16:46 <cedk> sharoon: I think we need an asset.type and an asset
2012-01-18 16:46 <cedk> sharoon: asset.type is like the expense.type define the accounting etc.
2012-01-18 16:46 <cedk> sharoon: and asset is the instance of an asset.type
2012-01-18 16:47 <cedk> sharoon: with a value etc.
2012-01-18 16:49 <sharoon> cedk: ok
2012-01-18 16:49 <cedk> sharoon: I'm just thinking on irc
2012-01-18 16:50 <sharoon> ACTION thinking aloud on IRC
2012-01-18 16:54 <sharoon> cedk: might help ? http://help.sap.com/saphelp_47x200/helpdata/EN/4f/71d9f6448011d189f00000e81ddfac/frameset.htm
2012-01-18 16:57 <sharoon> cedk: i think what we called asset.type is what SAP calls Asset Class. see http://help.sap.com/saphelp_47x200/helpdata/EN/4f/71d9f6448011d189f00000e81ddfac/frameset.htm
2012-01-18 16:59 <cedk> sharoon: twice the same link, I think you must give the link of the frame
2012-01-18 17:00 <sharoon> cedk: oh sorry, http://help.sap.com/saphelp_47x200/helpdata/EN/4f/71dab8448011d189f00000e81ddfac/content.htm
2012-01-18 17:00 <sharoon> cedk: hope that helps
2012-01-18 17:01 <sharoon> cedk: looks like asset.type (or class) will need a sequence
2012-01-18 17:04 <cedk> sharoon: no sure about sequence
2012-01-18 17:04 <cedk> sharoon: but for sure, asset need to have a number/code
2012-01-18 17:04 <sharoon> cedk: to assign automatic asset codes
2012-01-18 17:04 <cedk> sharoon: indeed asset will be like serial number is to product
2012-01-18 17:04 <sharoon> cedk: yes
2012-01-18 23:27 -!- FWiesing(~franz@mail.tryton.at) has left #tryton

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