2018-01-16 11:34:37 +01:00
|
|
|
<flectra>
|
2018-01-16 06:58:15 +01:00
|
|
|
<record model="ir.actions.server" id="action_check_hash_integrity">
|
|
|
|
<field name="name">Data Inalterability Check</field>
|
|
|
|
<field name="model_id" ref="account.model_account_move"/>
|
|
|
|
<field name="type">ir.actions.server</field>
|
2018-07-10 08:16:17 +02:00
|
|
|
<field name="state">code</field>
|
2018-01-16 06:58:15 +01:00
|
|
|
<field name="code">
|
|
|
|
action = env['account.move']._check_hash_integrity(env.user.company_id.id)
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2018-01-16 11:34:37 +01:00
|
|
|
<record model="ir.actions.server" id="flectra_french_certification">
|
2018-01-16 06:58:15 +01:00
|
|
|
<field name="name">Get the certification now!</field>
|
|
|
|
<field name="type">ir.actions.server</field>
|
|
|
|
<field name="model_id" ref="account.model_res_company"/>
|
2018-07-10 08:16:17 +02:00
|
|
|
<field name="state">code</field>
|
2018-01-16 06:58:15 +01:00
|
|
|
<field name="code">
|
|
|
|
db_uuid = env['ir.config_parameter'].sudo().get_param('database.uuid')
|
|
|
|
action = {"type": "ir.actions.act_url",
|
2018-10-15 11:59:04 +02:00
|
|
|
"url": "https://www.flectrahq.com/my/contract/french-certification/db/" + db_uuid,
|
2018-01-16 06:58:15 +01:00
|
|
|
"target": "new",}
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<menuitem action="action_check_hash_integrity" id="menu_check_move_integrity_reporting" parent="l10n_fr.account_reports_fr_statements_menu" sequence="90"/>
|
|
|
|
|
2018-01-16 11:34:37 +01:00
|
|
|
</flectra>
|