Initial commit: Odoomates Odoo packages (12 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:49:21 +02:00
commit 3b38c49bf0
526 changed files with 34983 additions and 0 deletions

View file

@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
from odoo import api, fields, models, _
class AccountMoveLine(models.Model):
_inherit = 'account.move.line'
followup_line_id = fields.Many2one('followup.line', 'Follow-up Level')
followup_date = fields.Date('Latest Follow-up')
result = fields.Float(compute='_get_result', string="Balance Amount")
def _get_result(self):
for aml in self:
aml.result = aml.debit - aml.credit