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

[FW][FIX] stock_landed_costs: landed Cost to be hidden on other product types #156038

Commits on Mar 1, 2024

  1. [FIX] stock_landed_costs: landed Cost to be hidden on other product t…

    …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
    
    X-original-commit: 6ff6b20
    suth-odoo committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    2ca4e98 View commit details
    Browse the repository at this point in the history