forked from Yaltik/golem
[IMP]GOLEM Activity : order by defautl code then name then id
This commit is contained in:
parent
5ca67d5a48
commit
3ccce89bf1
@ -19,7 +19,7 @@
|
||||
'name': 'GOLEM activities',
|
||||
'summary': 'Extends Odoo products for multi-activity',
|
||||
'description': 'Extends Odoo products for multi-activity',
|
||||
'version': '10.0.2.5.0',
|
||||
'version': '10.0.2.5.1',
|
||||
'category': 'GOLEM',
|
||||
'author': 'Fabien Bourgeois, Michel Dessenne',
|
||||
'license': 'AGPL-3',
|
||||
|
@ -50,6 +50,7 @@ class GolemActivity(models.Model):
|
||||
_description = 'GOLEM Activity'
|
||||
_inherit = 'mail.thread'
|
||||
_inherits = {'product.template': 'product_id'}
|
||||
_order = 'default_code, name, id'
|
||||
_rec_name = 'full_name'
|
||||
|
||||
product_id = fields.Many2one('product.template', required=True,
|
||||
|
Loading…
Reference in New Issue
Block a user