<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (C) 2014 Compassion (http://www.compassion.ch)
    @author Cyril Sester <cyril.sester@outlook.com>
    The licence is in the file __openerp__.py
-->
<openerp>
<data noupdate="1">
	<record id="recurring_contract.recurring_invoicer_cron" model="ir.cron">
		<field name="name">Launch friday invoice generation</field>
		<field name="interval_number">7</field>
		<field name="interval_type">days</field>
		<field name="nextcall" eval="(__import__('datetime').datetime.today().replace(hour=20, minute=00) + timedelta(days=(4-__import__('datetime').datetime.today().weekday())%7)).strftime('%Y-%m-%d %H:%M:%S')" />
	</record>
</data>
</openerp>

<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (C) 2014 Compassion (http://www.compassion.ch)
    @author Cyril Sester <cyril.sester@outlook.com>
    The licence is in the file __openerp__.py
-->
<openerp>
<data noupdate="1">
	<record id="recurring_contract.recurring_invoicer_cron" model="ir.cron">
		<field name="name">Launch friday invoice generation</field>
		<field name="interval_number">7</field>
		<field name="interval_type">days</field>
		<field name="nextcall" eval="(datetime.today().replace(hour=20, minute=00) + timedelta(days=(4-datetime.today().weekday())%7)).strftime('%Y-%m-%d %H:%M:%S')" />
	</record>
</data>
</openerp>

Fix eval in XML of CRON
Fix eval in XML of CRON
