Initial check-in of the module sale_advance_payment_management

This commit is contained in:
Alexis de Lattre
2019-11-13 00:53:56 +01:00
parent 9762b5392b
commit 83fec9264f
11 changed files with 290 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# Copyright 2019 Akretion France (http://www.akretion.com)
# @author Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class SaleOrder(models.Model):
_inherit = 'sale.order'
payment_line_ids = fields.One2many(
'account.move.line', 'sale_id', string='Advance Payments',
readonly=True)
# residual