diff options
| author | Florian Gilbert <flg@odoo.com> | 2019-08-22 10:03:26 +0000 |
|---|---|---|
| committer | Florian Gilbert <flg@odoo.com> | 2019-09-25 11:26:02 +0000 |
| commit | ab483a3a6610a09391ec00e9c1c49489ca4a4f12 (patch) | |
| tree | 0882cebae27345110d8049970e37eaa3fea11991 /addons/l10n_fr_certification/data/account_move.xml | |
| parent | 02dfe1e8e789ee783f58f667efdf47c017585298 (diff) | |
[IMP] account: Add restrict mode and normal mode for account move.
This commit deletes account_cancel module and squash it into account.
The 'update_posted' field is changed by 'restrict_mode_hash_table' field.
If 'restrict_mode_hash_table' is true, you have a hash chain on your account journal.
These hash chains prove the inalterability of your accounting.
l10n_fr_certification module is deleted and all hashing method are moved in account module.
Now, you can download a PDF report about your inalterability in the company settings.
If you have l10n_fr or l10n_post_cert installed you have more information on this report
like the inalterability of pos orders, etc.
Task ID: 2039160
Diffstat (limited to 'addons/l10n_fr_certification/data/account_move.xml')
| -rw-r--r-- | addons/l10n_fr_certification/data/account_move.xml | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/addons/l10n_fr_certification/data/account_move.xml b/addons/l10n_fr_certification/data/account_move.xml deleted file mode 100644 index a551cb7f080..00000000000 --- a/addons/l10n_fr_certification/data/account_move.xml +++ /dev/null @@ -1,27 +0,0 @@ -<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="state">code</field> - <field name="code"> - action = env['account.move']._check_hash_integrity(env.company.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="state">code</field> - <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> |
