Release 3.6 version

This commit is contained in:
Oscar Alvarez
2015-08-05 07:30:10 -05:00
parent e287dbff0e
commit 84e520771c
5 changed files with 11 additions and 12 deletions

View File

@@ -42,9 +42,7 @@ class SaleDevice(ModelSQL, ModelView):
@fields.depends('shop')
def on_change_shop(self):
return {
'company': self.shop.company.id if self.shop else None
}
self.company = self.shop.company.id if self.shop else None
def get_company(self, name):
return self.shop.company.id