Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023560Openbravo ERP07. Sales managementpublic2013-04-16 17:342013-06-01 02:14
maite 
pramakrishnan 
highminoralways
closedfixed 
5
 
3.0MP24 
Sandrahuguet
Core
No
0023560: Insert Orphan Line when using Price List including taxes is not calculating Net Price properly
Insert Orphan Line when using Price List including taxes is not calculating Net Price properly
1. Configure Price List as "Price Include Tax" and add price for any product.
2. Configure a preference named RM Allow Orphan Line as "Y"
3. Logout and login
4. Create Return From Customer header using this price list. Choose Product, Set Price 330 and Tax=10%. Process
5. Access Return From Customer Line and verify that both Gross Price and Net Price are set to 330, when Net Price should be 300 and Gross Price 330

Same problem when using Insert Orphan Line process in Return To Vendor window
No tags attached.
related to defect 0035428 closed aferraz Do not calculate Net Price and Net Amount outside triggers when creating new Order/Invoice with Price Including Taxes 
Issue History
2013-04-16 17:34maiteNew Issue
2013-04-16 17:34maiteAssigned To => dmiguelez
2013-04-16 17:34maiteModules => Core
2013-04-16 17:34maiteTriggers an Emergency Pack => No
2013-04-16 17:37maiteSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4583#r4583
2013-04-16 17:37maiteTarget Version => 3.0MP24
2013-04-16 17:38maiteIssue Monitored: networkb
2013-04-16 17:42dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-05-20 12:00jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2013-05-27 12:24pramakrishnanAssigned ToioritzCia => pramakrishnan
2013-05-27 12:24pramakrishnanStatusnew => scheduled
2013-05-27 12:24pramakrishnanfix_in_branch => pi
2013-05-27 12:45pramakrishnanNote Added: 0058949
2013-05-28 13:19hgbotCheckin
2013-05-28 13:19hgbotNote Added: 0058990
2013-05-28 13:19hgbotStatusscheduled => resolved
2013-05-28 13:19hgbotResolutionopen => fixed
2013-05-28 13:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d31e48e598fb89212ed54b5034ae8a2ec6b362a4 [^]
2013-05-28 13:19SandrahuguetReview Assigned To => Sandrahuguet
2013-05-28 13:19SandrahuguetNote Added: 0058991
2013-05-28 13:19SandrahuguetStatusresolved => closed
2013-05-28 16:04hgbotCheckin
2013-05-28 16:04hgbotNote Added: 0058997
2013-06-01 02:14hudsonbotCheckin
2013-06-01 02:14hudsonbotNote Added: 0059094
2013-06-01 02:14hudsonbotCheckin
2013-06-01 02:14hudsonbotNote Added: 0059095
2017-03-07 12:40aferrazRelationship addedrelated to 0035428

Notes
(0058949)
pramakrishnan   
2013-05-27 12:45   
Test Plan:
1. Configure Price List as "Price Include Tax" and add price for any product.
2. Configure a preference named RM Allow Orphan Line as "Y"
3. Logout and login
4. Create Return From Customer header using this price list. Choose Product, Set Price 330 and Tax=10%. Process
5. Access Return From Customer Line and verify that the Gross Price is 330 and the Net Price is 300
(0058990)
hgbot   
2013-05-28 13:19   
Repository: erp/devel/pi
Changeset: d31e48e598fb89212ed54b5034ae8a2ec6b362a4
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Tue May 28 16:08:36 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/d31e48e598fb89212ed54b5034ae8a2ec6b362a4 [^]

Fixes issue 23560: Insert Orphan Line when using Price List including taxes

---
M src/org/openbravo/erpCommon/ad_actionButton/RMInsertOrphanLine.java
---
(0058991)
Sandrahuguet   
2013-05-28 13:19   
Code review + testing OK
(0058997)
hgbot   
2013-05-28 16:04   
Repository: erp/devel/pi
Changeset: 5e89abb03c8d365a4377f3ccb620b7838b47abbc
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Tue May 28 17:12:12 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/5e89abb03c8d365a4377f3ccb620b7838b47abbc [^]

Related to issue 23560

---
M src/org/openbravo/erpCommon/ad_actionButton/RMInsertOrphanLine.java
---
(0059094)
hudsonbot   
2013-06-01 02:14   
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/31f9b82dde77 [^]

Maturity status: Test
(0059095)
hudsonbot   
2013-06-01 02:14   
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/31f9b82dde77 [^]

Maturity status: Test