IRC logs of #tryton for Thursday, 2008-12-04 #tryton log beginning Thu Dec 4 00:00:01 CET 2008
yangoon1bechamel: translation is now under
bechamelyangoon1: thx, i tried several urls but I didn't succeed00:08
bechamelyangoon1: do you know  if we have to ask to the admins if we want to use a new url ?00:08
yangoon1bechamel: I told you before hte change, and it was you who wanted that name...;)00:09
yangoon1bechamel: yes currently we have to ask00:09
yangoon1but they react very quickly if you ping meister on IRC00:10
bechamelyangoon1: yes  (i'm very bad to remember name)00:10
yangoon1bechamel: they want to provide an interface in the future, but I don't think it is finished already00:11
yangoon1bechamel: they wanted to provide a wiki as next, but it is not yet online00:12
bechamelyangoon1: i hope they will provide a clean and simple inteface i'm fed up by all those 2.0 eccentricities00:14
yangoon1bechamel: I think it is not very simple, because there are permission problems00:15
yangoon1and not all tryton related modules are under
bechamelyangoon1: yes I imagine it's not a trivial project00:17
yangoon1party_type of udono and perhaps others00:17
yangoon1bechamel: very good to have docs now online00:18
bechamelyangoon1: yes and I prefer our "skin" over the default sphinx template :)00:19
-!- X0d_of_N0d(i=C-C_C-X@gateway/tor/x-265421abfe29a178) has joined #tryton00:40
-!- igor__(n=igor@ has joined #tryton01:41
-!- igor__(n=igor@ has joined #tryton02:02
-!- juanfer(n=juanfer@ has joined #tryton02:18
-!- ikks_(n=igor@ has joined #tryton02:27
-!- igor__(n=igor@ has joined #tryton02:53
-!- igor__(n=igor@ has joined #tryton03:08
-!- ikks(n=igor@ has joined #tryton03:57
-!- yangoon( has joined #tryton05:18
-!- Timitos(n=Timitos@ has joined #tryton07:02
-!- udono( has joined #tryton07:55
-!- sharkcz( has joined #tryton08:09
-!- Gedd( has joined #tryton08:12
-!- carlos(n=carlos@ has joined #tryton08:46
-!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton08:57
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton10:08
-!- oversize( has joined #tryton10:19
-!- Cristi_an(n=Cristi@ has joined #tryton11:09
-!- ikks(n=igor@ has joined #tryton11:36
-!- bechamel( has joined #tryton12:56
Cristi_anjust a small q13:18
-!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton13:19
Cristi_anis hard to to the table some stripes.13:19
Cristi_anodd line with one coulor13:19
Cristi_aneven linw with other color13:19
cedkCristi_an: I don't understand your question?13:25
Cristi_anhave the background white...13:26
cedkCristi_an: in the client?13:26
Cristi_anhard to follow items in it13:26
cedkCristi_an: in reports?13:26
Cristi_anadding a stripe in client..13:26
cedkCristi_an: it is an option of your gtk theme13:26
Cristi_anfor tables,list...13:26
Cristi_anreally ?13:27
Cristi_annice then...13:27
Cristi_anand is possiible to change that Look and feel ?13:32
Cristi_anthe theme ?13:32
cedkCristi_an: see the documentation of your distribution13:33
Cristi_anguys i really really enjoyt the structure of this application13:53
Cristi_anbut since i came from java environment13:54
Cristi_anif i will start doing it in java will be like water for a fish13:54
Cristi_anpossible to start inside this community a java version ...or this is not desired at all13:55
cedkCristi_an: why ? I don't see the value added13:55
Cristi_anthat is correct,it was just becuase maybe there are othjers java dev interested.13:56
cedkTimitos: hi13:56
Timitoscedk: hi13:57
Cristi_anbut too hard to follwow13:57
cedkTimitos: I have a question about invoice and account move13:57
Timitoscedk: yes?13:58
cedkCristi_an: there is 17,788 SLOC for the client and 13,113 SLOC for the server13:58
cedkCristi_an: I think you will need a lot of times to rewrite all in java13:58
cedkTimitos: I just find that if I put a negative amount for a line in invoice13:58
Cristi_anand double that in java13:59
Cristi_anmaybe triple that13:59
cedkTimitos: the invoice create a move line with a negative debit13:59
cedkTimitos: I'm not sure it is right13:59
cedkTimitos: I think it must create a positive credit13:59
Cristi_anthe only thing i noticed is that copared to java which is considered slow...this is a little bit slower13:59
cedkCristi_an: what is slow?14:00
Timitoscedk: no this is correct. it must be a negative debit14:00
Cristi_anthe UI14:01
Cristi_anopen slow..14:01
Cristi_anstuff like that...14:01
Cristi_anbut very very nice looking14:01
cedkTimitos: are you sure?14:01
Cristi_anand nice functinality...14:01
Timitoscedk: yes.14:01
Timitoscedk: if you put a negative line on invoice it is like cancellation.14:01
cedkTimitos: I don't think so14:02
Timitoscedk: and cancellation must not raise the value of credit14:02
cedkTimitos: I'm working on returnables product14:02
Timitoscedk: its hard for me to explain in english14:02
cedkTimitos: so I create a negative line for the returnables on the supplier invoice14:02
Timitoscedk: i think in tryton for returnables you should use supplier credit note not invoice14:03
cedkTimitos: and I'm not sure that the debit amount from the buy must be reduce with a negative debit14:03
cedkTimitos: but most of the supplier put the all in one invoice14:04
cedkTimitos: like when you go to the markets with your bottles14:05
Timitoscedk: i will try to explain the problem, but you need to wait a little bit as i need to write some lines about that now14:05
cedkTimitos: you have a reduction on the total amount14:05
cedric_bExcuse me for this quick question, id there some one working on french accouting module ?14:05
Timitoswe have to start with handling an invoice14:05
cedkcedric_b: I don't know14:06
Timitosan invoice can have positive and negative values14:06
cedric_bOk thank's anyway14:06
Timitosthe issue is how to handle negative values14:06
Timitosthe negative values must be handled correctly in accounting14:06
Timitoslets look at an customer invoice14:07
Timitosin a customer invoice there is sold a car for 10000 eur14:07
Timitosbut the customer gets a rebate from the seller. lets say 200 eur14:08
Timitosthe seller wants his customer to see the rebate on the invoice14:08
Timitosso he puts -200 eur on the invoice line14:08
cedkTimitos: I'm not sure that it is right to create move line for rebate14:08
Timitosnow we have to look at how this -200 eur must be handled in accounting14:09
Timitoscedk: the problem is that this is the way many invoices are written.14:09
cedkTimitos: I have here a small accounting memo, with many different operations14:09
cedkTimitos: and for rebate, they don't make two account move lines14:10
Cristi_anto both of you : in ro is possible to put the discount as a separate line "Dscount" but also to add displkay that as Discoutn on the pritned invoide near the final sum of the invoice14:10
cedkTimitos: just one of 9800eur14:10
Timitoscedk: yes. this would be the best way. but then we need another way to display rebates on invoices14:10
Timitoscedk: if we find another way for rebates you can handle the negative value with a positive credit14:11
Timitoscedk: we have to find one solution for both because they depend each other14:11
cedkTimitos: the main difficulty I see by handling rebates as invoice line in Tryton14:12
cedkTimitos: is that you must put the right account on it14:12
cedkTimitos: that is why I think we must put rebates on invoice line14:12
Timitoscedk: ok. if you want to got this way you can change the behavior. there is only another issue. and now we come back to credit note and cancellation of invoice14:13
Timitoscedk: i did some research again for cancellation of invoice14:14
cedkTimitos: by the way the tax computation can be wrong also14:14
Timitoscedk: lets talk about that later and lets first bring the first topic to an end14:14
Timitosif you do a credit note the values are positive. then you have positive credit values for customer credit note14:15
Timitoscedk: if you cancel an invoice: yes you are right. we can not do it on the invoice itself. it must be another document. but if there is a cancellation of an invoice it is like an credit note but with negative values. theses values must be in accounting negative debit values for canceling a customer invoice14:17
cedkTimitos: why?14:17
Timitoscedk: so we can handle credit note as it is i think. but we need perhaps another module for cancelling an invoice14:17
Timitoscedk: the problem is the sum of the account.14:18
cedkTimitos: if you receive the first invoice, you supplier will send you a credit note14:18
Timitoscedk: this is the difference of credit note and cancelling an invoice. i will try to explain.14:18
cedkTimitos: for me you can never cancel an invoice14:18
Timitosif you make a credit note for an invoice the sum of credit of the account will raise14:19
Timitoscedk: there are some rather rare case where this is possible14:19
Timitoscedk: because they are rare i think of another module14:19
cedkTimitos: which cases?14:20
cedkTimitos: and if they are really rare, then you make it by encoding by hand the move14:20
Timitosif you write an invoice there should be a business case. in some cases there is written an invoice by fault without any business case14:21
cedkTimitos: you don't open an invoice if you are not sure that you have business14:21
cedkTimitos: you can send Pro-forma14:21
Timitoscedk: ok. i think we should forget the cancellation topic. as there are rare cases we can handle this later if there is really need for.14:22
Timitosso whats about taxes?14:23
cedkTimitos: but do you have an examples of those rare cases14:23
cedkfor taxes, I was talking about rebate with an invoice line14:23
cedkyou must use the same taxes for the lines otherwise you will have a bad computation of taxes14:24
cedkso I think it is one more reason to set rebate on invoice line14:24
Timitoscedk: yes. i agree that rebate must be on invoice line14:24
Timitoscedk: rare cases: wrong handling by the user. the user writes an invoice and wants to click on pro-forma and clicks on "Open Invoice" and so there is an invoice without business case14:27
Timitosto write a credit note is not the handling for something like this in my eyes14:27
Timitoscedric_b: i did an accountchart for germany. if you need some help with an account chart for france you are welcome14:28
cedkTimitos: I talk about this to a accountance once, and he says that it must be done with credit note14:28
Timitoscedk: but the problem is, that you will not have correct values in your accounting. and this is what i tried to explain before. one value is wrong in this case14:29
cedkTimitos: do you think you must create a document for that?14:29
Timitoscedk: in germany we must create a document for that. it must be the copy of the invoice with negative values14:30
cedkTimitos: but sum of credit is not used14:30
Timitosthe wrong value will be the annual debits and credits14:30
cedkfor me it is not wrong as it was due to a human error14:31
Timitosthe annual debit will be higher than it really is14:31
cedkTimitos: it will be the same if you send a invoice to a customer that doesn't accept it14:32
cedkTimitos: so you will send him a credit note14:32
Timitoscedk: this is not the same case. there is a business case and they talk about a credit. so a credit note is ok for that.14:32
Timitoscedk: there is a fine but important difference14:33
Timitoscedk: i think we should try to be better than others but we can also forget this discussion and be not better than the others.14:34
cedkTimitos: but if it is really needed, you can always handle it with manual entry14:35
Timitoscedk: yes. but for a correct handling of this case a document is needed as i mentioned above14:35
Timitoscedk: perhaps we need a tag on the invoice that there is a corresponding credit note (just by the way)14:36
Cristi_anmodules are separate entities from tryton core ?14:49
Cristi_anwhat exaclty is tryton core ?14:51
Cristi_ani just want to udnerstand better the architecture14:51
Cristi_anis tryton core realted to client ,server or both ?14:52
cedkTimitos: ok, can you try to have more information about the legal stuff for cancelation?14:54
Timitoscedk: yes. i will ask a tax advisor again.14:54
cedkCristi_an: Tryton core is composed for now by a server and a GTK client14:55
Cristi_ancedk, and the core...does have any defautl modules ?14:57
Cristi_ancedk, or is empty ready to be plugged in with accountint etc...14:57
Cristi_ancedk, i asume it the client you already have some user rights mangement,windows14:58
cedkCristi_an: just the administartion menu14:59
cedkTimitos: by the way, I think we can make a module that add a check box on invoice to change the behavior with negative lines15:00
Cristi_ancedk, that is precious information for me,so i am able to run that in this "naked form" ?15:00
Cristi_ancedk, naked form meaning without anu modules installed15:01
Timitoscedk: sounds good. this way everybody can decide how he wants to design his invoice. but the correct behavior is to put the rebate on the same invoice line and to handle negative lines a positive credit value as you proposed above. so this should be the basic behavior. everything else can we put on some other modules15:02
cedkTimitos: yes, and perhaps  adding an new invoice type15:03
TimitosCristi_an: you have tryton core when you create a new database and log in this database because no module is installed then15:03
Cristi_anTimitos, thank you very much15:03
Cristi_anfor today is wsas enlogh...15:04
Timitoscedk: new invoice type?15:04
cedkTimitos: by the way there was an issue in invoice because move line from invoice line doesn't care about the sign and tax lines care15:04
cedkTimitos: why not, like cancel invoice15:04
Timitoscedk: this is what i wanted to hear ;-)15:04
Timitoscedk: yes. sounds great15:05
Timitoscedk: what was the issue?15:05
Timitoscedk: i think i know what you mean15:05
cedkTimitos: tax and line doesn't have the same behavior about negative value15:05
Timitoscedk: it has to do with our test of taxes with negative value?15:05
Timitoscedk: yes. with the changes we discussed everything should be equal i think15:06
Timitoscedk: so you will change behavior on invoice line but not on taxes15:06
cedkTimitos: yes15:12
Timitoscedk: ok15:12
Timitoscedk: i talked with udono today about the function "allow cancelling moves" on journal15:15
Timitoscedk: this function can be a problem for moves having to do with an invoice because you can delete moves from an invoice, but not delete the corresponding invoice. perhaps the function should not work for moves with invoices15:16
cedkTimitos: we can add a check15:20
cedkTimitos: put it in roundup15:20
CIA-54tryton: C?dric Krier <> default * 1323:fad319df7991 trytond/TODO: Add some todo's15:41
CIA-54tryton: C?dric Krier <> default * 214:09a110c402ca account_invoice/ Invert debit/credit for invoice line move with negative amount15:41
CIA-54tryton: C?dric Krier <> default * 215:0f16ece1b2e1 account_invoice/invoice.xml: Add currency_digits in all invoice line views15:41
CIA-54tryton: C?dric Krier <> default * 391:dad7ac58dfbd stock/ ( Improve default value for location and handle for outgoing with supplier15:41
CIA-54tryton: C?dric Krier <> default * 196:4e70ca8e988c account_invoice/ Invert debit/credit for invoice line move with negative amount15:42
CIA-54tryton: C?dric Krier <> default * 378:765692f4c024 stock/ Handle average price for products return to supplier15:42
CIA-54tryton: C?dric Krier <> default * 379:cf2439822a7b stock/CHANGELOG: Add missing changelog15:42
cedkTimitos: I push the fix15:46
Timitoscedk: thx. i will try. but perhaps not yet as i need to leave soon15:46
cedkTimitos: don't forget roundup15:47
Timitoscedk: yes.15:47
CIA-54tryton: Timitos roundup * #641/problem with "allow canceling moves" for moves of invoices: [new] this function can be a problem for moves having to do with an invoice because you can delete moves from an invoice, but not delete the corre ...15:49
yangoonTimitos: cedk just testting with credit notes after reading your discussion15:52
yangoonit is cuurently possible to credit an invoice multiple times, and such credit more than delivered15:53
Timitosyangoon: i don´t think that we need to handle this15:54
yangoonis this correct by design (responsibilty left to the user)?15:54
yangooncedk Timitos there seems to be different handling of the second credit note looking at general ledger15:56
yangooncould you plesase take a look to the general ledger of the demo15:57
yangooncedk: Timitos the second credit note I made is not registered in column balance15:58
Timitosyangoon: balance means that it is the sum of all records above of the account an 170-170 must always be 0 ;-)16:04
yangoonTimitos: yes, alright, thx, I jumped from accumulated saldo to absolute saldo:(16:11
-!- marmu( has joined #tryton17:12
udonohi marmu17:14
marmui am just trying tryton and i cant add an Employee17:15
marmuare there some issues with that?17:15
udonomarmu: did you have the company module installed?17:16
marmuAttributeError: Couldn't find tag (xpath: /form/notebook/page[@string="General"]) in parent view!17:16
marmui added already a company so i guess yes17:16
marmuyes its installed17:17
udonomarmu: I just tested, in my install it works...17:17
Timitosmarmu: this is an issue:
udonomarmu: which version?17:17
Timitosmarmu: i think you has installed party_type17:17
udonomy module...17:18
Timitosudono: need to leave. sorry. i think you can help marmu. cu later17:18
udonoby Timitos17:18
marmuonly party i see as installed17:18
udonois there a module party_type in you modules list?17:19
marmuno only party i have in the list17:19
udonomarmu: can you give me the complete traceback on paste.pocoo.org17:20
udonomarmu: and post me the link here?17:22
marmusorry tel.17:23
-!- igor__(n=igor@ has joined #tryton17:26
marmumy install is the 1.0 version and modules17:28
marmuplus the hg version of modules with no 1.0 version17:28
bechamelmarmu: hi, which modules did you install from hg17:32
marmushould be timesheet, projekt, project_revenue17:34
marmuif i mixed too much stabel and hg i try a all hg version.17:35
marmu-el +le17:35
cedkmarmu: can you give the complete list of modules installed17:36
marmuyes sec pls+17:38
udonomarmu: but maybe try to restart the server with sudo su <trytonuser> -c "bin/trytond -u all -d <databasename>"17:38
cedkmarmu: with their version number17:39
udonomarmu: btw. you can copy the list of modules from Administration > Modules > Modules17:40
cedkmarmu: and you have the error message when you open employee view ?17:42
marmuno only trying to add a new one17:43
marmuthe view is empty but fine17:43
udonocedk: marmu: it may be project_revenue?!17:43
marmui deinstall it17:43
cedkmarmu: you can not17:43
marmuyes i can not17:44
marmui try a hg only install later, maybe it'll fix17:45
-!- ikks(n=igor@ has joined #tryton17:46
marmuif i like a prefork module in tryton, is there a best practice?17:46
udonomarmu: candidates for the fault are: project_revenue, purchase, sale, account_product, they use /form/notebook/page[@string=&quot;General&quot;]17:47
udonomarmu: request here for experiences.17:47
udonomarmu: prefork = prerelease?17:47
marmuno openerp17:48
cedkmarmu: The only possibility that I see, is that you have installed or updated the module company version 1.117:48
marmumodule list shows me 1.0.217:48
marmuill check17:49
udonomarmu: openerp modules doesn't work on tryton. But you can try to rewrite them. But firstly I would check if they are good...17:50
marmuits 1.0.217:51
marmuok thought so17:53
udonomarmu, best way ist to install a new database and don't use pre-release modules without requesting.17:55
marmuyes just installing a hg only version17:56
-!- Cristi_an__(n=Cristi@ has joined #tryton18:25
-!- ikks_(n=igor@ has joined #tryton18:25
CIA-54tryton: C?dric Krier <> default * 1324:0e018e5bd4ba trytond/TODO: Add todo for _constraint18:26
CIA-54tryton: C?dric Krier <> default * 1325:8c203ffa68a4 trytond/trytond/ (res/ res/ wkf_service/ Add get_groups with cache on res.user for workflow check of groups18:26
CIA-54tryton: C?dric Krier <> default * 1326:3aeda452463a trytond/trytond/tools/ Improve Cache when function return None or False18:26
CIA-54tryton: C?dric Krier <> default * 392:80626602e10b stock/ Fix set_xxx_moves when value is False18:35
CIA-54tryton: C?dric Krier <> default * 380:294668ff051a stock/ Fix set_xxx_moves when value is False18:35
-!- ikks_(n=igor@ has joined #tryton18:58
marmuthanks a lot for the help!19:39
udonomarmu: welcome19:51
marmuTrying to create a Sequence with a chosen Company throws a Invalid Prefix/Suffix Error. without a selected Company it works20:00
-!- cedric_b( has joined #tryton20:15
-!- ikks_(n=igor@ has joined #tryton20:54
X0d_of_N0dACTION waves at ikks 21:02
cedkmarmu: is your user in that company?21:43
marmuno it wasnt.22:34
X0d_of_N0ddoes anyone know anything about workcenters? I'd like to know what the difference between the workcenter types are22:39
X0d_of_N0dACTION looks around....22:39
X0d_of_N0dI posted that in the wrong channel, but I was kind of wondering if tryton has any mrp stuff set up yet.22:41
TimitosX0d_of_N0d: no there isn´t mrp stuff yet for tryton22:42
-!- nicoe( has joined #tryton23:09
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton23:26
cedkmarmu: It must be fixed with the changeset 2726ed481a24 of company module23:27
-!- cedk_( has joined #tryton23:28
-!- cedk_( has left #tryton23:32

Generated by 2.11.0 by Marius Gedminas - find it at!