Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012044Openbravo ERP07. Sales managementpublic2010-01-22 12:312010-04-19 21:10
networkb 
sivaraman 
urgentminoralways
closedfixed 
5
2.40MP11 
2.40MP15 
Core
No
0012044: Create New Record button in Comission Payment window
As Comission Payment window is not thought to create new records directly, "Create New Record" button should not appear
1. Sales Management || Setup || Commission || Header: create a new record and save
2. Sales Management || Transactions || Commission Payment || Header: create new record and try to save. You will get the error.
For pi: Set the Commission Payment header with UI Pattern = Single record then make all the fields as read-only except the Create Invoice button.

For 2.40: Single UI Pattern is not implemented in 2.40 (New and Delete button can not be removed) so there is not a 100% proper solution but making all the fields as read-only except the Create Invoice button.
No tags attached.
related to feature request 0004113pi closed alostale Single record window UI pattern 
depends on backport 00121852.40MP15 closed adrianromero Create New Record button in Comission Payment window 
related to defect 0012186 closed alostale Rename UI Pattern = Single Record to a more meaningful name 
related to defect 0014240 closed adrianromero Commission payment should be Edit Only tab not read-only tab 
Issue History
2010-01-22 12:31networkbNew Issue
2010-01-22 12:31networkbAssigned To => rafaroda
2010-02-09 11:36rafarodaPriorityimmediate => urgent
2010-02-09 11:36rafarodaProposed Solution updated
2010-02-09 11:37rafarodaStatusnew => scheduled
2010-02-09 11:37rafarodafix_in_branch => pi
2010-02-09 11:37rafarodaRelationship addedrelated to 0004113
2010-02-09 11:43rafarodaRelationship addedrelated to 0012186
2010-02-11 11:07rafarodaAssigned Torafaroda => adrianromero
2010-03-23 07:07sivaramanAssigned Toadrianromero => sivaraman
2010-03-23 07:12hgbotCheckin
2010-03-23 07:12hgbotNote Added: 0025658
2010-03-23 07:12hgbotStatusscheduled => resolved
2010-03-23 07:12hgbotResolutionopen => fixed
2010-03-23 07:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/f30f0f164968b750940a4d9a05e8e79704595750 [^]
2010-03-23 11:58hgbotCheckin
2010-03-23 11:58hgbotNote Added: 0025664
2010-03-23 11:58hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/stable/2.40/rev/f30f0f164968b750940a4d9a05e8e79704595750 [^] => http://code.openbravo.com/erp/devel/pi/rev/e3f4204ba5b1803dcbf034f2f0506f044aab52dc [^]
2010-03-23 12:06sivaramanNote Added: 0025665
2010-04-05 07:57sureshbabuNote Added: 0025873
2010-04-05 07:57sureshbabuStatusresolved => closed
2010-04-06 00:00anonymoussf_bug_id0 => 2982344
2010-04-19 21:10hudsonbotCheckin
2010-04-19 21:10hudsonbotNote Added: 0026369
2010-08-18 18:10rafarodaRelationship addedrelated to 0014240

Notes
(0025658)
hgbot   
2010-03-23 07:12   
Repository: erp/stable/2.40
Changeset: f30f0f164968b750940a4d9a05e8e79704595750
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Tue Mar 23 11:50:00 2010 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/f30f0f164968b750940a4d9a05e8e79704595750 [^]

Fixes issue 12044: Create New Record button in Comission Payment window

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0025664)
hgbot   
2010-03-23 11:58   
Repository: erp/devel/pi
Changeset: e3f4204ba5b1803dcbf034f2f0506f044aab52dc
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Tue Mar 23 16:34:42 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/e3f4204ba5b1803dcbf034f2f0506f044aab52dc [^]

Fixes issue 12044: Create New Record button in Comission Payment window

---
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_TAB.xml
---
(0025665)
sivaraman   
2010-03-23 12:06   
Steps to test:

1. Log on to Openbravo
2. Change role to Openbravo Admin
3. Go to Sales Management || Setup || Commission || Header
4. Create new records and Save it
5. Go to Sales Management || Transactions || Commission Payment || Header
6. Verify all fields are Read-Only except Create Invoice button
7. Verify 'New' and 'Delete' button not available in toolbar (Note: it's unable to remove 'New' and 'Delete' button in 2.40)
(0025873)
sureshbabu   
2010-04-05 07:57   
Tested in PI context its working fine
(0026369)
hudsonbot   
2010-04-19 21:10   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/e3f4204ba5b1 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]