Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0020151 | Openbravo ERP | 03. Procurement management | public | 2012-03-29 13:59 | 2012-04-26 19:32 |
Reporter | dalsasua | ||||
Assigned To | Sandrahuguet | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 20 | OS Version | Ubuntu 10.10 | |
Product Version | 3.0MP8.1 | ||||
Target Version | Fixed in Version | 3.0MP11 | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0020151: Generate invoice from orders process do not working for F&B | ||||
Description | Generate invoice from orders process do not working for F&B | ||||
Steps To Reproduce | Run the process for F&B and process for all the found elements. | ||||
Proposed Solution | diff --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, | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
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-03-29 13:59 | dalsasua | OBNetwork customer | => No | ||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|