[MERGE]Lunch

bzr revid: api@openerp.com-20121025081441-n1kwmt6rsrnldoqo
This commit is contained in:
Arnaud Pineux 2012-10-25 10:14:41 +02:00
parent 975a32ff11
commit 544dbfed35
1 changed files with 1 additions and 9 deletions

View File

@ -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'),