X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=axes.py;fp=axes.py;h=7d638cb793a1d00f46e2dca36eb0b0a8f2b80c5c;hb=ccc13e70fd3decfada85c5b69fd2a1be9587efb9;hp=99f53f1573c5680f36fa2c19c5bfac6baa37b671;hpb=c695fd34fb17e14ea3b2662418c71f35de0f3f4f;p=OpenERP%2Fcmmi.git diff --git a/axes.py b/axes.py index 99f53f1..7d638cb 100644 --- a/axes.py +++ b/axes.py @@ -5,7 +5,7 @@ from openerp.osv import osv, fields from datetime import date, timedelta, datetime - +# ================================ MESURABLE ================================ # class Mesurable(osv.Model): _name = "cmmi.axes.mesurable" @@ -63,8 +63,7 @@ class Mesurable(osv.Model): ] -#==================== TRAVAIL CALCUL JOURS OUVRES ============================= - +#------------ TRAVAIL CALCUL JOURS OUVRES ------------ @staticmethod def _get_date_paques(annee): """ @@ -134,9 +133,9 @@ class Mesurable(osv.Model): tmp += timedelta(days=1) return jour_ouvres -#============================================================================== +# ================================= PALIER ================================== # class Palier(osv.Model): _name = "cmmi.axes.palier" @@ -188,6 +187,7 @@ class Palier(osv.Model): +# =============================== PALIER-PHASE ============================== # class PalierPhase(osv.Model): _name = "cmmi.axes.palier.phase" @@ -231,6 +231,8 @@ class PalierPhase(osv.Model): return osv.Model.create(self, cr, uid, vals, context=context) + +# ================================ CHANTIER ================================= # class Chantier(osv.Model): _name = "cmmi.axes.chantier"