Merge branch 'master' into family_subscription

This commit is contained in:
Fabien BOURGEOIS 2018-08-20 11:03:37 +02:00
commit 3676634790
2 changed files with 3 additions and 2 deletions

View File

@ -24,7 +24,7 @@
- allow set price per area and slice ;
- computes automatically applicable price ;
- anticipate ruleset to be implemented for computing.''',
'version': '10.0.0.1.1',
'version': '10.0.0.1.2',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',

View File

@ -24,7 +24,8 @@ class GolemActivity(models.Model):
_inherit = 'golem.activity'
price_line_ids = fields.One2many('golem.activity.price.line',
'activity_id', string='Price lines')
'activity_id', string='Price lines',
copy=True)
@api.multi
def reset_price_combinations(self):