Changes

m
Line 92: Line 92:     
=Batch=
 
=Batch=
We must have a cron job that cancel status of partnership when subscription is expired + x days  (x is a parameter of the cron job). This cron task must be supplied by module.  
+
Cancel Partnership For Expired Members: We must have a cron job that cancel status of partnership when subscription is expired + x days  (x is a parameter of the cron job). This cron task must be supplied by module.  
 
If option 'PARTNERSHIP_IS_MANAGED_FOR' = 'thirdparty', this cron job does nothing.
 
If option 'PARTNERSHIP_IS_MANAGED_FOR' = 'thirdparty', this cron job does nothing.
 +
 +
Warning of partnership if Dolibarr backlink not found on partner website: Batch not enabled by default. Every week, check that website contains a link to dolibarr.(org/fr/es) Web site. The url to check is a parameter of module. If not, batch increase a counter check fail (extrafield of partnership). If counter > 2, send email to partner (template email mut be defined in setup). If counter > 4, set status of partnership to canceled (set also reason of partnership cancelation).
    
=Note=
 
=Note=
 
Module and new managed objects must be generated with modulebuilder.
 
Module and new managed objects must be generated with modulebuilder.