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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020151
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2012-03-29 13:592012-04-26 19:32
ReporterdalsasuaView Statuspublic 
Assigned ToSandrahuguet 
PrioritynormalResolutionfixedFixed in Version3.0MP11
StatusclosedFix in branchpiFixed in SCM revision985cbe917a34
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.6.0_21
OS VersionUbuntu 10.10Database version11.2.0 SEAnt version1.8.0
Product Version3.0MP8.1SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020151: Generate invoice from orders process do not working for F&B

DescriptionGenerate invoice from orders process do not working for F&B
Steps To ReproduceRun the process for F&B and process for all the found elements.
Proposed Solutiondiff --git a/src-db/database/model/functions/C_INVOICE_CREATE.xml b/src-db/database/model/functions/C_INVOICE_CREATE.xml
--- a/src-db/database/model/functions/C_INVOICE_CREATE.xml
+++ b/src-db/database/model/functions/C_INVOICE_CREATE.xml
@@ -655,13 +655,13 @@
                   ELSE sh.DocumentNo
                 END
                 ) AS DocumentNo,
- sh.Description,
- sh.C_BPartner_ID,
+ coalesce(sh.Description, o.Description) as description,
+ coalesce(sh.C_BPartner_ID,o.c_bpartner_id) as c_bpartner_id,
                 o.BillTo_ID,
                 o.C_BPartner_Location_ID,
                 sh.AD_User_ID,
                 sh.DateOrdered,
- sh.C_Order_ID,
+ coalesce(sh.C_Order_ID,o.C_Order_ID) as C_Order_ID,
                 o.SalesRep_ID,
                 COALESCE(o.C_PaymentTerm_ID, bp.C_PaymentTerm_ID) AS C_PaymentTerm_ID,
                 COALESCE(o.IsDiscountPrinted, bp.IsDiscountPrinted) AS IsDiscountPrinted,
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0047432)
Sandrahuguet (developer)
2012-04-10 17:01

Hi,

I am not able to reproduce neither understand the problem behind this bug.
Could you please detail a bit the steps to reproduce for this issue?

Thanks in advance
(0047968)
hgbot (developer)
2012-04-25 17:51

Repository: erp/devel/pi
Changeset: 985cbe917a34fd5a20db7616779ddb2fb4cbc946
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Tue Apr 24 17:56:40 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/985cbe917a34fd5a20db7616779ddb2fb4cbc946 [^]

Fixed issue 20151 Applied patch provided by DAL

---
M src-db/database/model/functions/C_INVOICE_CREATE.xml
---
(0047969)
vmromanos (manager)
2012-04-25 17:53

Code review OK.
Provided patch takes some values from the order header in case this info is not found in the shipment
(0048099)
hudsonbot (developer)
2012-04-26 19:32

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/70a717a9ffa1 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-03-29 13:59 dalsasua New Issue
2012-03-29 13:59 dalsasua Assigned To => vmromanos
2012-03-29 13:59 dalsasua Modules => Core
2012-04-10 16:11 Sandrahuguet Assigned To vmromanos => Sandrahuguet
2012-04-10 16:11 Sandrahuguet Status new => scheduled
2012-04-10 16:11 Sandrahuguet fix_in_branch => pi
2012-04-10 17:01 Sandrahuguet Note Added: 0047432
2012-04-10 17:01 Sandrahuguet Status scheduled => feedback
2012-04-24 13:26 Sandrahuguet Status feedback => scheduled
2012-04-25 17:51 hgbot Checkin
2012-04-25 17:51 hgbot Note Added: 0047968
2012-04-25 17:51 hgbot Status scheduled => resolved
2012-04-25 17:51 hgbot Resolution open => fixed
2012-04-25 17:51 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/985cbe917a34fd5a20db7616779ddb2fb4cbc946 [^]
2012-04-25 17:53 vmromanos Note Added: 0047969
2012-04-25 17:53 vmromanos Status resolved => closed
2012-04-25 17:53 vmromanos Fixed in Version => 3.0MP11
2012-04-26 19:32 hudsonbot Checkin
2012-04-26 19:32 hudsonbot Note Added: 0048099


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker