* Richard PALO [2016-04-20 12:28 +0700]:
I've been tinkering getting a fully working 'degressive' amortisation
method in account_assets.

Although initially it was rather quite simple (at it is in theory),
there *is* a considerable issue encountered when the frequency
'yearly' is selected instead of 'monthly'.

I wonder if it is worth the bother keeping the 'yearly' frequence, at
least on the basis of the current compute_depreciation implementation
mechanics.

1. 'yearly' quite unconveniently hardcodes the annuity date to 31/12.
  This naturally doesn't match the the accounting period end date of
  all companies.

  For example, in France, many close 31/03 or 30/09 and in the
  states 30/06 is rather common.

Indeed this is a bug: https://bugs.tryton.org/issue5500
Thanks for reporting.

  To be useful, there might need to be an initial annuity date (in
  absence of a fiscal year being defined all the way back to the
  activation start_date, that is for amortisations in progress in an
  accounting system migration)

Indeed existing assets could be a problem.

But IIRC, the amortization lines can be edited and you could put as
the first line the total amount of the previous line. This line should
be in the accounting period you use to import the accounting from the
other system (as I guess you're using a special period to import those
data).

2. The company's account period can change, for example to align to a
  calendar year or to the contrary. This happens also quite
  frequently in connection with mergers and acquisitions.

What happens then accounting wise for the assets?

3. Using only 'monthly' avoids a lot of mucking around in
  calculations seeing if the period is longer or shorter than a
  'year', needing to verify for each fiscal year end_date that an
  annuity is corrected for an activated asset.

All this is simplified keeping only a 'monthly' computation.

'Yearly' effects could still be done, for example, leaving it to the
'movement', that is, either split by period or grouping all and
collapsing into a single movement at the end of the period... leaving
the amortisation 'future' schedule monthly.

If a company close its period frequently it might be a problem. I
don't know if they can use a temporary account and do the grouping
when closing the year, that might be OK.

--
Nicolas Évrard - B2CK SPRL
E-mail/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

--
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/20160420085651.GA569%40localhost.localdomain.

Reply via email to