26 lines
1.1 KiB
XML
26 lines
1.1 KiB
XML
<odoo>
|
|
<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>
|
|
<field name="code">
|
|
action = env['account.move']._check_hash_integrity(env.user.company_id.id)
|
|
</field>
|
|
</record>
|
|
|
|
<record model="ir.actions.server" id="odoo_french_certification">
|
|
<field name="name">Get the certification now!</field>
|
|
<field name="type">ir.actions.server</field>
|
|
<field name="model_id" ref="account.model_res_company"/>
|
|
<field name="code">
|
|
db_uuid = env['ir.config_parameter'].sudo().get_param('database.uuid')
|
|
action = {"type": "ir.actions.act_url",
|
|
"url": "https://www.odoo.com/my/contract/french-certification/db/" + db_uuid,
|
|
"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"/>
|
|
|
|
</odoo>
|