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
[FIX] stock_landed_costs: landed Cost to be hidden on other product types #153371
[FIX] stock_landed_costs: landed Cost to be hidden on other product types #153371
Conversation
2fe94d3
to
4d6c5aa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @suth-odoo 💯 I don't have anything to add, LGTM 🟢 🔝
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @suth-odoo
Thanks for your work!
However the commit title does not fit our guidelines, the module in which you did the fix is stock_landed_costs
and not sales
.
Also, in the steps to reproduce, you say install sales
but only with that module, the stock_landed_costs
will not be installed as well. We should also install stock module and so with sale
and stock
modules, stock_landed_costs
will normally automatically installed.
Can you update that and rebase your branch at the same time? 🙂
Thanks in advance!
…ypes Steps to Reproduce : - install sales, stock modules - go to products and create new - select product type as Event Ticket,Event Booth or Gift Card - Landed cost boolean is suppose to be visible for a service type product under purchase. Issue : - Landed cost boolean is suppose to be visible for a service type product under purchase, But currently it is visible on other type of products specific to other models like event tickets, event booths etc. Cause: - In product Module there are two Selection fields like detailed_type and type. The detailed_type Selection field contain service, consumable, event booths, event tickets, storable product And the type selection field contains service, consumable, storable product - In xml views for that landed cost boolean the invisible attribute contains the condition like type != service, because of this the landed cost boolean is visible for the product type of event tickets, event booths and gift Cards. Solution: - if we use detailed_type instead of type selection field, then the landed cost boolean field will be invisible on other product types. task- 3725202
4d6c5aa
to
eb2ccde
Compare
Hello @xavierbol |
Hello @odoo/rd-logistics Can we have your opinion about that fix before merging it? Thanks in advance! 🙂 |
robodoo r+ |
…ypes Steps to Reproduce : - install sales, stock modules - go to products and create new - select product type as Event Ticket,Event Booth or Gift Card - Landed cost boolean is suppose to be visible for a service type product under purchase. Issue : - Landed cost boolean is suppose to be visible for a service type product under purchase, But currently it is visible on other type of products specific to other models like event tickets, event booths etc. Cause: - In product Module there are two Selection fields like detailed_type and type. The detailed_type Selection field contain service, consumable, event booths, event tickets, storable product And the type selection field contains service, consumable, storable product - In xml views for that landed cost boolean the invisible attribute contains the condition like type != service, because of this the landed cost boolean is visible for the product type of event tickets, event booths and gift Cards. Solution: - if we use detailed_type instead of type selection field, then the landed cost boolean field will be invisible on other product types. task- 3725202 closes #153371 Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
Steps to Reproduce :
Issue :
Cause:
Solution:
task- 3725202
Description of the issue/feature this PR addresses:
Current behavior before PR:
Desired behavior after PR is merged:
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr