Skip to content
Snippets Groups Projects
  • Ujas Dubal's avatar
    c62dea6a
    [FIX] stock_account: Added default type for 'account.move' line. · c62dea6a
    Ujas Dubal authored
    
    This commit will fixed the error when product has some stock quants
    and product category with 'Automated' valuation method, is set to that product.
    
    ==============================
    
    Steps to product the above mentioned error:
    1. Create product with any category which has 'Manual' valuation method.
    2. Update 'On Hand' quantity for the same product.
    3. Create product category with valuation method set to 'Automated'.
    4. Now set the above product category to the same product which you created in step 1.
    5. And Click on the save button.
    
    ==============================
    
    Also edit the test case.
    
    closes odoo/odoo#43721
    
    Task: 2155804
    Signed-off-by: default avatarSimon Lejeune (sle) <sle@openerp.com>
    c62dea6a
    History
    [FIX] stock_account: Added default type for 'account.move' line.
    Ujas Dubal authored
    
    This commit will fixed the error when product has some stock quants
    and product category with 'Automated' valuation method, is set to that product.
    
    ==============================
    
    Steps to product the above mentioned error:
    1. Create product with any category which has 'Manual' valuation method.
    2. Update 'On Hand' quantity for the same product.
    3. Create product category with valuation method set to 'Automated'.
    4. Now set the above product category to the same product which you created in step 1.
    5. And Click on the save button.
    
    ==============================
    
    Also edit the test case.
    
    closes odoo/odoo#43721
    
    Task: 2155804
    Signed-off-by: default avatarSimon Lejeune (sle) <sle@openerp.com>