Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031382Openbravo ERP03. Procurement managementpublic2015-11-05 18:572015-11-23 21:17
ngarcia 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
 
vmromanos
Core
No
0031382: 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.
depends on backport 00314023.0PR15Q4 closed AtulOpenbravo Purchase Order and Goods Receipt not shown in Invoice's Create Lines From if the Customer Invoice Terms are Do Not Invoice 
depends on backport 00314033.0PR15Q3.4 closed AtulOpenbravo Purchase Order and Goods Receipt not shown in Invoice's Create Lines From if the Customer Invoice Terms are Do Not Invoice 
caused by defect 00275743.0PR15Q1 closed reinaldoguerra Invoice rule - Do not invoice not working in create lines from in purchase flow 
Issue History
2015-11-05 18:57ngarciaNew Issue
2015-11-05 18:57ngarciaAssigned To => Triage Finance
2015-11-05 18:57ngarciaModules => Core
2015-11-05 18:57ngarciaTriggers an Emergency Pack => No
2015-11-05 18:58ngarciaIssue Monitored: networkb
2015-11-05 18:58ngarciaRelationship addedrelated to 0027574
2015-11-05 19:09ngarciaRelationship replacedcaused by 0027574
2015-11-06 13:17AtulOpenbravoAssigned ToTriage Finance => AtulOpenbravo
2015-11-06 13:19AtulOpenbravoStatusnew => scheduled
2015-11-06 13:19AtulOpenbravoNote Added: 0081566
2015-11-09 09:05vmromanosStatusscheduled => acknowledged
2015-11-09 09:05vmromanosStatusacknowledged => scheduled
2015-11-09 09:09hgbotCheckin
2015-11-09 09:09hgbotNote Added: 0081600
2015-11-09 09:09hgbotStatusscheduled => resolved
2015-11-09 09:09hgbotResolutionopen => fixed
2015-11-09 09:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/10ff05690b1ab1db8e89a6b388ee38b2c0c2e689 [^]
2015-11-09 09:09vmromanosReview Assigned To => vmromanos
2015-11-09 09:09vmromanosNote Added: 0081603
2015-11-09 09:09vmromanosStatusresolved => closed
2015-11-23 21:17hudsonbotCheckin
2015-11-23 21:17hudsonbotNote Added: 0082188

Notes
(0081566)
AtulOpenbravo   
2015-11-06 13:19   
Test Plan
- Login 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 shown in the Create Lines combo.
- Create a Goods Receipt from the order.
- Go to the previously created invoice and check the receipt is shown in the Create Lines combo.
(0081600)
hgbot   
2015-11-09 09:09   
Repository: erp/devel/pi
Changeset: 10ff05690b1ab1db8e89a6b388ee38b2c0c2e689
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri Nov 06 16:42:23 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/10ff05690b1ab1db8e89a6b388ee38b2c0c2e689 [^]

Fixes Issue 31382: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
---
(0081603)
vmromanos   
2015-11-09 09:09   
Code review + testing OK
(0082188)
hudsonbot   
2015-11-23 21:17   
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/7b56bebaaa88 [^]
Maturity status: Test