Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0009623 | Openbravo ERP | A. Platform | public | 2009-06-25 08:45 | 2011-02-04 09:12 |
Reporter | alostale | ||||
Assigned To | rmorley | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0009623: Allow overwritting methods in xsql files wihtin modules | ||||
Description | Currently it is not allowed to modify a sqlc method within a module. The effect of this is that for customizing a query it is necessary to modularize not only the xsql file but also the complete object that uses it. In some cases this is annoying and adds a big overhead to the module. For example if the customization consists just in showing a different value in a select for a report, it is necessary to move to the module the whole report. | ||||
Steps To Reproduce | |||||
Proposed Solution | Allow overwriting a single method in modules. The way to do it would be: -The module can have in a special directory partial xsql definitions. -In compilation time sqlc determines if there is overwriting for each method, and in this case takes the method in the module instead of the one in core. -Note that this could break the API because it would be possible to overwrite non-public methods. Modules including this kind of customizations would be more fragile since they are dependent on non-public API, an error should be raised for these cases when building the generated classes. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-06-25 08:45 | alostale | New Issue | |||
2009-06-25 08:45 | alostale | Assigned To | => rafaroda | ||
2009-07-06 08:10 | rafaroda | Assigned To | rafaroda => pjuvara | ||
2011-02-04 09:12 | jpabloae | Assigned To | pjuvara => rmorley |
There are no notes attached to this issue. |