Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016321
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2011-03-16 12:292011-04-06 00:00
ReporteradrianromeroView Statuspublic 
Assigned Toadrianromero 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision1f543286dd0c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016321: Not possible to modify available fields of Discount line when order is processed

DescriptionWhen creating an order you can add a Discount in Discount tab. Then you process the order and new line with this discount is added in the order. If you try to modify available field in this line you obtain error message as Business Partner and Partner Address fields are not filled when creating Discount line.
Steps To Reproduce1. Sales Management || Transactions || Sales Order || Header : Create Sales Order Header
2. Sales Management || Transactions || Sales Order || Header >> Lines : Add one Order line with Line Amount <> 0
3. Sales Management || Transactions || Sales Order || Header >> Discounts: Add one line in Discount Tab with a discount with discount percent <> 0
4. Complete the Sales Order
5. Go to the new created line corresponding to the discount
6. Update Description field
7. Try to save
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00168312.50MP29 closeddalsasua A trigger condition in c_orderline has been added and can cause problems in special conditions 
blocks backport 00155942.50MP27 closedadrianromero Not possible to modify available fields of Discount line when order is processed 

-  Notes
(0035133)
hgbot (developer)
2011-03-22 11:20

Repository: erp/devel/pi
Changeset: 493535b2d705c2a33cc6a90ed1595090e3ae71f7
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Mar 16 12:37:25 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/493535b2d705c2a33cc6a90ed1595090e3ae71f7 [^]

Fixes issue 0016321: Not possible to modify available fields of Discount line when order is processed
It has been hidden the fields Business Partner and Partner Address for lines that are discounts. It has been removed the mandatory flag for Partner address and it has been added this removed logic to the trigger. Now Partner Address is mandatory only for lines that are not discounts.

---
M src-db/database/model/triggers/C_ORDLINE_CHK_RESTRICTIONS_TRG.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
---
(0035220)
hgbot (developer)
2011-03-24 18:33

Repository: erp/devel/pi
Changeset: 1f543286dd0cda44d33813a5abee9caf0a45bf4a
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Mar 24 18:32:06 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1f543286dd0cda44d33813a5abee9caf0a45bf4a [^]

Fixes issue 0016321: Not possible to modify available fields of Discount line when order is processed
It has been modified the precision of prices to 2 to be consistent with the precision used for prices in the configuration file Formats.xml

---
M src-db/database/sourcedata/referencedData/C_CURRENCY.xml
---
(0035603)
maite (developer)
2011-04-05 13:38

verified

- Issue History
Date Modified Username Field Change
2011-03-16 12:29 adrianromero New Issue
2011-03-16 12:29 adrianromero Assigned To => adrianromero
2011-03-16 12:29 adrianromero Modules => Core
2011-03-16 12:29 adrianromero Issue generated from 0015594
2011-03-16 12:29 adrianromero Relationship added blocks 0015594
2011-03-16 12:30 adrianromero Severity major => minor
2011-03-22 11:20 hgbot Checkin
2011-03-22 11:20 hgbot Note Added: 0035133
2011-03-22 11:20 hgbot Status new => resolved
2011-03-22 11:20 hgbot Resolution open => fixed
2011-03-22 11:20 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/493535b2d705c2a33cc6a90ed1595090e3ae71f7 [^]
2011-03-24 18:33 hgbot Checkin
2011-03-24 18:33 hgbot Note Added: 0035220
2011-03-24 18:33 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/493535b2d705c2a33cc6a90ed1595090e3ae71f7 [^] => http://code.openbravo.com/erp/devel/pi/rev/1f543286dd0cda44d33813a5abee9caf0a45bf4a [^]
2011-04-05 13:38 maite Note Added: 0035603
2011-04-05 13:38 maite Status resolved => closed
2011-04-06 00:00 anonymous sf_bug_id 0 => 3276663
2011-04-15 15:43 dalsasua Relationship added related to 0016831


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker