Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034150Openbravo ERP07. Sales managementpublic2016-09-30 13:422017-11-17 00:42
psanjuan 
collazoandy4 
urgentmajoralways
scheduledopen 
20Professional Appliance
 
 
Core
No
0034150: Create Lines From function selects only shipped units while invoicing from orders.
Create Lines From function selects only shipped units while invoicing from orders.
As F&B International Group Admin role go to Sales order window.
Create a new order for F&B España, Alimentos business parter.
Select any product and enter an ordered quantity of 10 units.
Book the order.

Go to Goods Shipment window, and create a new one for same org and bp.
Use Create Lines from and select the just created. Ship only 5 units.

Go to Sales Invoice window, and create a new one for same org and bp.
Use Create Lines From and select the ORDER just created. Check that Create Lines from window shows 10 units. Select it and press OK.

Check that the number of units shown now in Sales Invoice tab is just 5, units shipped.
This is not correct.

The correct number of units if we do invoice from the order is 10.

Same way, the correct number of units if we do invoice from the shipment is 5. This is working.

Same applies to purchase cycle.

No tags attached.
related to design defect 0033624 closed AtulOpenbravo Different total net amount and total gross amount in order and invoice is the order line is split in more than one shipment line 
Issue History
2016-09-30 13:42psanjuanNew Issue
2016-09-30 13:42psanjuanAssigned To => Triage Finance
2016-09-30 13:42psanjuanModules => Core
2016-09-30 13:42psanjuanTriggers an Emergency Pack => No
2016-09-30 13:50psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13297#r13297
2016-09-30 13:50psanjuanProposed Solution updated
2016-10-14 13:24psanjuanRelationship addedrelated to 0033624
2017-11-16 16:22collazoandy4Assigned ToTriage Finance => collazoandy4
2017-11-17 00:40collazoandy4Note Added: 0100559
2017-11-17 00:42collazoandy4Statusnew => scheduled

Notes
(0100559)
collazoandy4   
2017-11-17 00:40   
Test Plan
  As F&B International Group Admin role
    Go to Sales order window and create a new record for F&B España, Alimentos business parter.
      Select any product and enter an ordered quantity of 10 units.
      Book the order.
    Go to Goods Shipment window and create a new record for F&B España, Alimentos business parter.
      Use Create Lines from and select the order just created.
      Edit the line to ship only 5 units.
    Go to Sales Invoice window and create a new record for F&B España, Alimentos business parter.
      Use Create Lines From and select the order just created.
      Check that the invoiced qty is 10
      Remove the line created and use Create Lines from and select the shipment just created
      Check that the invoiced qty is 5

Test Plan II
    Go to Sales order window and create a new record for F&B España, Alimentos business parter.
      Select any product and enter an ordered quantity of 20 units.
      Book the order.
    Go to Sales Invoice window and create a new record for F&B España, Alimentos business parter.
      Use Create Lines From and select the order just created.
      Edit the line to invoice only 10 units.
    Go to Goods Shipment window and create a new record for F&B España, Alimentos business parter.
      Use Create Lines From and select the order just created.
      Check that the movement qty is 20
      Remove the line created and use Create Lines from and select the invoice just created
      Check that the movement qty is 10

Test Plan III
  Repeat the above tests plans for purchase flow