summaryrefslogtreecommitdiff
path: root/addons/l10n_fr_pos_cert/data
diff options
context:
space:
mode:
authorFlorian Gilbert <flg@odoo.com>2019-08-22 10:03:26 +0000
committerFlorian Gilbert <flg@odoo.com>2019-09-25 11:26:02 +0000
commitab483a3a6610a09391ec00e9c1c49489ca4a4f12 (patch)
tree0882cebae27345110d8049970e37eaa3fea11991 /addons/l10n_fr_pos_cert/data
parent02dfe1e8e789ee783f58f667efdf47c017585298 (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_pos_cert/data')
-rw-r--r--addons/l10n_fr_pos_cert/data/pos_inalterability.xml18
1 files changed, 0 insertions, 18 deletions
diff --git a/addons/l10n_fr_pos_cert/data/pos_inalterability.xml b/addons/l10n_fr_pos_cert/data/pos_inalterability.xml
deleted file mode 100644
index 39d1f59c699..00000000000
--- a/addons/l10n_fr_pos_cert/data/pos_inalterability.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<odoo>
-
- <menuitem id="pos_fr_statements_menu" name="French Statements" parent="point_of_sale.menu_point_rep" sequence="9" />
-
- <menuitem action="l10n_fr_sale_closing.action_list_view_account_sale_closing" id="menu_account_closing" parent="pos_fr_statements_menu" sequence="90"/>
-
- <record model="ir.actions.server" id="action_check_hash_integrity_pos_orders">
- <field name="name">Pos Orders Inalterability Check</field>
- <field name="model_id" ref="point_of_sale.model_pos_order"/>
- <field name="type">ir.actions.server</field>
- <field name="state">code</field>
- <field name="code">
-action = env['pos.order']._check_hash_integrity(env.company.id)
- </field>
- </record>
-
- <menuitem action="action_check_hash_integrity_pos_orders" id="menu_check_pos_order_integrity" parent="pos_fr_statements_menu" sequence="90"/>
-</odoo> \ No newline at end of file