Odoo Help


4 Answers
O Sluys Belgium
1/29/18, 7:58 AM

In Odoo 10 and up (and maybe earlier), you can specify a "search" attribute like so, which only deletes found records:

<delete model="ir.actions.report.xml" search="[('id', '=', ref('purchase.action_report_purchase_order'))]"/>

In older versions of Odoo, you can first create a minimal dummy record before deleting it (I have not tested this):

<report id="purchase.action_report_purchase_order" model="purchase.order"/>
<delete model="ir.actions.report.xml" id="purchase.action_report_purchase_order"/>
Juan Vicente Pascual Spain
12/19/16, 7:37 AM

Duplicate the "contact creation" group, and remove the delete right for all models in the access rights tab.

Then asign that group to the selected user,

Kind regards,

Ask a Question
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now