i used the version 2.0b13 install with pip regards
2016-11-19 23:51 GMT+01:00 Martin Blais <[email protected]>: > Works for me (no error at all). > Which version are you using? > > > On Sat, Nov 19, 2016 at 5:45 PM, francois PEGORY <[email protected]> > wrote: > >> ok i test it and maybe i don't use it right. >> but if i use this: >> option "operating_currency" "GBP" >> option "booking_method" "FIFO" >> 1998-01-01 commodity GBP >> 1998-01-01 commodity WIDGET >> 1999-02-01 open Assets:Inventory >> 1999-02-01 open Assets:Cash >> 1999-02-01 open Assets:Pnl >> 2014-10-15 * "buy widgets" >> Assets:Inventory 10 WIDGET {} ; Price inferred to 8 GBP/widget >> Assets:Cash -80 GBP >> >> 2014-10-16 * "sell a widget" >> Assets:Cash 10 GBP >> Assets:Inventory -1 WIDGET {} ; >> Assets:Pnl >> >> >> and run bean-check. i get : >> /mnt/d/ledger/data/test_trading.ledger:8: Transaction does not >> balance: (-80 GBP, 10 WIDGET) >> >> 2014-10-15 * "buy widgets" >> Assets:Inventory 10 WIDGET >> Assets:Cash -80 GBP >> >> i don't understand why ? >> >> regards >> >> 2016-11-17 5:28 GMT+01:00 Martin Blais <[email protected]>: >> >>> Not yet. NONE (i.e., like Ledger), STRICT, FIFO, and LIFO are supported. >>> AVERAGE is a tougher nut to crack and will come along later. >>> >>> In the meantime, I use (and recommend using) NONE for those accounts. >>> Like Ledger, calculating the total number of units and the total cost >>> basis works just fine this way. It's just the specific list of lots that is >>> all fakakta (and for non-taxable accounts this doesn't matter anyway). >>> >>> >>> >>> >>> On Wed, Nov 16, 2016 at 4:10 AM, Stefano Zacchiroli <[email protected]> >>> wrote: >>> >>>> On Tue, Nov 15, 2016 at 11:41:37PM +0100, francois PEGORY wrote: >>>> > i have seen that the new booking functionality is now released. >>>> >>>> Does that include booking at average cost or is that still unreleased? >>>> >>>> -- >>>> Stefano Zacchiroli . [email protected] . upsilon.cc/zack . . o . . . o . >>>> o >>>> Computer Science Professor . CTO Software Heritage . . . . . o . . . o o >>>> Former Debian Project Leader . OSI Board Director . . . o o o . . . o . >>>> « the first rule of tautology club is the first rule of tautology club » >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Beancount" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> To view this discussion on the web visit https://groups.google.com/d/ms >>>> gid/beancount/20161116091005.ckgmm5dnxqqejut7%40upsilon.cc. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Beancount" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> To view this discussion on the web visit https://groups.google.com/d/ms >>> gid/beancount/CAK21%2BhPdmcPKc-BpSQDaG6Wv2ANzmBm4EmNx3OOgT3z >>> FUJ7%2B7Q%40mail.gmail.com >>> <https://groups.google.com/d/msgid/beancount/CAK21%2BhPdmcPKc-BpSQDaG6Wv2ANzmBm4EmNx3OOgT3zFUJ7%2B7Q%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Beancount" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/beancount/CALUWbLdoeDUc%2B0oHdfjh%3D_-N_M58nxoAoWzKR7WTB >> Z%2Bq2sq7Jw%40mail.gmail.com >> <https://groups.google.com/d/msgid/beancount/CALUWbLdoeDUc%2B0oHdfjh%3D_-N_M58nxoAoWzKR7WTBZ%2Bq2sq7Jw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/beancount/CAK21%2BhPjK3Zd4cQK9OCjr7JhhWt9U4aHp > nJEaRdj9oq_ePt8jA%40mail.gmail.com > <https://groups.google.com/d/msgid/beancount/CAK21%2BhPjK3Zd4cQK9OCjr7JhhWt9U4aHpnJEaRdj9oq_ePt8jA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CALUWbLftGZUEcs08Tv6%2BBvrQkJnfAkLQWbm1%3Ddxw1nNkNhHMxg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
