Project

General

Profile

« Previous | Next » 

Revision 42acd775

Added by Mikaël Ates about 13 years ago

dossiers: auto change PR state only if there's no newer manual change (#2155).

View differences:

calebasse/dossiers/models.py
cmpp = Service.objects.get(name='CMPP')
for act in acts:
if act.is_state('VALIDE') and act.is_billable() and \
act.date >= self.get_state().date_selected and \
are_all_acts_of_the_day_locked(act.date):
cared, hc = act.is_act_covered_by_diagnostic_healthcare()
if hc:

Also available in: Unified diff