diff --git a/golem_activity_registration_custom_price/__manifest__.py b/golem_activity_registration_custom_price/__manifest__.py index b3c7d92..c84a32e 100644 --- a/golem_activity_registration_custom_price/__manifest__.py +++ b/golem_activity_registration_custom_price/__manifest__.py @@ -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', diff --git a/golem_activity_registration_custom_price/models/golem_activity.py b/golem_activity_registration_custom_price/models/golem_activity.py index d4ee2ee..f2cd473 100644 --- a/golem_activity_registration_custom_price/models/golem_activity.py +++ b/golem_activity_registration_custom_price/models/golem_activity.py @@ -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):