Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002363Openbravo ERPZ. Otherspublic2007-12-12 20:002008-07-08 12:22
cromero 
cromero 
normalminoralways
closedfixed 
5
 
2.40beta 
No
Core
No
0002363: Recalculate amortization does not work in postgres in 2.35
OB:2.35
Postgres:8.2

Once you have created an amortization, if you try to recalculate it in postgres, this error is shown:
months_between(timestamp with time zone,timestamp with time zone) does not exist.

months_between is an Oracle function that doesnt exist in Postgre. It should be created.

Carlos Romero
Openbravo Team.
No tags attached.
depends on backport 0003557 closed cromero Recalculate amortization does not work in postgr 
Issue History
2008-07-08 12:22psarobeStatusresolved => closed
2008-07-08 12:22psarobeFixed in Version2.40alpha-r2 => 2.40beta

Notes
(0005952)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1849551 [^]
(0002796)
cromero   
2007-12-18 19:34   
(edited on: 2008-06-12 09:23)
Logged In: YES
user_id=1500614
Originator: YES

Fixed.

Added months_between function and corrected the A_ASSET_POST function for PostgreSQL.

Carlos Romero
Openbravo Team