|
|
@ -23,7 +23,8 @@ class EventRegistration(models.Model): |
|
|
|
date_payment_down_payment=fields.Date('date payment down payment',compute='_compute_event_date_payment_down_payment') |
|
|
|
date_payment_balance=fields.Date('date payment balance',compute='_compute_event_date_payment_balance') |
|
|
|
date_payment_end_of_stay=fields.Date('date payment end of stay',compute='_compute_event_date_payment_end_of_stay') |
|
|
|
|
|
|
|
member_status=fields.Selection(related='partner_id.member_status') |
|
|
|
amount_total=fields.Monetary(related='invoice_id.amount_total') |
|
|
|
def _compute_event_date_payment(self): |
|
|
|
for rec in self: |
|
|
|
if not rec.booking_event: |
|
|
|