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

[17.0][MIG] sale_order_line_tag #3128

Open
wants to merge 11 commits into
base: 17.0
Choose a base branch
from

Conversation

pmonje-duonex
Copy link

Standard migration

@OCA-git-bot
Copy link
Contributor

Hi @ernestotejeda,
some modules you are maintaining are being modified, check this out!

@pmonje-duonex
Copy link
Author

@Anxo82
Could you review?
Ty !

Copy link

@dalonsod dalonsod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code & functional review, works as expected 👍

Could you attend comment, and make the improvement in a separate commit, so it can be cherry-picked to v16?

Comment on lines 55 to 61
<menuitem
id="sale_order_line_tag_action_menu"
name="Sales Order Line Tags"
parent="sale.menu_sale_config"
action="sale_order_line_tag_action"
sequence="25"
/>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested improvement:

Suggested change
<menuitem
id="sale_order_line_tag_action_menu"
name="Sales Order Line Tags"
parent="sale.menu_sale_config"
action="sale_order_line_tag_action"
sequence="25"
/>
<menuitem
id="sale_order_line_tag_action_menu"
name="Sales Order Line Tags"
parent="sale.menu_sales_config"
action="sale_order_line_tag_action"
sequence="20"
/>

With such imp, sale line tag management is moved from general settings to custom Sales Order settings:

imagen

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Improvement changes done, could you check the improvement?
Thanks for reviewing @dalonsod !

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link

@dalonsod dalonsod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dalonsod
Copy link

@SMaciasOSI could you review? Thanks!

@rousseldenis
Copy link
Sponsor Contributor

/ocabot migration sale_order_line_tag

action="sale_order_line_tag_action"
sequence="25"
sequence="20"
Copy link
Sponsor Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pmonje-duonex Why changing this ?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change was suggested by me. Once this menu was moved to "Sales Order" submenu, I've inspected existing submenus for sale and sale_management addons and sequence starts from 1 sequence for Quotation Templates and continues with Sales tags (10)... and then simply proposed 20. There's no problem keeping 25 IMO,

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First of all, I apologise for the delay in replying, I had several urgent projects on my way back from the event.
Thanks @dalonsod for answering @rousseldenis question and @rousseldenis for reviewing the proposed changes.
The change of position of the item comes from @dalonsod improvement proposal.
But the change of the sequence value was made by me because the previous menu item has the value 10, I changed the sale_order_line_tags value to 20 to keep uniformity in the sequence values. Most of the menus I have checked the sequence values increase by 10. If there is any inconvenience by changing this value I can keep the previous one.

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone May 13, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request May 13, 2024
67 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants