-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
[various] Clean controlpanel actions #33720
Closed
hiralvbhavsar
wants to merge
18
commits into
odoo:master
from
odoo-dev:master-clean-controlpanel-actions-hbh
Closed
[various] Clean controlpanel actions #33720
hiralvbhavsar
wants to merge
18
commits into
odoo:master
from
odoo-dev:master-clean-controlpanel-actions-hbh
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hiralvbhavsar
force-pushed
the
master-clean-controlpanel-actions-hbh
branch
3 times, most recently
from
May 29, 2019 10:52
07cea07
to
fc3aa32
Compare
Idea 1 : in the tree list : show actions like a button, near the |
hiralvbhavsar
force-pushed
the
master-clean-controlpanel-actions-hbh
branch
from
May 30, 2019 12:23
fc3aa32
to
bdd56f7
Compare
hiralvbhavsar
force-pushed
the
master-clean-controlpanel-actions-hbh
branch
from
May 30, 2019 12:26
bdd56f7
to
f31e5ff
Compare
robodoo
pushed a commit
that referenced
this pull request
Jul 11, 2019
For the model 'crm.lead' - Rename the action menu 'Send an email' by 'Send email'. - Remove the action menu 'Mark Late Activities as Done' and 'Mark All Activities as Done'. - Set 'Mark as lost' menu action only for the list view. - Remove the action menu 'Assign salesman of assigned partner'. - Rename the action menu 'Forward to Partner' by 'Forward to partner' and set it for both form and list view. For the model 'res.partner', remove the actions menu 'Meetings'. Linked to task 1984526 Related to PR #33720
robodoo
pushed a commit
that referenced
this pull request
Jul 11, 2019
For the model 'sale.order' - Set the action menu 'Share' only for the form view of model. - Rename the action menu 'Invoice Order' by 'Create invoices' and set only for the list view. - Rename the action menu 'Send a Cart Recovery Email' by 'Send cart recovery email' and set it only for the list view. Also improved tour 'shop_cart_recovery' as now action menu only available on the list view. Linked to task 1984526 Related to PR #33720
robodoo
pushed a commit
that referenced
this pull request
Jul 11, 2019
For the model 'pos.session' - Remove the actions menu 'Put Money In', 'Take Money Out' and 'Orders' from the controlpanel actions menu. For the model 'pos.config', remove 'Sessions' action menu. Linked to task 1984526 Related to PR #33720
robodoo
pushed a commit
that referenced
this pull request
Jul 11, 2019
For the model 'stock.picking' - Rename the action menu 'Assign a Responsible' by 'Assign responsible' and set it for the list view only. - Rename the action menu 'Add to Batch' by 'Add to batch' For the model 'stock.warehouse', remove the action menu 'Reordering Rules' Linked to task 1984526 Related to PR #33720
robodoo
pushed a commit
that referenced
this pull request
Jul 11, 2019
For model 'mrp.production', rename the action menu 'Mrp: Plan Production Orders' by 'Plan orders' and set it for the list view only. For the model 'product.template' and 'product.product', rename the menu 'Compute Price from BoM' by 'Compute cost from BoM' and set it for the list view only. Linked to task 1984526 Related to PR #33720
robodoo
pushed a commit
that referenced
this pull request
Jul 11, 2019
For the model 'purchase.order', set the action menu 'Share' only for the form view. Linked to task 1984526 Related to PR #33720
robodoo
pushed a commit
that referenced
this pull request
Jul 11, 2019
Rename the action menu 'Create Invoice' by 'Create invoices' for the model 'repair.order'. Linked to task 1984526 Related to PR #33720
robodoo
pushed a commit
that referenced
this pull request
Jul 11, 2019
For the model 'project.task', remove the action menu 'Timesheet Entries' Linked to task 1984526 Related to PR #33720
robodoo
pushed a commit
that referenced
this pull request
Jul 11, 2019
For the model 'hr.expense', rename the action menu 'Submit Report' by 'Submit report' and set it only for the list view. Linked to task 1984526 Related to PR #33720
robodoo
pushed a commit
that referenced
this pull request
Jul 11, 2019
- For the model 'lunch.order', rename the actions menu 'Lunch: Receive meals' by 'Mark as received' and 'Lunch: Cancel meals' by 'Cancel'. - For the model 'lunch.product', remove the action menu 'Lunch: Archive/Restore products' Linked to task 1984526 Related to PR #33720
robodoo
pushed a commit
that referenced
this pull request
Jul 11, 2019
* check_printing, voucher For the model 'account.account', - Replace the action menu 'Journal Items' by the stat button. - Hide menu 'Journal Items for Tax Audit' from actions menu. For the model 'account.invoice', - Set action menu 'Share' only for the form view. - Rename the action menu 'Confirm Draft Invoices' by 'Validate'. - Rename 'Register Payment' by 'Register payment'. - Rename 'Send' by 'Send & print'. For the model 'account.move', - Remove the menu 'Journal Items'. - Rename 'Reverse Moves' by 'Reverse' and set it only for the list view. - Rename 'Post Journal Entries' by 'Post entries' and set it only for the list view. For the model 'account.move.line',r ename 'Reconcile Entries' by 'Reconcile' and 'Unreconcile Entries' by 'Unreconcile' and set it only for the list view. For the model 'account.payment', - Rename 'Send Receipt By Email' by 'Send receipt by email' and set it for both form and list views. - Rename 'Post Payments' by 'Confirm' and set it for the list view only - Rename 'Print Checks' by 'Print checks' and set it for the list view only. For the model 'account.journal', remove the menus 'Unpaid Invoices', 'Bank statements' and 'Voucher Entries'. Linked to task 1984526 Related to PR #33720
robodoo
pushed a commit
that referenced
this pull request
Jul 11, 2019
* attendance, contract, fleet, holidays, maintenance, presence, timesheet. For the model 'hr.employee', replace the actions menu 'Archive/Restore' by the stat button. That's why adapted changes regarding xpath. Also rename the actions menu 'Time Off' by 'Time off'. Linked to task 1984526 Related to PR #33720
robodoo
pushed a commit
that referenced
this pull request
Jul 11, 2019
Here remove the 'binding_model' attributes from 'act_window' to remove the action menu 'Product Margins' from the 'product.product' model Linked to task 1984526 Related to PR #33720
Staging failed: ci/runbot (view more at http://runbot.odoo.com/runbot/build/560741) |
@robodoo retry |
robodoo
added a commit
that referenced
this pull request
Jul 11, 2019
PURPOSE The 'action' dropdown on the controlpanel is starting to get messy. Their labels are sometimes too long/repetitive. Some actions only make sense in formview, some in listview, some in both. Some actions should be stat buttons. Here are some of the 'guidelines' I've followed to clean those actions: If the action already has a dedicated button in the formview, do not display it in the formview action dropdown. Action labels always start with a verb. Former actions that redirected to records are changed to stat buttons SPECIFICATION The following drive file defines all the changes to be done on actions: https://docs.google.com/spreadsheets/d/1G0AtYs6VIXFz1vG32IoL457c_oy-OCXF9Tv19vLQdz8/edit?usp=sharing The actions are grouped by object, which are grouped by product owner. The ones in green are to be kept. The 'where' column specifies whether they should be shown in formview, listview, or both. The ones in red are to be removed or moved somewhere else (stat button, menu item). When an action is removed, check whether the action it is calling is used somewhere else. If it is not the case, remove it as well (clean the code). Linked to task ID 1984526 closes #33720 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Merged, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PURPOSE
The 'action' dropdown on the controlpanel is starting to get messy. Their
labels are sometimes too long/repetitive. Some actions only make sense in
formview, some in listview, some in both. Some actions should be stat buttons.
Here are some of the 'guidelines' I've followed to clean those actions:
If the action already has a dedicated button in the formview, do not display
it in the formview action dropdown. Action labels always start with a verb.
Former actions that redirected to records are changed to stat buttons
SPECIFICATION
The following drive file defines all the changes to be done on actions:
https://docs.google.com/spreadsheets/d/1G0AtYs6VIXFz1vG32IoL457c_oy-OCXF9Tv19vLQdz8/edit?usp=sharing
The actions are grouped by object, which are grouped by product owner. The
ones in green are to be kept. The 'where' column specifies whether they should
be shown in formview, listview, or both. The ones in red are to be removed or
moved somewhere else (stat button, menu item). When an action is removed, check
whether the action it is calling is used somewhere else. If it is not the
case, remove it as well (clean the code).
Linked to task ID 1984526