Skip to content

Instantly share code, notes, and snippets.

@abdounasser202
Created August 28, 2019 14:13
Show Gist options
  • Save abdounasser202/dde3bdf48f181edd799060e77f41c8f0 to your computer and use it in GitHub Desktop.
Save abdounasser202/dde3bdf48f181edd799060e77f41c8f0 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- Définir l'action pour ouvrir le formulaire de devis -->
<record model="ir.actions.act_window" id="oo_purchase_order_action">
<field name="name">Devis</field>
<field name="res_model">purchase.order</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Afficher du menu Devis dans le module -->
<menuitem name="Devis"
id="menu_oo_purchase_order"
parent="oo_library_menu_root"
action="oo_purchase_order_action"/>
</data>
</odoo>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment