account_invoice_date.py 373 B

123456789101112
  1. # -*- coding: utf-8 -*-
  2. from openerp import api, fields, models
  3. from openerp.exceptions import except_orm
  4. from datetime import datetime, timedelta
  5. from openerp.tools import DEFAULT_SERVER_DATE_FORMAT
  6. from dateutil.relativedelta import relativedelta
  7. class AccountInvoice(models.Model):
  8. _inherit = 'account.invoice'
  9. date_pay = fields.Date("Fecha de Posible Pago")