On 09/08/12 10:14 +0200, Cédric Krier wrote: > Hi, > > I try to implement the ending of assets based on review439002 [1]. > I will summarize how it works: > > - Buy assets: on the invoice the account asset (defined on the product) > is used instead of expense. > > - Create assets depreciation: periodical moves are done between the > account depreciation and expense (defined on the product). > Of course, the depreciation and the asset accounts could be the same. > > - Ending of the assets: > > - Last depreciation is done. We should make a move to purge the > depreciation and the asset account and put the difference into the > expense account. > > - Asset Lost before the last depreciation. We do the same as for > "Last depreciation". *Question*: is it always the expense account > to use? Should we ask for a different account? > > - Asset Sold before the last depreciation. We do the same as for > "Last depreciation" but instead of the expense account we use the > revenue account. *Question*: is it always the revenue account to > use? Should we ask for a different account? > > > [1] http://codereview.tryton.org/439002/
I updated the codereview. This one doesn't contain any ask for an different account but the structure is in place to allow someone to add it via a module. For me, the patch now is complete so you are invited to test it. -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgptqXKLt08Rg.pgp
Description: PGP signature
