Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 03. Procurement managementmajorhave not tried2011-04-11 17:042011-04-11 17:33
ReporteradrianromeroView Statuspublic 
Assigned Toadrianromero 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision3f8a7a0ad260
ProjectionnoneETAnoneTarget Version2.50MP29
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04.1Database version11. version1.7.0
Product Version2.50MP28SCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0016749: Purchase Invoice - "Create lines From" feature does not take the unit price of the purchase order but the price list one

DescriptionPurchase Invoice - "Create lines From" feature does not take the unit price of the purchase order but the price list one
Steps To ReproduceCreate a purchase order for Bebidas Alegres SL
Choose the product "Cerveza Ale 0.5L".
Realize that the net unit price coming from the Price List is 1.36
Change that price to 1.77 by example.
Complete the purchase order.

Navigate to purchase invoice window and create a new one for Bebidas Alegres SL
Press the button Create Lines From and choose the last purchase order just created.

Realize that the purchase invoice line shows a net unit price = 1.36 instead of 1.77

same behaviour in case of Oracle and Postgre.
same behaviour in case of purchase and sales

Proposed SolutionNet unit price should show the net unit price of the purchase order while creating a purchase invoice line by using "Create Lines From" button.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 00167403.0RC6 closedadrianromero Purchase Invoice - "Create lines From" feature does not take the unit price of the purchase order but the price list one 

-  Notes
hgbot (developer)
2011-04-11 17:30

Repository: erp/stable/2.50
Changeset: 3f8a7a0ad260f38caa9709d8da3b05d3af3aed89
Author: Adrián Romero <adrianromero <at>>
Date: Mon Apr 11 17:07:09 2011 +0200
URL: [^]

Fixes issue 0016749: Purchase Invoice - Create lines From feature does not take the unit price of the purchase order but the price list one
It has been removed the recalculation of the price of the line in case of copying from an order or from a shipment with an order associated.

M src/org/openbravo/erpCommon/ad_actionButton/
adrianromero (manager)
2011-04-11 17:33

* Testing the issue

Follow the steps to test and verify that now the price is not recalculated and is copied from the order line.

Test it for purchase invoices and sales invoices.

Test if copying lines from a shipment without an order associated, prices are recalculated

Test also that issue 13132 continues working as expected.

* Other areas affected.

No other areas affected. It has been only modified the area that copies lines to invoices.
adrianromero (manager)
2011-04-11 17:33


- Issue History
Date Modified Username Field Change
2011-04-11 17:04 adrianromero New Issue
2011-04-11 17:04 adrianromero Assigned To => adrianromero
2011-04-11 17:04 adrianromero Modules => Core
2011-04-11 17:04 adrianromero Issue generated from 0016740
2011-04-11 17:04 adrianromero Relationship added depends on 0016740
2011-04-11 17:30 hgbot Checkin
2011-04-11 17:30 hgbot Note Added: 0035828
2011-04-11 17:30 hgbot Status new => resolved
2011-04-11 17:30 hgbot Resolution open => fixed
2011-04-11 17:30 hgbot Fixed in SCM revision => [^]
2011-04-11 17:33 adrianromero Note Added: 0035830
2011-04-11 17:33 adrianromero Note Added: 0035831
2011-04-11 17:33 adrianromero Status resolved => closed

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker