Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021795Openbravo ERP09. Financial managementpublic2012-09-28 21:252013-02-13 13:33
pjuvara 
ioritzCia 
normalminoralways
closedfixed 
5
3.0MP12 
3.0MP18 
caristu
Core
No
0021795: Product selector on asset should not restrict to products that belong to a sales price list
There is a product selector on the asset entity that allows to select a product associated with that item.

Currently the selector only allows to select products that belong to a price list marked as sales price list.

That is not correct. Most assets are purchased but never sold (unless they are disposed through a sale) and therefore they do not need to belong to a sale price list.
1) Create a new price list and makes sure that sales price list is set to N
2) Create a new product and associate it to that price list
3) Create an asset and try to select the price list - you cannot.
4) Modify the price list and set sales price list to Y
5) Now you can select the product
You should be able to associate any product to an asset.
Coworking
Issue History
2012-09-28 21:25pjuvaraNew Issue
2012-09-28 21:25pjuvaraAssigned To => dmiguelez
2012-09-28 21:25pjuvaraModules => Core
2012-09-28 21:25pjuvaraTag Attached: Coworking
2012-09-28 21:26pjuvaraAssigned Todmiguelez => vmromanos
2012-10-08 13:47jonalegriaesarteAssigned Tovmromanos => jonalegriaesarte
2012-10-08 13:47jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2012-11-05 10:26jonalegriaesarteTarget Version => 3.0MP18
2012-11-06 18:00ioritzCiaStatusnew => scheduled
2012-11-06 18:00ioritzCiafix_in_branch => pi
2012-11-09 12:20ioritzCiaNote Added: 0054115
2012-11-09 12:20ioritzCiaSeveritymajor => minor
2012-11-09 12:20ioritzCiafix_in_branchpi =>
2012-11-12 12:52hgbotCheckin
2012-11-12 12:52hgbotNote Added: 0054158
2012-11-12 12:52hgbotStatusscheduled => resolved
2012-11-12 12:52hgbotResolutionopen => fixed
2012-11-12 12:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2aebd20a2cf7936f63641b1af32cdbb63972d2f1 [^]
2012-11-21 06:06hudsonbotCheckin
2012-11-21 06:06hudsonbotNote Added: 0054358
2012-11-28 19:05caristuReview Assigned To => caristu
2012-11-28 19:05caristuNote Added: 0054644
2012-11-28 19:05caristuStatusresolved => closed
2013-02-13 13:33Xpand-ITIssue Monitored: Xpand-IT

Notes
(0054115)
ioritzCia   
2012-11-09 12:20   
The issue is fixed but due to MP17 packaging problems it cannot be pushed. Due to that reason, the issue's severity comes down to minor in order not to fail in the SLAs.
(0054158)
hgbot   
2012-11-12 12:52   
Repository: erp/devel/pi
Changeset: 2aebd20a2cf7936f63641b1af32cdbb63972d2f1
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Mon Nov 05 13:13:27 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/2aebd20a2cf7936f63641b1af32cdbb63972d2f1 [^]

Fixes issue 21795: Product selector on asset,
should not restrict to products that belong to a sales price list.

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
---
(0054358)
hudsonbot   
2012-11-21 06:06   
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/c3c5e61b0164 [^]

Maturity status: Test
(0054644)
caristu   
2012-11-28 19:05   
Verified