Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027355Openbravo ERP07. Sales managementpublic2014-08-18 08:022014-12-30 23:24
VictorVillar 
reinaldoguerra 
urgentmajoralways
closedfixed 
5
 
3.0PR15Q1 
pramakrishnan
Core
No
0027355: Attribute field should not appear in the Sales Orders
Attribute field should not appear in the Sales Orders, because it seems that it has no purpose. Problem:
If you fill it manually you are creating a new m_attributesetinstance_id, which has no stock, it means, you are creating a new product.
Attribute field should not appear in the Sales Orders, because it seems that it has no purpose. Problem:
If you fill it manually you are creating a new m_attributesetinstance_id, which has no stock, it means, you are creating a new product.
No tags attached.
Issue History
2014-08-18 08:02VictorVillarNew Issue
2014-08-18 08:02VictorVillarAssigned To => dmiguelez
2014-08-18 08:02VictorVillarModules => Core
2014-08-18 08:02VictorVillarResolution time => 1411423200
2014-08-18 08:02VictorVillarTriggers an Emergency Pack => No
2014-08-18 08:02VictorVillarAssigned Todmiguelez => jonalegriaesarte
2014-08-18 08:02VictorVillarIssue Monitored: networkb
2014-09-01 16:33jonalegriaesarteAssigned Tojonalegriaesarte => AtulOpenbravo
2014-09-29 16:12jonalegriaesarteTarget Version3.0PR14Q4 => 3.0PR15Q1
2014-10-21 05:01reinaldoguerraAssigned ToAtulOpenbravo => reinaldoguerra
2014-10-21 05:01reinaldoguerraStatusnew => scheduled
2014-10-22 04:46reinaldoguerraNote Added: 0071106
2014-10-25 03:28reinaldoguerraNote Edited: 0071106bug_revision_view_page.php?bugnote_id=0071106#r6894
2014-11-06 21:10reinaldoguerraNote Edited: 0071106bug_revision_view_page.php?bugnote_id=0071106#r6979
2014-11-18 09:01hgbotCheckin
2014-11-18 09:01hgbotNote Added: 0071741
2014-11-18 09:01hgbotStatusscheduled => resolved
2014-11-18 09:01hgbotResolutionopen => fixed
2014-11-18 09:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8d86f28e2da1d901d4b6dd06a8efca682b2a067d [^]
2014-11-18 09:02pramakrishnanReview Assigned To => pramakrishnan
2014-11-18 09:02pramakrishnanNote Added: 0071742
2014-11-18 09:02pramakrishnanStatusresolved => closed
2014-12-30 23:24hudsonbotCheckin
2014-12-30 23:24hudsonbotNote Added: 0073069

Notes
(0071106)
reinaldoguerra   
2014-10-22 04:46   
(edited on: 2014-11-06 21:10)
Test plan used:
1- Login into Openbravo ERP.
2- Go to Sales Order window
3- Create a new header record.
4- Go to lines tab and create a new one.
5- Select a product with an attribute set defined for example: Zumo de Naranja Bio 0,33L
6- Note that attribute set value field is not writable (read only).
7- Open selected product and realize that attribute set named "Lote" is defined for this product.
8- Go to "Lote" attribute set window.
9- Realize that field "Lot" is marked as true.
10- Uncheck "Lot" and save the attribute set.
11- Go again to Order Line tab and note that attribute set value field is now writable.
12- As "Lot" property is unchecked it is not possible to write or select some value from attributes set value selector. In this case go to the Attribute set window then select "Lote" record and add a new attribute using tab Asigned Attribute.
13- Now it is possible to select a value from attributes set value selector.

14- Go to Purchase Order window
15- Create a new header record.
16- Go to lines tab and create a new one.
17- Select a product with an attribute set defined for example: Zumo de Naranja Bio 0,33L.
18- Note that attribute set value field is not writable (read only).

(0071741)
hgbot   
2014-11-18 09:01   
Repository: erp/devel/pi
Changeset: 8d86f28e2da1d901d4b6dd06a8efca682b2a067d
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Fri Oct 24 14:54:51 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/8d86f28e2da1d901d4b6dd06a8efca682b2a067d [^]

Fixed bug 27355: Attribute should be readonly in order lines for some cases.

Readonly logic for Attribute Set Value in order line column is now applied when the attribute set of the line's product has at least one of the following fields defined as true: Lot, Serial Number, Expiration Date.
Two new auxiliary inputs were added to validate the mentioned scenario in sales and purchase orders.

---
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0071742)
pramakrishnan   
2014-11-18 09:02   
Code Review + Testing - OK.
(0073069)
hudsonbot   
2014-12-30 23:24   
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/6525fe229e06 [^]
Maturity status: Test