forked from Yaltik/golem
[IMP]GOLEM Activity Registration Custom Price : copy price lignes
This commit is contained in:
parent
78164bd55c
commit
eb5e82bfa7
@ -24,7 +24,7 @@
|
|||||||
- allow set price per area and slice ;
|
- allow set price per area and slice ;
|
||||||
- computes automatically applicable price ;
|
- computes automatically applicable price ;
|
||||||
- anticipate ruleset to be implemented for computing.''',
|
- anticipate ruleset to be implemented for computing.''',
|
||||||
'version': '10.0.0.1.1',
|
'version': '10.0.0.1.2',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
|
@ -24,7 +24,8 @@ class GolemActivity(models.Model):
|
|||||||
_inherit = 'golem.activity'
|
_inherit = 'golem.activity'
|
||||||
|
|
||||||
price_line_ids = fields.One2many('golem.activity.price.line',
|
price_line_ids = fields.One2many('golem.activity.price.line',
|
||||||
'activity_id', string='Price lines')
|
'activity_id', string='Price lines',
|
||||||
|
copy=True)
|
||||||
|
|
||||||
@api.multi
|
@api.multi
|
||||||
def reset_price_combinations(self):
|
def reset_price_combinations(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user