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

[18.0][MIG] agreement_rebate: Migration to 18.0 #56

Merged
merged 17 commits into from
Feb 3, 2025
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
[IMP] agreement: Change menus structure to make it easy to adapt
  • Loading branch information
Ernesto Tejeda authored and CarlosRoca13 committed Jan 29, 2025
commit 6da411d6a0575a8f084c79a5dd0d043cad3bde85
2 changes: 1 addition & 1 deletion agreement_rebate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
{
"name": "Agreement Rebate",
"summary": "Rebate in agreements",
"version": "15.0.1.0.0",
"version": "15.0.1.1.0",
"development_status": "Beta",
"category": "Agreement",
"website": "https://github.com/OCA/agreement",
5 changes: 0 additions & 5 deletions agreement_rebate/i18n/agreement_rebate.pot
Original file line number Diff line number Diff line change
@@ -621,11 +621,6 @@ msgstr ""
msgid "Select items"
msgstr ""

#. module: agreement_rebate
#: model:ir.ui.menu,name:agreement_rebate.agreement_rebate_setting_menu_root
msgid "Settings"
msgstr ""

#. module: agreement_rebate
#: model:ir.model.fields.selection,name:agreement_rebate.selection__agreement_invoice_create_wiz__invoice_group__settlement
#: model_terms:ir.ui.view,arch_db:agreement_rebate.agreement_rebate_settlement_line_search
8 changes: 3 additions & 5 deletions agreement_rebate/i18n/es.po
Original file line number Diff line number Diff line change
@@ -634,11 +634,6 @@ msgstr "Tramos"
msgid "Select items"
msgstr "Seleccione elementos"

#. module: agreement_rebate
#: model:ir.ui.menu,name:agreement_rebate.agreement_rebate_setting_menu_root
msgid "Settings"
msgstr "Ajustes"

#. module: agreement_rebate
#: model:ir.model.fields.selection,name:agreement_rebate.selection__agreement_invoice_create_wiz__invoice_group__settlement
#: model_terms:ir.ui.view,arch_db:agreement_rebate.agreement_rebate_settlement_line_search
@@ -717,6 +712,9 @@ msgstr "Factura rectificativa de proveedor"
msgid "rebate type"
msgstr "Tipo rappel"

#~ msgid "Settings"
#~ msgstr "Ajustes"

#~ msgid "Additional consumption"
#~ msgstr "Consumo adicional"

10 changes: 2 additions & 8 deletions agreement_rebate/views/agreement_menu_view.xml
Original file line number Diff line number Diff line change
@@ -35,18 +35,12 @@
parent="agreement_rebate_settlement_menu_root"
sequence="70"
/>
<menuitem
id="agreement_rebate_setting_menu_root"
name="Settings"
parent="agreement.agreement_menu_root"
groups="group_use_agreement_rebate"
sequence="10"
/>
<menuitem
id="agreement_rebate_condition_menu"
action="agreement_rebate_condition_action"
name="Rebate conditions"
parent="agreement_rebate_setting_menu_root"
parent="agreement.agreement_setting_menu"
groups="group_use_agreement_rebate"
sequence="10"
/>
</odoo>