chat.freenode.net #tryton log beginning Fri Jan 29 00:00:02 CET 2016 | ||
2016-01-29 06:45 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton | ||
2016-01-29 07:40 -!- frispete_(~frispete@p54A9086D.dip0.t-ipconnect.de) has joined #tryton | ||
2016-01-29 07:49 -!- VlijmenFileer(~VlijmenFi@139.192.169.245) has joined #tryton | ||
2016-01-29 07:54 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2016-01-29 07:58 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | ||
2016-01-29 08:19 -!- kstenger1(~karla@r190-134-51-21.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2016-01-29 08:19 -!- tbruy337(~smuxi@mail.saluc.com) has joined #tryton | ||
2016-01-29 08:19 -!- tbruyere__(~smuxi@mail.saluc.com) has joined #tryton | ||
2016-01-29 08:19 -!- tbruyere_(~smuxi@mail.saluc.com) has joined #tryton | ||
2016-01-29 08:46 -!- udono(~udono@ip-37-201-247-16.hsi13.unitymediagroup.de) has joined #tryton | ||
2016-01-29 08:49 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | ||
2016-01-29 09:31 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton | ||
2016-01-29 09:42 -!- bechamel(~Adium@host-95-182-199-152.dynamic.voo.be) has joined #tryton | ||
2016-01-29 10:35 -!- nicoe(~nicoe@2001:6f8:3aa:2:ee55:f9ff:fe7b:f7ac) has joined #tryton | ||
2016-01-29 10:57 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton | ||
2016-01-29 11:13 -!- yangoon(~mathiasb@p54986768.dip0.t-ipconnect.de) has joined #tryton | ||
2016-01-29 11:22 -!- yangoon(~mathiasb@p5B0D93CC.dip0.t-ipconnect.de) has joined #tryton | ||
2016-01-29 11:41 <csotelo> hello dear coder, I am working on invoicing payment, I need to add some fields values when an invoice is paid, I mean, I am working on paiyment types, buty just at the moment on do the payment, no on before | ||
2016-01-29 11:42 <csotelo> then, before marked an invoice as "paid" I need to save some fields, then I am looking for the method or process that make mark the invoice as 'paid' in order on customize this method to add my fields values | ||
2016-01-29 11:43 <csotelo> my question is, wich ,class / method mark an invoice as 'paid'? thanks a lot | ||
2016-01-29 11:44 <cedk> csotelo: paid | ||
2016-01-29 11:45 <csotelo> I am looking for that, probably I am missconfusing something... let me check again | ||
2016-01-29 11:47 <csotelo> cedk, what I have found on pid was "def paid(cls, invoices): pass" I gues I am lossing something else | ||
2016-01-29 11:48 <cedk> csotelo: so what is the problem? | ||
2016-01-29 11:48 <csotelo> cedk, I am trytong to understand how is the invoice marked as 'paid', | ||
2016-01-29 11:49 <csotelo> transition do that? "@Workflow.transition('paid')" | ||
2016-01-29 11:50 <cedk> csotelo: yes | ||
2016-01-29 11:50 <csotelo> I understood, I continue learning | ||
2016-01-29 11:51 <csotelo> then, If I wnat to add some behavior on the 'paid' thanksition, what I must to edit is "def paid", right? | ||
2016-01-29 11:52 <cedk> csotelo: probably | ||
2016-01-29 11:54 <csotelo> What I need to do is: when customers paid an invoice, they sometime paid on different ways, for exmaple: the invoice is for USD 30, but I just have a chas of USD 20, then I will payment of USD 20 on cash and USD 10 using my credit card, then I need to have theses payments ways stored on a table for make a report on how invoiced on a day were payed and how much of cash and how much cards | ||
2016-01-29 11:54 <csotelo> chas := cash | ||
2016-01-29 11:55 <cedk> csotelo: no development is needed | ||
2016-01-29 11:55 <cedk> csotelo: just use different journal | ||
2016-01-29 11:56 <csotelo> on the class PayInvoice I have a method named "transition_pay", I could add these information here, but I guess is part of paid method | ||
2016-01-29 11:56 <csotelo> I see | ||
2016-01-29 11:57 <csotelo> I was reading about that, but I have seen that , when I paid an invoice, I just could use one journal at once | ||
2016-01-29 11:58 <csotelo> then hou could I use more than journal at once? | ||
2016-01-29 11:58 <csotelo> per invoice | ||
2016-01-29 11:59 <cedk> csotelo: no but it is not a problem | ||
2016-01-29 11:59 <cedk> csotelo: regiter 20$ cash and after 10$ credit card | ||
2016-01-29 12:03 <csotelo> I mean, I understand I could do that, but registering USD 20 ( less than the invoice amount of USD 30 ) means that I must do an extra process for the invoice, that usually is complex for a cashier, I need a way to make these task as simple as possible, tryton to .. for exmaple, let the cashiers just add payments as lines of payments, and.. on back of the app, do the rest of the process | ||
2016-01-29 12:05 <cedk> csotelo: the pay wizard is very simple, I don't see how you can make it simplier | ||
2016-01-29 12:05 <cedk> csotelo: but it is not made fo cashier | ||
2016-01-29 12:05 <cedk> csotelo: it is not a POS | ||
2016-01-29 12:06 <csotelo> yes, I know is no for a cashier, I am trygin to make it as simple for a cashier without writing to much code | ||
2016-01-29 12:07 <csotelo> I mean, I just want to write as few code as possible | ||
2016-01-29 12:07 <cedk> csotelo: It is damn simple so write no code | ||
2016-01-29 12:08 <csotelo> as you write on before, is no for cahier, is for an account | ||
2016-01-29 12:08 <csotelo> simple for an account | ||
2016-01-29 12:08 <csotelo> no for a cashier | ||
2016-01-29 12:08 <csotelo> for a cashier, is too much science | ||
2016-01-29 12:09 <csotelo> what I have not do full POS module, cause this involves selling and selling involves other process | ||
2016-01-29 12:10 <csotelo> I just want to use these simple invoiocing process and make it simple for a cashier | ||
2016-01-29 12:10 <cedk> csotelo: this is false, casher has exactly the same workflow | ||
2016-01-29 12:10 <csotelo> considering that most of the values could eb configurable at once | ||
2016-01-29 12:10 <cedk> csotelo: you register one payment and the another and then anthor until paid | ||
2016-01-29 12:11 <cedk> I stop arguing here | ||
2016-01-29 12:11 -!- mariomop(~quassel@181.88.217.217) has joined #tryton | ||
2016-01-29 12:11 <csotelo> hmmmm.. then probably I am wrong on someting | ||
2016-01-29 12:12 <csotelo> cedk, sorry, I dont want to disturbe you, just ..I was trying to make something that I was guessing was wrong after talk to you | ||
2016-01-29 12:43 <csotelo> cedk, I was reading about that, just one more question, is possible to define journals based on payment types? I mean, I wasn t to pay USD of #= using cash ( Cash journal ), the as default ( no needed to assign ) the cash journal is selected, and if I do a card payment a journal is set also by default, no needed to select, Is possible to do that? | ||
2016-01-29 12:45 <cedk> csotelo: I don't understand the sentences | ||
2016-01-29 12:46 <aroncero> csotelo: the journal is the "payment type" itself | ||
2016-01-29 12:48 <csotelo> going back to your suggestion on, for pay an invoice of USD 30, with two different payments, one of USD 20 and other one of USD 10 with a credit card, then I must register two payments with different journals, right | ||
2016-01-29 12:48 <csotelo> aroncero, thanks | ||
2016-01-29 12:48 <csotelo> sorry for continue makeing questions, I want to have it clear, please | ||
2016-01-29 12:49 <aroncero> csotelo: you must "pay" the invoice "twice" | ||
2016-01-29 12:49 <aroncero> csotelo: first 20 with cash journal | ||
2016-01-29 12:49 <aroncero> costelo: then 10 with credit card journal | ||
2016-01-29 12:50 <csotelo> aroncero, until here, I have it clear | ||
2016-01-29 12:52 <csotelo> Then I could have , for exmaple: this journals: [Cash, Visa, MasterCard]? | ||
2016-01-29 12:54 <csotelo> sorry for these dumb question | ||
2016-01-29 12:54 <csotelo> juts looking for havit clear | ||
2016-01-29 12:54 <aroncero> csotelo: yes, you can | ||
2016-01-29 12:55 <csotelo> the reason on tryton to create "payment types" as lines of payment is that I have seen payment_type module | ||
2016-01-29 12:55 <csotelo> then, as I understand Is no needed | ||
2016-01-29 12:57 <csotelo> one more dumb question:wich table stores the payments register? | ||
2016-01-29 12:58 <cedk> csotelo: there is no standard payment_type module | ||
2016-01-29 12:58 <csotelo> cedk, I just understood that, I have seen that on bitbucket | ||
2016-01-29 12:58 <csotelo> I guess is no needed then | ||
2016-01-29 12:59 <cedk> csotelo: I think this module define wrong concepts | ||
2016-01-29 12:59 <aroncero> costelo: i suppose a payment_type_module is to define multiples workflows for a payment | ||
2016-01-29 12:59 <csotelo> ANd my knowledge on account is poor | ||
2016-01-29 12:59 <aroncero> csotelo: but it is a assumption | ||
2016-01-29 13:00 <csotelo> aroncero, no.. I was reading it, what is true is that, credit card payment have a different behavior or something like that | ||
2016-01-29 13:01 <csotelo> I have been reading about that, probably I am wrong, a cash payment just go to the cash account entry, but on credit card involves other issues like the fees for the card | ||
2016-01-29 13:02 <csotelo> have a diffrerent work flow | ||
2016-01-29 13:02 <csotelo> but my accounting knowledge is not enough yet for process it, until now I was trying to manage as simple cash, and havit clear on multiple payment for an invoice | ||
2016-01-29 13:02 <cedk> csotelo: you don't register the fees on the payment but when you receive your statement | ||
2016-01-29 13:03 <csotelo> then I will study more for crdir card | ||
2016-01-29 13:03 <csotelo> cedk, until that is clear for me | ||
2016-01-29 13:03 <csotelo> now ( I gues so ) | ||
2016-01-29 13:05 <csotelo> on the statementes ( one more thing is no yet clear for me ) I gues I need an accounting copurse urgent | ||
2016-01-29 13:05 <aroncero> csotelo: fees are not from your client, they are from your bank | ||
2016-01-29 13:06 <aroncero> csotelo: so you must create another account move for thats fees | ||
2016-01-29 13:06 <csotelo> then I just assigning to a different journal is ok, right? | ||
2016-01-29 13:07 <aroncero> yes | ||
2016-01-29 13:13 <csotelo> what do you about having on the payment wizard multiple payment vregister instead just one? I mean, like a grid that let the person responsible on the payments regiter multiple payment and have the way on know when the meney is wnough or he must give a money change | ||
2016-01-29 13:27 <aroncero> csotelo: you can make a new wizard to do that, but i think the normal method in a company is like this now | ||
2016-01-29 13:28 -!- yangoon(~mathiasb@p5B0D93CC.dip0.t-ipconnect.de) has joined #tryton | ||
2016-01-29 13:29 <csotelo> aroncero, I am writing it for a customer, it must have a similar behavior like a POS | ||
2016-01-29 13:29 <csotelo> but is not a POS | ||
2016-01-29 13:30 <csotelo> all works ok, but cahiers need something like the behavior description on before | ||
2016-01-29 13:32 <csotelo> where they receive payments on Soles ( Peruvian money ), Dolars, Credit and Debit, if there is money change, they could know that | ||
2016-01-29 13:33 -!- frispete(~frispete@p54A9086D.dip0.t-ipconnect.de) has joined #tryton | ||
2016-01-29 13:40 <aroncero> csotelo: you can make payments in different currencies and different journals, so you can write a wizard to make different payments in a unique form | ||
2016-01-29 13:42 <csotelo> yes, something that I forget to write you is, if I pay on a different currency form the company, I must do the conversion and register as the normal currency, Then if I pay with USD I must convert to SOl and regiter on SOl | ||
2016-01-29 13:46 <aroncero> csotelo: tryton do it, you must define a USD - SOI value | ||
2016-01-29 13:47 <aroncero> csotelo: i receive payement in EUR and GBP | ||
2016-01-29 13:48 <aroncero> csotelo: and it works out of the box | ||
2016-01-29 13:54 <csotelo> yes, I have seen the method "compute" | ||
2016-01-29 13:55 <csotelo> I also use it to manage other more currency rates I live it :) | ||
2016-01-29 13:55 <csotelo> love* | ||
2016-01-29 13:55 <csotelo> for exmaple, here is common to use 4 different currecy rates | ||
2016-01-29 13:59 <csotelo> 2 of them for the taxes authority ( buying and selling ) for USD and EUR, and street rate ( buying and selling ), when a customer pay on foreign currency, the company compute based on street buying, but when company pay on foreign, computes as selliing, but for tax autority must use selling rate privided for them | ||
2016-01-29 13:59 <csotelo> Then I have over ride the compute method :) | ||
2016-01-29 14:00 <csotelo> over write* | ||
2016-01-29 14:21 -!- smarro(~sebastian@190.105.71.186) has joined #tryton | ||
2016-01-29 14:55 <aroncero> can be a tree view grouped by criteria? | ||
2016-01-29 14:56 <aroncero> similar to "Open Chart of Accounts" but in a tree view | ||
2016-01-29 14:57 <cedk> aroncero: order by what you want | ||
2016-01-29 14:58 <cedk> aroncero: but if you want aggregation, you have to create a Model for that using table_query | ||
2016-01-29 14:59 <cedk> and if you want to display different Model in the same view, you can use UnionMixin | ||
2016-01-29 14:59 <aroncero> cedk: thanks, i will read about it | ||
2016-01-29 15:00 <aroncero> cedk: but sounds it is complicated | ||
2016-01-29 15:00 <aroncero> cedk: i will try it anyway | ||
2016-01-29 15:02 <cedk> aroncero: most of the time user only need sorting | ||
2016-01-29 15:03 <aroncero> cedk: I agree but sometime they want to group | ||
2016-01-29 15:10 <cedk> aroncero: you mean aggregate? | ||
2016-01-29 15:15 <aroncero> cedk: yes | ||
2016-01-29 15:15 <aroncero> in groups | ||
2016-01-29 15:17 <cedk> aroncero: so it is normal that you have to define how to aggregate | ||
2016-01-29 15:17 <cedk> are you doing a sum, average etc. | ||
2016-01-29 15:19 <aroncero> cedk: in this specific case a sum | ||
2016-01-29 15:23 <cedk> aroncero: yep specific :-) | ||
2016-01-29 15:26 <aroncero> cedk: yes, i know... :D | ||
2016-01-29 15:28 <cedk> aroncero: you can look at timesheet module there are many table_query with aggregation there | ||
2016-01-29 15:30 <aroncero> cedk: thank, i will look it. Under reports menu? | ||
2016-01-29 15:32 <aroncero> cedk: but i want the aggregation (for example sum ) and the individuals lines (that's the "group by" reason) | ||
2016-01-29 15:40 <cedk> aroncero: usually we just add a tree_open action that will open the content of the selected line | ||
2016-01-29 15:40 <cedk> aroncero: otherwise you can use the UnionMixin to union both model | ||
2016-01-29 15:41 <cedk> aroncero: but if number of line is great than a tree is not really good | ||
2016-01-29 15:42 <aroncero> cedk: i am looking "Open Chart of Accounts" | ||
2016-01-29 15:43 <aroncero> cedk: I think that this is the behavior I want | ||
2016-01-29 15:44 <cedk> aroncero: but chart of account is a tree of the same model | ||
2016-01-29 15:45 -!- smarro(~sebastian@190.105.71.186) has joined #tryton | ||
2016-01-29 15:46 <aroncero> cedk: I am a newbie yet, I start with a model and then I will try mix more models :D | ||
2016-01-29 16:27 -!- faviod(~faviod@190.108.228.120) has joined #tryton | ||
2016-01-29 17:08 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton | ||
2016-01-29 20:36 <mariomop> Hi, I downloaded tryton 3.8.3 client for Windows and ran the installer in a Win XP, but when I try to launch the program it says: Could not run tryton.exe because of wrong configuration | ||
2016-01-29 20:38 <mariomop> I tried in a Win 7 box, no message appeared, but tryton didn't started neither | ||
2016-01-29 20:40 -!- bvillasanti(~bvillasan@181.192.32.145) has joined #tryton | ||
2016-01-29 20:40 <mariomop> Has anyone been through something like that? | ||
2016-01-29 20:54 <cedk> mariomop: never hear about such problem | ||
2016-01-29 20:55 <cedk> mariomop: did you correctly instal it with adminstrator rights? | ||
2016-01-29 20:55 <mariomop> cedk: I have installed in Windows a couple of times before this, never happened | ||
2016-01-29 20:56 <mariomop> I don't know what's the problem now | ||
2016-01-29 20:57 <mariomop> Im pretty sure I did it with administrator rights, I check the users, but maybe that could be a guess | ||
2016-01-29 21:03 <mariomop> cedk: using regedit tools, I can see an entry in HKEY_LOCAL_MACHINE > SOFTWARE > tryton-3.8.3, pointing to the instalation directory, that's all | ||
2016-01-29 21:05 <mariomop> cedk: thanks anyway, I'll give it chance later | ||
2016-01-29 21:46 -!- yangoon(~mathiasb@p54984DE7.dip0.t-ipconnect.de) has joined #tryton | ||
2016-01-29 22:05 -!- bvillasanti(~bvillasan@181.192.32.145) has joined #tryton | ||
2016-01-29 22:13 -!- smarro(~sebastian@181.31.255.10) has joined #tryton | ||
2016-01-29 22:51 <cedk> mariomop: that's for the uninstall | ||
2016-01-29 22:52 <mariomop> cedk: when I uninstall the entry disappear | ||
2016-01-29 22:52 <cedk> mariomop: otherwise tryton doesn't use at all registry | ||
2016-01-29 22:52 <mariomop> cedk: but it's the only one I see after installation | ||
2016-01-29 22:53 <mariomop> cedk: hmmm, ok | ||
2016-01-29 22:53 <mariomop> cedk: by the way, where do I have to configure the ssl certificate in Windows client? | ||
2016-01-29 22:54 <mariomop> ./config/tryton/x.y/ca_certs/ is in Linux | ||
2016-01-29 22:56 <cedk> mariomop: the same on windows but in APPDATA | ||
2016-01-29 22:56 <cedk> instead of HOME | ||
2016-01-29 22:57 <mariomop> I got it, the registry it's used for the uninstaller to know where is the installation that must be undone | ||
2016-01-29 22:57 <mariomop> cedk: oks, thank you | ||
2016-01-29 22:58 <cedk> mariomop: yes it is the nsis standard way |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!