Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006882Openbravo ERP07. Sales managementpublic2009-01-14 11:042011-02-04 09:15
networkb 
rmorley 
highminoralways
acknowledgedopen 
5
2.40 
 
Core
No
0006882: Line with English description created in sales invoice by "Generate invoices"
If 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
Go 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.
The 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.
Clean-up, Localization, ReleaseCandidate, trlImprove
related to feature request 0002202pi acknowledged rmorley AT235: MLS needed in General Accounting Report Setup 
blocks feature request 0004058 acknowledged rmorley Translation management 
Issue History
2009-01-14 11:04networkbNew Issue
2009-01-14 11:04networkbAssigned To => rafaroda
2009-01-14 11:04networkbsf_bug_id0 => 2506757
2009-01-14 11:04networkbRegression testing => No
2009-01-14 17:07rafarodaStatusnew => scheduled
2009-01-14 17:07rafarodaNote Added: 0012176
2009-01-14 17:07rafarodafix_in_branch => trunk
2009-01-15 16:32rafarodaAssigned Torafaroda => pjuvara
2009-01-15 16:32rafarodaPriorityimmediate => high
2009-01-15 16:32rafarodaStatusscheduled => acknowledged
2009-01-15 16:32rafarodaTypedefect => feature request
2009-01-15 16:32rafarodafix_in_branchtrunk =>
2009-01-15 16:32rafarodaDescription Updated
2009-01-15 16:32rafarodaSteps to Reproduce Updated
2009-01-15 16:32rafarodaNote Deleted: 0012176
2009-01-15 16:33rafarodaRelationship addedblocks 0004058
2009-01-15 16:33rafarodaTag Attached: trlImprove
2009-01-15 16:34rafarodaRelationship addedrelated to 0002202
2009-01-16 23:33pjuvaraTag Attached: Clean-up
2009-01-16 23:33pjuvaraTag Attached: Localization
2009-01-16 23:33pjuvaraTag Attached: ReleaseCandidate
2009-01-28 11:16rafarodaRelationship addedrelated to 0007182
2009-01-28 11:22rafarodaRelationship deletedrelated to 0007182
2009-01-30 00:29pjuvaraSummaryLine 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:15jpabloaeAssigned Topjuvara => rmorley

There are no notes attached to this issue.