mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[ADD] Contract: payment term
This commit is contained in:
committed by
sbejaoui
parent
494892f6b1
commit
60f589a41f
@@ -47,6 +47,10 @@ class AccountAnalyticAccount(models.Model):
|
||||
date_end = fields.Date(
|
||||
compute='_compute_date_end', string='Date End', store=True
|
||||
)
|
||||
payment_term_id = fields.Many2one(
|
||||
comodel_name='account.payment.term',
|
||||
string='Payment Terms',
|
||||
)
|
||||
|
||||
@api.depends('recurring_invoice_line_ids.date_end')
|
||||
def _compute_date_end(self):
|
||||
|
||||
Reference in New Issue
Block a user