Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0007964 | Openbravo ERP | B. User interface | public | 2009-03-05 10:37 | 2022-02-01 08:08 |
|
Reporter | alostale | |
Assigned To | Triage Platform Base | |
Priority | high | Severity | minor | Reproducibility | always |
Status | acknowledged | Resolution | open | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0007964: Checkboxes do not take "N" value util they are saved |
Description | When a checkbox is changed and it is used for dynamic checks without saving the record (for example in a validation) it works as expected when it is checked but not when it is unchecked.
Further information about the problem in 0007923
|
Steps To Reproduce | The same ones as 0007923 |
Proposed Solution | This seems to be a HTML limitation: checkboxes are defined as <input type="checkbox" value="Y">, this means that it takes "Y" when it is checked but blank when it is not.
But it would be nice if there was a way to set "N" when it is not checked. |
Additional Information | |
Tags | 250MP1 |
Relationships | related to | defect | 0007923 | 2.40 | closed | alostale | Error applaying validation on c_tax_id field from Invoice line tab in Purchase Invoice window | related to | defect | 0010015 | pi | closed | alostale | Read only logic does not work with Business Partner fields |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2009-03-05 10:37 | alostale | New Issue | |
2009-03-05 10:37 | alostale | Assigned To | => rafaroda |
2009-03-05 10:37 | alostale | Regression testing | => No |
2009-03-05 10:43 | alostale | Relationship added | related to 0007923 |
2009-03-05 10:51 | rafaroda | Assigned To | rafaroda => dbaz |
2009-03-05 10:51 | rafaroda | Priority | normal => high |
2009-03-05 10:51 | rafaroda | Status | new => acknowledged |
2009-04-21 19:22 | dbaz | Assigned To | dbaz => alostale |
2009-04-22 13:29 | alostale | Note Added: 0015529 | |
2009-04-22 13:29 | alostale | Assigned To | alostale => rafaroda |
2009-04-22 16:00 | rafaroda | Note Added: 0015543 | |
2009-04-22 16:01 | rafaroda | Note Added: 0015544 | |
2009-04-23 16:04 | psarobe | Tag Attached: 250MP1 | |
2009-06-01 12:16 | rafaroda | Assigned To | rafaroda => alostale |
2009-08-31 14:32 | rafaroda | Relationship added | related to 0010015 |
2009-10-06 09:01 | alostale | Type | defect => feature request |
2017-04-10 14:39 | alostale | Assigned To | alostale => platform |
2022-02-01 08:08 | alostale | Assigned To | platform => Triage Platform Base |
Notes |
|
|
As this is a HTML limitation it is not going to be fixed. It will be documented as a known issue in developers guide explaining the proposed workaround for 0007923.
For core we must ensure all display logic is using this workaround in case in the display logic participates a check box. |
|
|
|
For display logic:
SELECT w.name as window, t.name as tab, f.name as field, f.displaylogic
FROM ad_window w, ad_tab t, ad_field f
WHERE w.ad_window_id = t.ad_window_id
AND t.ad_tab_id = f.ad_tab_id
AND f.displaylogic IS NOT NULL
AND f.displaylogic like '%''N''%'
AND f.displaylogic like '%Is%' |
|
|
|
For validations:
SELECT ad_val_rule_id, name, code
FROM ad_val_rule
WHERE (code like '%@=%'
OR code like '%@ =%') |
|