[MERGE]Lunch
bzr revid: api@openerp.com-20121025081441-n1kwmt6rsrnldoqo
This commit is contained in:
parent
975a32ff11
commit
544dbfed35
|
@ -346,15 +346,7 @@ class lunch_order_line(osv.Model): #define each product that will be in one ORDE
|
|||
class lunch_preference(osv.Model):
|
||||
_name = 'lunch.preference'
|
||||
_description= "user preferences"
|
||||
|
||||
def onclick_preference(self,cr,uid,ids,context=None):
|
||||
print cr
|
||||
print uid
|
||||
print ids
|
||||
print context
|
||||
print self.pool.get('lunch.preference').browse(cr,uid,ids,context)[0]['product_name']
|
||||
return True
|
||||
|
||||
|
||||
_columns = {
|
||||
'date' : fields.date('Date', required=True,readonly=True),
|
||||
'color': fields.integer('Color'),
|
||||
|
|
Loading…
Reference in New Issue