diff --git a/beesdoo_account/__init__.py b/beesdoo_account/__init__.py new file mode 100644 index 0000000..0f7cb6b --- /dev/null +++ b/beesdoo_account/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- +import models \ No newline at end of file diff --git a/beesdoo_account/__openerp__.py b/beesdoo_account/__openerp__.py new file mode 100644 index 0000000..73948e9 --- /dev/null +++ b/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': [], +} diff --git a/beesdoo_account/models/__init__.py b/beesdoo_account/models/__init__.py new file mode 100644 index 0000000..4f79ac7 --- /dev/null +++ b/beesdoo_account/models/__init__.py @@ -0,0 +1 @@ +import beesdoo_account_invoice \ No newline at end of file diff --git a/beesdoo_account/models/beesdoo_account_invoice.py b/beesdoo_account/models/beesdoo_account_invoice.py new file mode 100644 index 0000000..aab91cb --- /dev/null +++ b/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) \ No newline at end of file