Skip to content

Commit

Permalink
[16.0][MIG] contacts_config_menu_moved_right
Browse files Browse the repository at this point in the history
  • Loading branch information
lanto-razafindrabe committed Jul 9, 2024
1 parent b61ce4e commit 4dd0b97
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .docker_files/main/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"category": "Other",
"summary": "Install all addons required for testing.",
"depends": [
"contacts",
"contacts_config_menu_moved_right",
"partner_autocomplete_disable",
"partner_firstname_before_lastname",
],
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN gitoo install-all --conf_file /gitoo.yml --destination "${THIRD_PARTY_ADDONS

USER odoo

COPY contacts_config_menu_moved_right /mnt/extra-addons/contacts_config_menu_moved_right
COPY partner_autocomplete_disable /mnt/extra-addons/partner_autocomplete_disable
COPY partner_firstname_before_lastname /mnt/extra-addons/partner_firstname_before_lastname

Expand Down
16 changes: 16 additions & 0 deletions contacts_config_menu_moved_right/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
=======================================
Contacts Configuration Menu Moved Right
=======================================
This module moves the contact configuration sub-menu completely to the right.

Because the sequence number defined in the module `contacts` is low, the menu item appears before other menus.

.. image:: static/description/contacts_config_menu.png

Contributors
------------
* Numigi (tm) and all its contributors (https://bit.ly/numigiens)

More information
----------------
* Meet us at https://bit.ly/numigi-com
2 changes: 2 additions & 0 deletions contacts_config_menu_moved_right/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# © 2022 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
19 changes: 19 additions & 0 deletions contacts_config_menu_moved_right/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# © 2022 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{

Check warning on line 4 in contacts_config_menu_moved_right/__manifest__.py

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

contacts_config_menu_moved_right/__manifest__.py#L4

Statement seems to have no effect
"name": "Contacts Configuration Menu Moved Right",
"version": "16.0.1.0.0",
"author": "Numigi",
"maintainer": "Numigi",
"website": "https://bit.ly/numigi-com",
"license": "LGPL-3",
"category": "Partner Management",
"depends": [
"contacts",
],
"data": [
"views/menu.xml",
],
"installable": True,
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions contacts_config_menu_moved_right/views/menu.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<record id="contacts.res_partner_menu_config" model="ir.ui.menu">
<field name="sequence" eval="10000" />
</record>

</odoo>

0 comments on commit 4dd0b97

Please sign in to comment.