Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031403Openbravo ERP03. Procurement managementpublic2015-11-05 18:572015-11-09 09:09
ngarcia 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
3.0PR15Q3.4 
vmromanos
Core
No
0031403: Purchase Order and Goods Receipt not shown in Invoice's Create Lines From if the Customer Invoice Terms are Do Not Invoice
Purchase Order and the related Goods Receipt not shown in Invoice's Create Lines From if the Customer Invoice Terms are Do Not Invoice. The problem is that the Invoice Terms (invoicerule) are set with the customer's default in purchase order window and the field is not shown
As group admin role:
   Create a Business Partner and add a location to it
   Set it as Customer and define its default Invoice Terms as Do Not Invoice
   Set it as Vendor too
   Create a Purchase Order to that BP
   Create a Purchase Invoice header for the same BP and check the order is not shown in the Create Lines combo
   Create a Goods Receipt from the order
   Go to the previously created invoice and check the receipt is not shown in the Create Lines combo
Do not set the invoicerule in the SE_Order_BPartner callout for purchase orders, but default the field to I (Immediate)
No tags attached.
blocks defect 0031382 closed AtulOpenbravo Purchase Order and Goods Receipt not shown in Invoice's Create Lines From if the Customer Invoice Terms are Do Not Invoice 
Issue History
2015-11-09 09:05vmromanosTypedefect => backport
2015-11-09 09:05vmromanosTarget Version => 3.0PR15Q3.4
2015-11-09 09:08hgbotCheckin
2015-11-09 09:08hgbotNote Added: 0081599
2015-11-09 09:08hgbotStatusscheduled => resolved
2015-11-09 09:08hgbotResolutionopen => fixed
2015-11-09 09:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q3.4/rev/bba4162b09e1718f0254d9abb471ceba121bbe4d [^]
2015-11-09 09:09vmromanosReview Assigned To => vmromanos
2015-11-09 09:09vmromanosNote Added: 0081602
2015-11-09 09:09vmromanosStatusresolved => closed

Notes
(0081599)
hgbot   
2015-11-09 09:08   
Repository: erp/backports/3.0PR15Q3.4
Changeset: bba4162b09e1718f0254d9abb471ceba121bbe4d
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri Nov 06 16:42:23 2015 +0530
URL: http://code.openbravo.com/erp/backports/3.0PR15Q3.4/rev/bba4162b09e1718f0254d9abb471ceba121bbe4d [^]

Fixes Issue 31403:Purchase Order and Goods Receipt not shown in Invoice's
Create Lines From if the Customer Invoice Terms are Do Not Invoice

In case of purchase flow Immediate (I) is set as default value for
Invoice Rule.

---
M src/org/openbravo/erpCommon/ad_callouts/SE_Order_BPartner.java
---
(0081602)
vmromanos   
2015-11-09 09:09   
Code review + testing OK