X-Git-Url: https://git.cyclocoop.org/?p=burette%2Fetudesetchantiersidf.git;a=blobdiff_plain;f=account.py;fp=account.py;h=5b5a90c96dd433c8a6dc3a6200a2a82e3a3691e7;hp=0000000000000000000000000000000000000000;hb=f7a96a9ce19c45e93bd564d1f442095dfd005994;hpb=d8322586011b1940fe17347eed4f56fd489dddbe
diff --git a/account.py b/account.py
new file mode 100644
index 0000000..5b5a90c
--- /dev/null
+++ b/account.py
@@ -0,0 +1,39 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+# etudesetchantiersidf module for OpenERP, Custom module for Ãtude et
+# Chantiers île-de-France
+# Copyright (C) 2014-2015 etudesetchantiersidf
+# ()
+#
+# This file is a part of etudesetchantiersidf
+#
+# etudesetchantiersidf is free software: you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or (at
+# your option) any later version.
+#
+# etudesetchantiersidf 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+##############################################################################
+
+from openerp.osv import osv
+from openerp.osv import orm
+from openerp.osv import fields
+
+
+class account_journal(osv.osv):
+ _inherit = 'account.journal'
+
+ _columns = {
+ 'code': fields.char('Code', size=7, required=True, help="The code will be displayed on reports."),
+ }
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: