Bah relooked code, problem is more complex, missing default work fine, problem is openerp don't send readonly field to create method, so create consider a missing value. I have no time at to see it a on_change change a value of a readonly fields, this new value sended or not sender . dunnno .. anyway the problem is not missing default get, is the readonly not passed to create.
-- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons. https://bugs.launchpad.net/bugs/1079205 Title: Number always skip when create new Sales Order Status in OpenERP Addons (modules): Fix Committed Bug description: Based on trunk (Build 25025) server (4563) addons (8057) web (3431) Steps: 1. Create new Sales Order, i.e., Number = SO001 2. Save this document, Number = SO002 3. Create new Sales Order again, i.e., Number = SO003 4. Save this document, Number = SO004 We end up having 2 documents, SO002...SO004 !!! This based on the following Sequence configuration Prefix: SO, Suffix: n/a Number Padding: 3 Increment Number: 1 Implementation: No gap To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/1079205/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

