You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

34 lines
1.4 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!--View for wizard to write the terminal commands and execute-->
<record id="pip_install_view_form" model="ir.ui.view">
<field name="name">pip.install.view.form</field>
<field name="model">pip.install</field>
<field name="arch" type="xml">
<form string="Pip Installer">
<sheet>
<group class="oe_title">
<field name="name"/>
</group>
</sheet>
<footer>
<button string="Cancel" class="btn-danger"
special="cancel"/>
<button name="action_done" string="Execute" type="object"
class="btn-primary"/>
</footer>
</form>
</field>
</record>
<!--Action for wizard view-->
<record id="pip_install_action" model="ir.actions.act_window">
<field name="name">Install Python Packages</field>
<field name="res_model">pip.install</field>
<field name="view_id" ref="pip_install_view_form"/>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<!--Menu items-->
<menuitem id="pip_installer_menu_pip_install" name="Pip Installer"
parent="base.menu_administration" action="pip_install_action"/>
</odoo>