Browse Source

Jun 27: [FIX] Bug Fixed 'cancel_landed_cost_odoo'

pull/395/head
Cybrosys Technologies 3 months ago
parent
commit
115e76ad20
  1. 9
      cancel_landed_cost_odoo/models/stock_landed_cost.py

9
cancel_landed_cost_odoo/models/stock_landed_cost.py

@ -224,9 +224,8 @@ class StockLandedCost(models.Model):
self.write({'state': 'cancel'})
self.unlink()
return {
'name': 'Landed Cost',
'type': 'ir.actions.act_window',
'res_model': 'stock.landed.cost',
'view_mode': 'tree,form',
'target': 'current'
'type': 'ir.actions.client',
'tag': 'reload',
'params': {'menu_id': self.env.ref(
'stock_landed_costs.menu_stock_landed_cost').id},
}

Loading…
Cancel
Save