Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TA#66797 [16.0][MIG] contacts_config_menu_moved_right #148

Merged
merged 4 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .docker_files/main/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"summary": "Install all addons required for testing.",
"depends": [
"contacts",
"contacts_config_menu_moved_right",
"partner_autocomplete_disable",
"partner_edit_group",
"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_edit_group /mnt/extra-addons/partner_edit_group
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 @@
# Copyright 2024 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 @@
# Copyright 2024 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
"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="100" />
</record>

</odoo>
Loading