IRC logs of #tryton for Thursday, 2013-03-14

chat.freenode.net #tryton log beginning Thu Mar 14 00:00:13 CET 2013
2013-03-14 15:46 <katr> Hi! A question regarding invoices:
2013-03-14 15:47 <katr> Is the line "if amount_currency < _ZERO:" in the get_amount_to_pay method really necessary?
2013-03-14 15:48 <katr> This causes incorrect results for invoice amounts < 0.
2013-03-14 15:53 <cedk> katr: if negative, there is nothing to pay
2013-03-14 15:54 <katr> cedk: But there is something to receive :) and this information is useful as well.
2013-03-14 15:54 <basman> How to print a statement of account for certain customer or party ?
2013-03-14 15:55 <katr> basman: There is a third party balance report.
2013-03-14 15:56 <katr> basman: Is this what you are looking for?
2013-03-14 15:57 <cedk> katr: before changing it, you should look if it is not expected to behave like it does
2013-03-14 15:58 <basman> katr: I know this report, I want a more detailed report for a specific customer
2013-03-14 16:01 <basman> katr: the report must detail the activity of purchase transaction of the customer for example. The third party balance report only shows the payable amount for each customer
2013-03-14 16:03 <katr> basman: You wan't a report which not only includes moves to payable and receivable account but to expense and revenue accounts as well for a specific party?
2013-03-14 16:06 <basman> katr: the third party balance only shows the sum of amounts that should the customer pay for his purchases from the company, however, some customer want to see the details of all purchase operation and the amount due for each transaction, not only the sum of the due amount.
2013-03-14 16:08 <cedk> basman: this should be part of the futurs account_dunning
2013-03-14 16:14 <katr> basman: As a temporary solution you can filter the journal entries by party and cut & paste into your favorite spreadsheet application.
2013-03-14 16:15 <basman> cedk: okay, would u please give me a link to this module development page ?
2013-03-14 16:15 <cedk> basman: it is on the wiki
2013-03-14 16:16 <basman> katr: thanks for the solution
2013-03-14 16:16 <basman> okay
2013-03-14 16:18 <katr> cedk: Do you really think that this should be in the same module like the dunning run and dunning letter stuff?
2013-03-14 16:22 <basman> I have another issue. Some times we buy goods that should not enter in stock zones, those goods is salable and purchasable some times, but we could consider them as consumables, an example of this is the Oil, salt, tea, coffee that would be consumed by the workers staffs. I want to purchase these goods through purchase module to enter them as expenses into the system, I did the purchase operation and when the shipment operation generated, I canc
2013-03-14 16:22 <basman> eled it and that made it in an EXCEPTION state, I paid the invoice to convert it to paid state. Is there other method or solution to enter such goods cost into the system?
2013-03-14 16:24 <katr> basman: No idea. I'm not very familiar with the purchase module.
2013-03-14 16:25 <cedk> basman: make the shipment !
2013-03-14 16:25 <basman> cedk: these are consumable goods, I don't want them to enter the stock storages zones
2013-03-14 16:26 <cedk> basman: what the point !
2013-03-14 16:26 <basman> that's why, I'm canceling the generated shipments
2013-03-14 16:26 <cedk> basman: don't and let follow the process
2013-03-14 16:27 <basman> What will happen if I make the shipment generated for the consumable goods?
2013-03-14 16:27 <basman> will they enter into the stock or not ?
2013-03-14 16:28 <cedk> basman: yes but how cares
2013-03-14 16:32 <basman> cedk: I don't want those good to enter into the stock, I just want them to enter the financial system of the company as expenses.
2013-03-14 16:32 <katr> cedk: The negative invoice thing doesn't behave as *I* would expect it. Because currently there is no easy way to get the (residual) amount that should be received for that invoice.
2013-03-14 16:33 <cedk> basman: but why?
2013-03-14 16:33 <basman> cedk: are there other methods other than purchase to enter the expenses of the company into the financial system of the company.?
2013-03-14 16:34 <cedk> katr: don'T understand why you do negative invoice, use credit note
2013-03-14 16:35 <basman> cedk: those are consumable goods, if they entered the stock via purchase operation, they will not be sold, so, they will not get out of the stock.
2013-03-14 16:35 <katr> cedk: IMO this should be symmetric: If it's out-invoice it's receivable amount if it's an in-invoice is a payable amount. If the amount is negative it's reversed. But it's never zero.
2013-03-14 16:36 <cedk> basman: and what the problem ?
2013-03-14 16:37 <cedk> katr: I'm not against but such change should be carefully study
2013-03-14 16:37 <katr> cedk: You're right. How?
2013-03-14 16:39 <cedk> katr: by looking everywhere this code is used
2013-03-14 16:39 <katr> cedk: I.e. official module?
2013-03-14 16:40 <katr> cedk: module?
2013-03-14 16:40 <katr> cedk: modules?
2013-03-14 16:41 <basman> cedk: let me clarify the issue. suppose you want to purchase some coffee boxes and tea for your company staff to consume it, now, how you'd enter this purchase operation into the system. you see that the coffee and tea will enter the company and will not be sold
2013-03-14 16:42 <cedk> katr: yes
2013-03-14 16:42 <katr> cedk: Grepping through the source, I can only find matches in the invoice module and the statement module.
2013-03-14 16:43 <cedk> basman: yes and what is the problem
2013-03-14 16:43 <basman> all purchase operations yields inventory moves, I don't want to move these products into the company's stock
2013-03-14 16:45 <cedk> basman: so the product you purchase never come to the company ?
2013-03-14 16:45 <cedk> basman: where does it go ?
2013-03-14 16:47 <basman> it goes to company staff's places not to company's stock storages zones, got it ?
2013-03-14 16:47 <cedk> basman: what is the difference ?
2013-03-14 16:50 <cedk> basman: we don't care it is consumable
2013-03-14 16:50 <cedk> basman: in some way, it is even assets not goods
2013-03-14 16:52 <basman> cedk: So if I purchased a table for some room, should I make same steps and enter it into the stock also?
2013-03-14 16:54 <cedk> basman: why not
2013-03-14 16:54 <cedk> basman: it is owned by the company
2013-03-14 16:55 <cedk> basman: if you want you can make a storage location: office
2013-03-14 16:56 <basman> cedk: Sounds good, now suppose I paid for a service, is this considered a purchase operation or what?
2013-03-14 16:57 <basman> cedk: suppose I paid salaries to employees, how could I enter these expensed into the system then?
2013-03-14 17:00 <basman> cedk: expenses not expensed, sorry.
2013-03-14 17:07 <cedk> basman: do as you want
2013-03-14 17:09 <basman> cedk: Salaries could not be entered as a purchase operation, isn't it ?
2013-03-14 17:10 <cedk> basman: depend of your legal requirements
2013-03-14 17:12 <basman> cedk: give me the best method to enter salaries expense, no matter what are the legal requirements.
2013-03-14 17:15 <cedk> basman: I can not
2013-03-14 18:15 <ciupicri> http://www.tryton.org/download.html recommends using the hgnested extension, but unfortunately it doesn't mention how to use it. I was hoping to see a command like for the rest, e.g. $ hg clone http://hg.tryton.org/trytond/
2013-03-14 18:20 <katr> ciupicri: hg help hgnested
2013-03-14 18:21 <katr> ciupicri: hg nclone http://hg.tryton.org/trytond/
2013-03-14 18:22 <ciupicri> thanks!
2013-03-14 18:22 <katr> ciupicri: You're welcome
2013-03-14 18:50 <flo0> Can I make a text field only two rows high?
2013-03-14 19:36 <cedk> flo0: only with a constraint on server side
2013-03-14 22:51 <flo0> cedk: Ok, so better using two Char fields than messing up with the server if I understand you correctly
2013-03-14 22:54 <cedk> flo0: not necessary, I don't know what you try to achieve
2013-03-14 22:54 <cedk> flo0: indeed the best is always the solution with the less constraint
2013-03-14 23:02 <flo0> cedk: I want to put an address field on the mask. Such a field might take more than one line. Using a text field is too large. Two Char fields will do the job if there is no easy other solution.

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