Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028905Openbravo ERP03. Procurement managementpublic2015-02-10 11:592015-02-23 05:11
VictorVillar 
Sandrahuguet 
immediatemajoralways
closedfixed 
5
pi 
 
aferraz
Core
Production - QA Approved
2014-12-23
3.0PR15Q1
https://code.openbravo.com/erp/devel/pi/rev/fbc674d56f04 [^]
No
0028905: Purchase Invoice - Create Lines From is not working under some circumstancies
Purchase Invoice - Create Lines From is not working under some circumstancies
As group admin role,
 Go to Purchase Order window:
    create a new register for product Cerveza
    Unit Price: 0
    List Net amount: 0
    qty: 1
Complete it.

Go to Purchase invoice window:
   create a new register and use the Create Lines from selecting the Purchase Order line created before.
Error appears: ProcessRunError

In openbravo.log:

8b48f559 2015-02-10 10:31:33,402 [TP-Processor1] WARN org.openbravo.erpCommon.ad_actionButton.CreateFrom - Rollback in transaction
8b48f559 2015-02-10 10:31:33,403 [TP-Processor1] INFO org.openbravo.erpCommon.utility.ErrorTextParserPOSTGRE - did not find constraint name for error message: ProcessRunError
No tags attached.
Issue History
2015-02-10 11:59VictorVillarNew Issue
2015-02-10 11:59VictorVillarAssigned To => Sandrahuguet
2015-02-10 11:59VictorVillarModules => Core
2015-02-10 11:59VictorVillarResolution time => 1426460400
2015-02-10 11:59VictorVillarRegression level => Production - QA Approved
2015-02-10 11:59VictorVillarTriggers an Emergency Pack => No
2015-02-10 12:20SandrahuguetRegression date => 2014-12-23
2015-02-10 12:20SandrahuguetRegression introduced in release => 3.0PR15Q1
2015-02-10 12:20SandrahuguetRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/fbc674d56f04 [^]
2015-02-10 12:46hgbotCheckin
2015-02-10 12:46hgbotNote Added: 0074320
2015-02-10 12:46hgbotStatusnew => resolved
2015-02-10 12:46hgbotResolutionopen => fixed
2015-02-10 12:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/79bb6781bc77cf3cbf7a808ab24c59daca85a4fe [^]
2015-02-10 13:43hgbotCheckin
2015-02-10 13:43hgbotNote Added: 0074326
2015-02-10 13:44aferrazReview Assigned To => aferraz
2015-02-10 13:44aferrazNote Added: 0074327
2015-02-10 13:44aferrazStatusresolved => closed
2015-02-10 18:08SandrahuguetNote Added: 0074333
2015-02-10 18:28SandrahuguetNote Edited: 0074333bug_revision_view_page.php?bugnote_id=0074333#r7657
2015-02-10 19:35hudsonbotCheckin
2015-02-10 19:35hudsonbotNote Added: 0074342
2015-02-23 05:11hudsonbotCheckin
2015-02-23 05:11hudsonbotNote Added: 0074745

Notes
(0074320)
hgbot   
2015-02-10 12:46   
Repository: erp/devel/pi
Changeset: 79bb6781bc77cf3cbf7a808ab24c59daca85a4fe
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Tue Feb 10 12:45:35 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/79bb6781bc77cf3cbf7a808ab24c59daca85a4fe [^]

Fixed bug 28905 Create Lines From is not working under some circumstancies

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
---
(0074326)
hgbot   
2015-02-10 13:43   
Repository: erp/devel/pi
Changeset: 87338b67712c335cedfe6e985d4fddfde021a938
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Tue Feb 10 13:29:45 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/87338b67712c335cedfe6e985d4fddfde021a938 [^]

Related to issue 28905: Code review in CreateFrom.java

Changed from new BigDecimal(0) to BigDecimal.ZERO

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
---
(0074327)
aferraz   
2015-02-10 13:44   
Code review + Testing OK
(0074333)
Sandrahuguet   
2015-02-10 18:08   
(edited on: 2015-02-10 18:28)
Test added in testlink:

http://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-8033 [^]

(0074342)
hudsonbot   
2015-02-10 19:35   
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/24bb109056f1 [^]
Maturity status: Test
(0074745)
hudsonbot   
2015-02-23 05:11   
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/6856352d7235 [^]
Maturity status: Test