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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019469
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementminoralways2012-01-11 18:122012-04-01 20:37
ReporterVictorVillarView Statuspublic 
Assigned Tojecharri 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision98b414b9d164
ProjectionnoneETAnoneTarget Version3.0MP10
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP6.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

0019469: Duplicity in purchase invoice lines

DescriptionWhen the user creates a purchase invoice, and creates the lines from an order, he can creates the lines again and again, and then process the invoice without an error.
Steps To ReproduceAs Group Admin role,
Go to Purchase Order,
  - Create a new register
        Business partner: Be Soft
  Go to Lines tab:
        -Creates a new line
        - Product: Cherry Cola
save it and Book it.

Go to Purchase invoice window:
   - Create a new register
        Business partner: Be soft
  Click in "Create Lines From" button
     - Choose the order before
     - select Cherry cola line
     - Accept it
     - Again repeat the process:
             Click in "Create Lines From" button
               - Choose the order before
               - select Cherry cola line
               - Accept it
Save the invoice and process it.
We realise that an error does not appear, and we have duplicated the lines.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00198642.50MP40 closedjecharri Duplicity in purchase invoice lines 

-  Notes
(0045285)
hgbot (developer)
2012-02-20 19:04

Repository: erp/devel/pi
Changeset: 4a020fd924d0aded59488f1264a6707f56d0eaba
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Sat Feb 18 18:22:51 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4a020fd924d0aded59488f1264a6707f56d0eaba [^]

Fixes issue 19469: Duplicity in purchase invoice lines.
With this patch, now the clients will be able to select one line from the orders if they have not got all the quantity invoiced yet in the same invoice

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql
---
(0045636)
hgbot (developer)
2012-02-29 18:36

Repository: erp/devel/pi
Changeset: 6de349321d774c80c00aaa9f6de979d930ee1b83
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Wed Feb 29 18:34:57 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/6de349321d774c80c00aaa9f6de979d930ee1b83 [^]

Backout of issue 19469

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql
---
(0045902)
hudsonbot (developer)
2012-03-02 15:38

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/544d64e0c159 [^]

Maturity status: Test
(0046004)
hudsonbot (developer)
2012-03-02 15:40

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/544d64e0c159 [^]

Maturity status: Test
(0046031)
hgbot (developer)
2012-03-05 11:34

Repository: erp/devel/pi
Changeset: 98b414b9d164c2a11e8663f47fe5132e2f62cdc4
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Mon Mar 05 11:34:17 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/98b414b9d164c2a11e8663f47fe5132e2f62cdc4 [^]

Fixes issue 19469: Duplicity in purchase invoice lines.
With this patch, now the clients will be able to select one line from the orders if they have not got all the quantity invoiced yet in the same invoice

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql
---
(0046033)
jecharri (developer)
2012-03-05 11:49

Test cases:
-create one purchase order to one BP and with 2 lines. Book it
-go to window purchase invoice and create a header for the same BP:
  +now push in create lines, and see that the lines appear with the same qty like in the order
  +add lines and change the qty to less qty.
  +push again in create lines and see that now the qty change to = order qty -inserted qty
  +complete the invoice, with the same qty like in the order and complete it.
  +create a new invoice and see that the order is not proposal.

-create a new order with the same values.
-go to invoice and create a header.
-push in create lines and select the created order:
  +select only one line and add.
  +push again in create lines and see that only one line is proposal.
  +select the line and add
  +push again in create lines and select the order see that if you have the same qty as in the order the lines are not proposal.

-create a new order with the same values.
-go to invoice and create a header.
-push in create lines and select the created order:
  +select 2 lines and put less qty and colmplete.
  +create a new invoice and push in create lines:
       -see that the proposal lines qty is: ordered qty - invoiced qty
(0046057)
hgbot (developer)
2012-03-05 18:47

Repository: erp/devel/pi
Changeset: 78ee857dbe74f954c248a2db0c47435ff3c2682e
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Mon Mar 05 18:46:08 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/78ee857dbe74f954c248a2db0c47435ff3c2682e [^]

issue 19469: Duplicity in purchase invoice lines.
Now it does not prupouse lines with negative quantity and apart from that, are considered invoiced lines when the application is going to prupouse lines from selected order

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql
---
(0046468)
VictorVillar (developer)
2012-03-15 16:55

Verified
(0047030)
hudsonbot (developer)
2012-04-01 20:37

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/640de9acc2d5 [^]

Maturity status: Test
(0047036)
hudsonbot (developer)
2012-04-01 20:37

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/640de9acc2d5 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-01-11 18:12 VictorVillar New Issue
2012-01-11 18:12 VictorVillar Assigned To => jonalegriaesarte
2012-01-11 18:12 VictorVillar Modules => Core
2012-01-11 18:12 VictorVillar Resolution time => 1332885600
2012-01-11 18:12 VictorVillar Issue Monitored: networkb
2012-02-02 11:29 jonalegriaesarte Assigned To jonalegriaesarte => jecharri
2012-02-20 19:04 hgbot Checkin
2012-02-20 19:04 hgbot Note Added: 0045285
2012-02-20 19:04 hgbot Status new => resolved
2012-02-20 19:04 hgbot Resolution open => fixed
2012-02-20 19:04 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4a020fd924d0aded59488f1264a6707f56d0eaba [^]
2012-02-24 09:17 jecharri Status resolved => new
2012-02-24 09:17 jecharri Resolution fixed => open
2012-02-24 09:17 jecharri Status new => scheduled
2012-02-24 09:17 jecharri fix_in_branch => pi
2012-02-24 09:17 jecharri Status scheduled => resolved
2012-02-24 09:17 jecharri Resolution open => fixed
2012-02-29 18:36 hgbot Checkin
2012-02-29 18:36 hgbot Note Added: 0045636
2012-02-29 18:36 jecharri Status resolved => new
2012-02-29 18:36 jecharri Resolution fixed => open
2012-02-29 18:36 jecharri Target Version 3.0MP9 => 3.0MP10
2012-02-29 18:36 jecharri fix_in_branch pi =>
2012-03-02 15:38 hudsonbot Checkin
2012-03-02 15:38 hudsonbot Note Added: 0045902
2012-03-02 15:40 hudsonbot Checkin
2012-03-02 15:40 hudsonbot Note Added: 0046004
2012-03-05 11:34 hgbot Checkin
2012-03-05 11:34 hgbot Note Added: 0046031
2012-03-05 11:34 hgbot Status new => resolved
2012-03-05 11:34 hgbot Resolution open => fixed
2012-03-05 11:34 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/4a020fd924d0aded59488f1264a6707f56d0eaba [^] => http://code.openbravo.com/erp/devel/pi/rev/98b414b9d164c2a11e8663f47fe5132e2f62cdc4 [^]
2012-03-05 11:49 jecharri Note Added: 0046033
2012-03-05 18:47 hgbot Checkin
2012-03-05 18:47 hgbot Note Added: 0046057
2012-03-15 16:55 VictorVillar Note Added: 0046468
2012-03-15 16:55 VictorVillar Status resolved => closed
2012-04-01 20:37 hudsonbot Checkin
2012-04-01 20:37 hudsonbot Note Added: 0047030
2012-04-01 20:37 hudsonbot Checkin
2012-04-01 20:37 hudsonbot Note Added: 0047036


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker