Browse Source

Account module added, make invoice_date as required.

pull/109/head
EliseDup 8 years ago
committed by Rémy Taymans
parent
commit
0c78e6565e
  1. 2
      beesdoo_account/__init__.py
  2. 21
      beesdoo_account/__openerp__.py
  3. 1
      beesdoo_account/models/__init__.py
  4. 13
      beesdoo_account/models/beesdoo_account_invoice.py

2
beesdoo_account/__init__.py

@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-
import models

21
beesdoo_account/__openerp__.py

@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
{
'name': "Beescoop Account Module",
'summary': """
Module that customize account module for Beescoop
""",
'description': """
""",
'author': "Beescoop - Cellule IT",
'website': "https://github.com/beescoop/Obeesdoo",
'category': 'Account Module',
'version': '0.1',
'depends': ['account'],
'data': [],
}

1
beesdoo_account/models/__init__.py

@ -0,0 +1 @@
import beesdoo_account_invoice

13
beesdoo_account/models/beesdoo_account_invoice.py

@ -0,0 +1,13 @@
# -*- coding: utf-8 -*-
'''
Created on 5 déc. 2015
@author: Thibault François
'''
from openerp import models, fields, api
class BeesdooAccountInvoice(models.Model):
_inherit = "account.invoice"
date_invoice = fields.Date(required=True)
Loading…
Cancel
Save