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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006882
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] 07. Sales managementminoralways2009-01-14 11:042011-02-04 09:15
ReporternetworkbView Statuspublic 
Assigned Tormorley 
PriorityhighResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006882: Line with English description created in sales invoice by "Generate invoices"

DescriptionIf you look at a sales invoice lines generated by "Generate invoices" process, there is one line without product and a description like
"Delivery Note" + Document No.

This line should be translated to some language.

Actually, this line is generated within C_INVOICE_CREATE procedure [1] (business logic) that is not able to take a language.

[1] https://dev.openbravo.com/websvn/openbravo/trunk/src-db/database/model/functions/C_INVOICE_CREATE.xml [^]

(SELECT dt.PrintName || ' ' || ox.DocumentNo||' '||(
                      CASE
                        WHEN ox.PoReference IS NULL
                        THEN NULL
                        ELSE '('||ox.PoReference||')'
                      END
                      ) AS Reference
                    FROM C_DOCTYPE dt,
                      C_ORDER ox
                    WHERE dt.C_DocType_ID=ox.C_Order_ID
                      AND ox.C_Order_ID=Cur_Order.C_Order_ID
                    ORDER BY ox.DocumentNo DESC
Steps To ReproduceGo to Sales Management > Transactions > Generate Invoices
Select any filter and press Ok.
Go to Sales invoice and select one of the created invoice.
Go to its lines.
One of them has a description like "Delivery Note" + Document No, without product.
This description should be translated.
Proposed SolutionThe description should be translated or maybe this line could be deleted.

Actually, this can not be implemented yet since Multi Language Support (MLS) is still not available.

Business Logic should not depend on the language of the logged user that launches the business logic but on some other "business" language. The same happens when printing an invoice for a customer that is not speaking logged user's language.
TagsClean-up, Localization, ReleaseCandidate, trlImprove
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0002202pi acknowledgedrmorley AT235: MLS needed in General Accounting Report Setup 
blocks feature request 0004058 acknowledgedrmorley Translation management 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2009-01-14 11:04 networkb New Issue
2009-01-14 11:04 networkb Assigned To => rafaroda
2009-01-14 11:04 networkb sf_bug_id 0 => 2506757
2009-01-14 11:04 networkb Regression testing => No
2009-01-14 17:07 rafaroda Status new => scheduled
2009-01-14 17:07 rafaroda Note Added: 0012176
2009-01-14 17:07 rafaroda fix_in_branch => trunk
2009-01-15 16:32 rafaroda Assigned To rafaroda => pjuvara
2009-01-15 16:32 rafaroda Priority immediate => high
2009-01-15 16:32 rafaroda Status scheduled => acknowledged
2009-01-15 16:32 rafaroda Type defect => feature request
2009-01-15 16:32 rafaroda fix_in_branch trunk =>
2009-01-15 16:32 rafaroda Description Updated
2009-01-15 16:32 rafaroda Steps to Reproduce Updated
2009-01-15 16:32 rafaroda Note Deleted: 0012176
2009-01-15 16:33 rafaroda Relationship added blocks 0004058
2009-01-15 16:33 rafaroda Tag Attached: trlImprove
2009-01-15 16:34 rafaroda Relationship added related to 0002202
2009-01-16 23:33 pjuvara Tag Attached: Clean-up
2009-01-16 23:33 pjuvara Tag Attached: Localization
2009-01-16 23:33 pjuvara Tag Attached: ReleaseCandidate
2009-01-28 11:16 rafaroda Relationship added related to 0007182
2009-01-28 11:22 rafaroda Relationship deleted related to 0007182
2009-01-30 00:29 pjuvara Summary Line with a description in english is created in Sales invoice created by "Generate invoices" process => Line with English description created in sales invoice by "Generate invoices"
2011-02-04 09:15 jpabloae Assigned To pjuvara => rmorley


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker