Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021545Openbravo ERP03. Procurement managementpublic2012-09-04 12:502012-09-28 14:38
caristu 
caristu 
highminoralways
closedfixed 
5
 
3.0MP17 
ioritzCia
Core
No
0021545: Generate Invoice from Receipt should inform about the price used
When using the Generate Invoice from Receipt button and the Goods Receipt has a Purchase Order related, always the price in the purchase order is used even if we select a price list in the drop down price list.
1) Go to the [Puchase Order] window and create a new record with one line at least. Give the price you want to the product.
2) Go to [Pending Goods Receipts] and generate the Goods Receipt based on the previous Purchas Order.
3)In the [Goods Receipt] window, click in the "Generate Invoice from Receipt" button and select any price list. Click Ok.
4)Go to the [Purchase Invoice] window and check that the price applied is the price that the product has in the purchase order not the present in the price list.
Include in the message that appears when the invoice is generated something like 'Purchase order price used'
No tags attached.
Issue History
2012-09-04 12:50caristuNew Issue
2012-09-04 12:50caristuAssigned To => mirurita
2012-09-04 12:50caristuModules => Core
2012-09-04 12:50caristuResolution time => 1352415600
2012-09-04 12:51caristuIssue Monitored: networkb
2012-09-04 13:52caristuSummaryGenerate Invoice from Receipt should inform about the price list used => Generate Invoice from Receipt should inform about the price used
2012-09-04 13:52caristuDescription Updatedbug_revision_view_page.php?rev_id=3792#r3792
2012-09-04 13:52caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=3794#r3794
2012-09-04 13:52caristuProposed Solution updated
2012-09-04 15:07jonalegriaesarteAssigned Tomirurita => jecharri
2012-09-04 16:07jonalegriaesarteAssigned Tojecharri => caristu
2012-09-24 08:54hgbotCheckin
2012-09-24 08:54hgbotNote Added: 0052299
2012-09-24 08:54hgbotStatusnew => resolved
2012-09-24 08:54hgbotResolutionopen => fixed
2012-09-24 08:54hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/891837fb519c933d31840fe4f8be15fbe1d2012b [^]
2012-09-24 09:09caristuNote Added: 0052301
2012-09-27 13:39ioritzCiaClosed by => ioritzCia
2012-09-27 13:39ioritzCiaNote Added: 0052833
2012-09-27 13:39ioritzCiaStatusresolved => closed
2012-09-28 14:38hudsonbotCheckin
2012-09-28 14:38hudsonbotNote Added: 0052879

Notes
(0052299)
hgbot   
2012-09-24 08:54   
Repository: erp/devel/pi
Changeset: 891837fb519c933d31840fe4f8be15fbe1d2012b
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Sep 21 08:33:38 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/891837fb519c933d31840fe4f8be15fbe1d2012b [^]

fixes issue 21545: Generate Invoice from Receipt should inform about the price used

---
M src-db/database/model/functions/M_INOUT_CREATEINVOICE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_PROCESS.xml
---
(0052301)
caristu   
2012-09-24 09:09   
Test Plan:
1) Go to the [Puchase Order] window and create a new record with one line at least. Give the price you want to the product.
2) Go to [Pending Goods Receipts] and generate the Goods Receipt based on the previous Purchas Order.
3)In the [Goods Receipt] window, click in the "Generate Invoice from Receipt" button. Check that in the information message a more detailed description has been added. Select any price list. Click Ok. Check that in the success message has been added the number of lines generated with prices from the order.
4)Go to the [Purchase Invoice] and verify that the information showed in the success message is true.
(0052833)
ioritzCia   
2012-09-27 13:39   
Verified
(0052879)
hudsonbot   
2012-09-28 14: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/6d2f8cffd4b1 [^]

Maturity status: Test