Files
account-financial-tools/account_credit_control_dunning_fees/model/line.py
Nicolas Bessi b37155d3a7 [ADD] docstring
2014-04-14 14:19:41 +02:00

30 lines
1.1 KiB
Python

# -*- coding: utf-8 -*-
##############################################################################
#
# Author: Nicolas Bessi
# Copyright 2014 Camptocamp SA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp.osv import orm, fields
class credit_control_line(orm.Model):
"""Add dunning_fees_amount_fees field"""
_inherit = "credit.control.line"
_columns = {'dunning_fees_amount': fields.float('Fees')}