Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010646
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] F. LocalizationmajorN/A2009-09-17 15:162011-03-29 12:52
ReporterapandolfiView Statuspublic 
Assigned Tormorley 
PrioritynormalResolutionopenFixed in Version
StatusfeedbackFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_11
OS VersionrPath LinuxDatabase version8.3.5Ant version1.7.1
Product Version2.50MP5SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010646: Accounting server modularization

Descriptioni modified the accounting code of openbravo 2.40 (AcctServer.java - DocInvoice.java - DocLineInvoice.java - DocPayment.java - DocLine_Payment.java).
Now i'm trying to put those modifications into my module (italian accounting module). i achived to put into the module the java extension of classes: DocInvoice.java - DocLineInvoice.java - DocPayment.java - DocLine_Payment.java but the modification of the class AcctServer.java (the mother class, it calls the others) still remain into the core.

AcctServer cannot be modularized, isn't it?



Proposed SolutionThe best solution is using a true AD Process for the "Posted" Button and for the Periodic Background server. Another solution is to use naming exeption also for java classes
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0020146)
rafaroda (developer)
2009-09-17 15:26

Alessandro,

The AcctServer has been extended recently [1] [2] and Accruals and Deferrals module [3] is using this capability. Is this the functionality that you are looking for? If not, please detail it more.

Thanks.

[1] Extend existing postings https://issues.openbravo.com/view.php?id=0010017 [^]
[2] Add new postings https://issues.openbravo.com/view.php?id=10265 [^]
[3] http://forge.openbravo.com/projects/accrualsdeferrals [^]
(0020149)
apandolfi (reporter)
2009-09-17 16:59

Thank you rafa. I'm taking a look to that code. It seems it could be used to add new precesses to accounting server: after the call of createFact you can add code implementing the acctservertemplate and putting the classname into AD.

I modified the accounting classes a lot. i think i cannot solve the problem only adding code. I have a completly different accounting server and posting process for invoices and payments. i'll try and give a feedback. thanks u

alessandro
(0020151)
apandolfi (reporter)
2009-09-17 17:58

i looked at https://issues.openbravo.com/view.php?id=10265 [^] (new postings). A little modification to acctserver.java in the "pi" repository could solve my problem. See the get method: i propose to put the "else block" before the "swich block". In this way, it will be possible to modify each accounting flow and modularize it. i'll post the code (proposed) as soon as possible (i'm cloning pi), if you are ok.

alessandro
(0020254)
rafaroda (developer)
2009-09-22 10:17

You may also find interesting this project http://forge.openbravo.com/plugins/mwiki/index.php/Modordinvpost [^]
(0035315)
dalsasua (reporter)
2011-03-29 12:47

Reduced the severity, according to our reporting guidelines[1], because a FR cannot be critical:
[1] http://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines#How_to_Choose_the_Right_Severity [^]

- Issue History
Date Modified Username Field Change
2009-09-17 15:16 apandolfi New Issue
2009-09-17 15:16 apandolfi Assigned To => rafaroda
2009-09-17 15:26 rafaroda Note Added: 0020146
2009-09-17 15:26 rafaroda Assigned To rafaroda => rmorley
2009-09-17 15:26 rafaroda Status new => feedback
2009-09-17 16:59 apandolfi Note Added: 0020149
2009-09-17 17:58 apandolfi Note Added: 0020151
2009-09-22 10:17 rafaroda Note Added: 0020254
2009-09-22 10:17 rafaroda Issue Monitored: rafaroda
2011-03-29 12:47 dalsasua Note Added: 0035315
2011-03-29 12:52 dalsasua Severity critical => major


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker