[tryton] Re: party field on account line
On Monday, July 7, 2014 4:12:25 PM UTC+2, Nicolas Évrard wrote: Hello, In issue 3731 [1] we are discussing about the meaning of the party field on the account move lines. It seems that the consensus is that this field should be used as some kind of sub-account categorization. Following this consensus I implemented the review 14341002 [2]. This review adds on the account definition a boolean to specify if the account use the party field for sub-accounting. But while implementing it we realized that all the accounts with the boolean set would be receivable / payable accounts. So we're considering using this information instead of the new boolean. Does anybody have any additional information such as: - there are some other kind of accounts where the party sub-accounting can be used - not every receivable/payable account entries must have a party linked to them. That would really help us make the right decision. [1]: https://bugs.tryton.org/issue3731 [2]: http://codereview.tryton.org/14341002 -- Nicolas Évrard - B2CK SPRL E-mail/Jabber: nicolas...@b2ck.com javascript: Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ Hi, From my experience sub-accounting (analytic accounting) for every party is not a good solution in a general ledger, it should be done on a sub-diary ledger level. What if you have more then 100 000 customers ? What if your customers are one-off ? Each year come new customers and old depart, who will manage this sub-accounts ? etc I see the source problem is that write-off is not connected to the party so it is missed ? It should depend of a nature of write-off: 1) Document in sub-diary ledger: For example if it is a compensation between payable and receivable there should be an appropriate document on lower level - credit/debit note which is connected to account moves. If you create create credit note it has a party field and connected account move also would also have a party field. Another example is when your invoice is in second currency, if an exchange rate from the day of an invoice is different from an exchange rate from day of payment there should be an exchange gain or loss. If invoice amount = payment amount in second currency receivable/payment should be reconciled also in basic currency and exchange gain or loss should be calculated automatically. I think there should be also document for that in account_invoice or some other module. (I have not fund exchange gain or loss in Tryton) 2) Only account move roundings, etc You can even to look at it from the point of view of accountant: Do they need accounts in general ledger for each party ? They often need sub-accounts on Main receivable / Main Payable for different purposes: - divisions of a company - accounts with companies in the same capital group They need to know each gain or loss because of income tax, so it would be good to have credit/debit note for every economic event with your customers an suppliers. Regards Michal PS:Sorry for my English it is mainly goggle translate and I still do not know Tryton well.
[tryton] cost price and cost price method
Hi, I'm testing Tryton in a production company and I have a few questions about cost_price and cost_price_method used in product, product_cost_fifo, account_product and account_stock_continental. Cost_price_method could be fixed, average and fifo. Cost_price is a part of a product.template model. First consequence I have noticed is that calculating amount in stock move lines we have always one price for a product in a whole company. Is there a possibility to have different cost prices in different warehouses ? For example I can have 2 warehouses in 2 departments of my company, each of them in different city. If I have the same product in both of them and I make a move from supplier or production to one of them the cost_price is changing in both of them (cost_price_method = average). Accordingly there is a need to have different account_stock value for the same product in different warehouses. Second consequence is that when I make 2 moves from supplier or production to warehouse in different prices (cost_price_method = fifo) cost_price on product form is not displayed properly. Why is there any value ? Could it be a list of a current fifo_quantities like in product.template.get_fifo_move() instead of showing a value. Regards Michal
Re: [tryton] cost price and cost price method
On Friday, July 4, 2014 3:42:28 PM UTC+2, Cédric Krier wrote: On 04 Jul 05:46, Michal wrote: Hi, I'm testing Tryton in a production company and I have a few questions about cost_price and cost_price_method used in product, product_cost_fifo, account_product and account_stock_continental. Cost_price_method could be fixed, average and fifo. Cost_price is a part of a product.template model. First consequence I have noticed is that calculating amount in stock move lines we have always one price for a product in a whole company. Is there a possibility to have different cost prices in different warehouses ? For example I can have 2 warehouses in 2 departments of my company, each of them in different city. If I have the same product in both of them and I make a move from supplier or production to one of them the cost_price is changing in both of them (cost_price_method = average). Accordingly there is a need to have different account_stock value for the same product in different warehouses. This is not supported by Tryton for now. But it could be an improvement to add a extra computation of cost price per warehouse. OK Second consequence is that when I make 2 moves from supplier or production to warehouse in different prices (cost_price_method = fifo) cost_price on product form is not displayed properly. Why is there any value ? Could it be a list of a current fifo_quantities like in product.template.get_fifo_move() instead of showing a value. I don't understand. Example with cost price method = fifo: Supplier Shipement Quantity Price Product_15.005.00 Product_15.00 10.00 On Product form you can see: Cost Price 5.00 - what for ? it is misleading Regards Filip -- Cédric Krier - B2CK SPRL Email/Jabber: cedric...@b2ck.com javascript: Tel: +32 472 54 46 59 Website: http://www.b2ck.com/