Hi,
Is it possible to get all due dates computed from account.payment.term ? I want to generate all due dates for every payment.term.line. How is this possible? Thanks.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
Is it possible to get all due dates computed from account.payment.term ? I want to generate all due dates for every payment.term.line. How is this possible? Thanks.
Hey Tessnim ZRAYGA,
May be this Will help You.
class AccountInvoice(models.Model):
_inherit = 'account.invoice'
all_due_date = fields.Char(compute= '_cal_all_due_date', string='All Due Date')
@api.multi
def _cal_all_due_date(self):
inv_due_date = []
for inv in self:
if inv.date_due:
inv_due_date.append(inv.date_due)
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
0
de gen. 18
|
4170 | ||
|
0
de març 15
|
3771 | ||
|
0
de juny 24
|
5 | ||
|
1
de gen. 23
|
2125 | ||
|
0
d’ag. 25
|
137 |