partner functions - ref=not null, but not in Form
Bug #323638 reported by
Ferdinand
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
in res_partner_
so no new records can be created
IMHO it's been replaced by code.
Related branches
To post a comment you must log in.
IMHO a nonsense
code may be unique not ref - Notes may never be unique !
if code is unique it must be mandatory
class res_partner_ function( osv.osv) : function' char('Function Name', size=64, required=True),
'ref': fields. char('Notes' , size=32, required=True), constraints = [
('ref_ uniq', 'unique (ref)', 'The Notes of the Partner Function must be unique !') function( )
_name = 'res.partner.
_description = 'Function of the contact'
_columns = {
'name': fields.
'code': fields.char('Code', size=8),
}
_order = 'name'
_sql_
]
res_partner_