Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021722Openbravo ERP07. Sales managementpublic2012-09-21 14:062012-12-17 13:34
jecharri 
ioritzCia 
urgentminoralways
closedfixed 
5
 
3.0MP19 
jecharri
Google Chrome
Core
No
0021722: Is impossible to create 2 invoices from one shipment
Is impossible to create 2 invoices from one shipment.

It is possible that some clients are interested in create 2 invoices from one shipment, in different dates
-Go to "Goods Shipment" and create and complete one.
-Go to "Sales Invoice" and create a header for the same organization and BP
-Push in "create lines from" and select the created shipment.
-Go to invoice lines and put lower qty that in the invoice.
-Complete it.
-Create a new header for the same organization and BP.
-Push in "create lines from" and you will see that you are not able to select the shipment.
No tags attached.
related to defect 00228943.0MP20 closed ioritzCia The Create From Invoice process takes too long to show the popup 
Issue History
2012-09-21 14:06jecharriNew Issue
2012-09-21 14:06jecharriAssigned To => dmiguelez
2012-09-21 14:06jecharriWeb browser => Google Chrome
2012-09-21 14:06jecharriModules => Core
2012-09-21 14:06jecharriResolution time => 1351029600
2012-09-21 14:15dmiguelezAssigned Todmiguelez => jonalegriaesarte
2012-09-27 13:10jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2012-10-01 14:01ioritzCiaWeb browserGoogle Chrome => Google Chrome
2012-10-01 14:01ioritzCiaTarget Version3.0MP16 => 3.0MP17
2012-10-31 10:29jonalegriaesarteWeb browserGoogle Chrome => Google Chrome
2012-10-31 10:29jonalegriaesarteNote Added: 0053910
2012-10-31 10:29jonalegriaesarteSeveritymajor => minor
2012-10-31 10:29jonalegriaesarteTarget Version3.0MP17 => 3.0MP18
2012-11-12 12:52hgbotCheckin
2012-11-12 12:52hgbotNote Added: 0054160
2012-11-12 12:52hgbotStatusnew => resolved
2012-11-12 12:52hgbotResolutionopen => fixed
2012-11-12 12:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/76d2cbdf6d393cb46b5ff6427b6bd27e1dad1ba6 [^]
2012-11-13 17:23ioritzCiaNote Added: 0054210
2012-11-21 06:06hudsonbotCheckin
2012-11-21 06:06hudsonbotNote Added: 0054360
2012-11-26 16:00jecharriNote Added: 0054496
2012-11-26 16:00jecharriStatusresolved => new
2012-11-26 16:00jecharriResolutionfixed => open
2012-11-27 18:56hgbotCheckin
2012-11-27 18:56hgbotNote Added: 0054607
2012-11-28 08:45hudsonbotCheckin
2012-11-28 08:45hudsonbotNote Added: 0054616
2012-12-04 11:51jonalegriaesarteWeb browserGoogle Chrome => Google Chrome
2012-12-04 11:51jonalegriaesarteTarget Version3.0MP18 => 3.0MP19
2012-12-13 18:16hgbotCheckin
2012-12-13 18:16hgbotNote Added: 0054921
2012-12-13 18:16hgbotStatusnew => resolved
2012-12-13 18:16hgbotResolutionopen => fixed
2012-12-13 18:16hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/76d2cbdf6d393cb46b5ff6427b6bd27e1dad1ba6 [^] => http://code.openbravo.com/erp/devel/pi/rev/d36493495ae9090de10e317a05a0f2a787a445b8 [^]
2012-12-14 09:56jecharriReview Assigned To => jecharri
2012-12-14 09:56jecharriNote Added: 0054930
2012-12-14 09:56jecharriStatusresolved => closed
2012-12-17 13:34hudsonbotCheckin
2012-12-17 13:34hudsonbotNote Added: 0055006
2013-01-25 13:13egoitzRelationship addedrelated to 0022894

Notes
(0053910)
jonalegriaesarte   
2012-10-31 10:29   
Needs to be tested carefully, moved to next MP
(0054160)
hgbot   
2012-11-12 12:52   
Repository: erp/devel/pi
Changeset: 76d2cbdf6d393cb46b5ff6427b6bd27e1dad1ba6
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Thu Nov 08 13:36:24 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/76d2cbdf6d393cb46b5ff6427b6bd27e1dad1ba6 [^]

Fixes issue 21722: Is impossible to create 2 invoices from one shipment.

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql
---
(0054210)
ioritzCia   
2012-11-13 17:23   
Testing Plan:
- Follow the steps to reproduce. But be aware that the steps to reproduce are really simple.
- Test with a line in the GS (Goods Shipment) and one line in more than in one Invoice.
- Test with multiple lines in the GS and one in multiple Invoices referring the previous ones. Try completing one line in the lines of the Invoices and not completing them.
- Test with multiple lines in the GS and multiple lines in multiple Invoices referring them. Try to complete the lines of the GS with one line of the Invoices or completing it with multiple ones.
- Test that only when the sum of every line of the completed invoices finish invoicing all the lines of the related GS the user is not allowed anymore to select the GS.
(0054360)
hudsonbot   
2012-11-21 06:06   
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/c3c5e61b0164 [^]

Maturity status: Test
(0054496)
jecharri   
2012-11-26 16:00   
-GO to window "goods shipment" and create one line with negative values.
-Go to window "sales invoice" and try to create lines from "shipment"

You will see that it is impossible to import negative lines from shipments
(0054607)
hgbot   
2012-11-27 18:56   
Repository: erp/devel/pi
Changeset: 586858c9754eef5ec554848a70e4050084821542
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Tue Nov 27 18:47:32 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/586858c9754eef5ec554848a70e4050084821542 [^]

Backout of changeset 76d2cbdf6d39, related to issue 21722.

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql
---
(0054616)
hudsonbot   
2012-11-28 08:45   
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/d193e5d7e3b4 [^]

Maturity status: Test
(0054921)
hgbot   
2012-12-13 18:16   
Repository: erp/devel/pi
Changeset: d36493495ae9090de10e317a05a0f2a787a445b8
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Thu Dec 13 09:57:13 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d36493495ae9090de10e317a05a0f2a787a445b8 [^]

Fixes issue 21722: Is impossible to create 2 invoices from one shipment.
Now works with negative lines.

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql
---
(0054930)
jecharri   
2012-12-14 09:56   
Verified and it is working as it expected
(0055006)
hudsonbot   
2012-12-17 13:34   
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/c79ef1b1f830 [^]

Maturity status: Test