Initial check-in of the module sale_advance_payment_management
This commit is contained in:
14
sale_advance_payment_management/models/sale.py
Normal file
14
sale_advance_payment_management/models/sale.py
Normal 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
|
||||
Reference in New Issue
Block a user