[web2py] Re: Default value of two references only one gets the value

2015-12-22 Thread Greenpoise
Fixed it by normalizing the tables. I had a duplicate with suppliercode. Thanks On Tuesday, December 22, 2015 at 3:08:08 PM UTC-8, Anthony wrote: > > db.define_table('supplier', >> Field('suppliercode',requires=IS_UPPER()), >> format='%(suppliercode)s') >> >> db.define_table('series', >>

[web2py] Re: Default value of two references only one gets the value

2015-12-22 Thread Anthony
> > db.define_table('supplier', > Field('suppliercode',requires=IS_UPPER()), > format='%(suppliercode)s') > > db.define_table('series', > Field('seriesname'), > Field('seriesdescription',requires=IS_UPPER())... > > db.define_table('product', >Field('series', 'reference series'), >