Skip to content
Snippets Groups Projects
  • guimarc-br's avatar
    cd7133f0
    [FIX] stock: add location_out_id field domain into the Putaway Rules menu · cd7133f0
    guimarc-br authored
    [REF] models: use stock to implement location_out_id into the Putway Rules Menu
    
    Description of the issue/feature this PR addresses:
    
    On the Location/Location-ID/PutwayRule we have the fields:
    
    location_in_id = When Product Arrives
    
    locatio_out_id = Store To
    
    As the products arrives in the WH/STOCK location and due the putaway rules goes to other location then we have the fields populated like:
    
    location_in_id = WH/Stock
    
    location_out_id = location opened in the view.
    
    Due this domain setup the list is returning empty, and then the solution that I applied is to check if we have the location selected in the location_in_id or location_out_id and show the entries.
    
    Current behavior before PR:
    
    Only looking for the from into the location_in_id
    
    After PR merged :
    
    Looking for the values from the location_in_id or location_out_id.
    
    --
    
    TaskID: N/A
    Fixes : PR 67198
    Closes : PR 67198
    
    I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
    cd7133f0
    History
    [FIX] stock: add location_out_id field domain into the Putaway Rules menu
    guimarc-br authored
    [REF] models: use stock to implement location_out_id into the Putway Rules Menu
    
    Description of the issue/feature this PR addresses:
    
    On the Location/Location-ID/PutwayRule we have the fields:
    
    location_in_id = When Product Arrives
    
    locatio_out_id = Store To
    
    As the products arrives in the WH/STOCK location and due the putaway rules goes to other location then we have the fields populated like:
    
    location_in_id = WH/Stock
    
    location_out_id = location opened in the view.
    
    Due this domain setup the list is returning empty, and then the solution that I applied is to check if we have the location selected in the location_in_id or location_out_id and show the entries.
    
    Current behavior before PR:
    
    Only looking for the from into the location_in_id
    
    After PR merged :
    
    Looking for the values from the location_in_id or location_out_id.
    
    --
    
    TaskID: N/A
    Fixes : PR 67198
    Closes : PR 67198
    
    I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr