Notes |
|
|
changeset: 4465:3998e7028d13
user: David Alsasua <david.alsasua@openbravo.com>
date: Fri Jul 31 18:39:58 2009 +0200
files: src-db/database/sourcedata/AD_COLUMN.xml
description:
Field Not Mandatory, corresponding to a non-nullable column |
|
|
|
This column was non-nullable in 2.40, and somehow turned to nullable during 2.50 development. Now needs to be non-nullable again.
This was noticed due to https://issues.openbravo.com/view.php?id=10073 [^]
The only solution is to make this column not nullable again, and the corresondant field mandatory. Problem is approach for updates that include this change.
After discussing possible solutions we have agreed that:
1- A SQL-snippet will be provided to check if there is an update needed. If no update is needed, there is no problem.
2- A OnCreateDefault value will provided for this field, establishing the same account for cash, that the one existing for bank (that has always been mandatory). This way, there will be no problem to perform the update.
3- User must be aware of this, because a default account will have been established with no action from his side. I think that a comment in the release notes is not enough, so we have to decide how will be this communicated to the user.
Kindly Regards. |
|
|
(0018881)
|
hgbot
|
2009-08-07 16:31
|
|
|
|
(0018887)
|
hgbot
|
2009-08-10 11:23
|
|
|
|
(0018890)
|
hgbot
|
2009-08-10 12:28
|
|
|
|
|
Not able to reproduce the check |
|