|
@@ -297,7 +297,7 @@ class ServicioInsumo(models.Model):
|
|
|
@api.onchange('product_id')
|
|
|
def onchange_product_id(self):
|
|
|
if self.product_id:
|
|
|
- self.description = self.product_id.name
|
|
|
+ self.descripcion = self.product_id.name
|
|
|
self.price_unit = self.product_id.standard_price
|
|
|
|
|
|
class ServicioLogistica(models.Model):
|
|
@@ -339,7 +339,7 @@ class ServicioLogistica(models.Model):
|
|
|
@api.onchange('product_id')
|
|
|
def onchange_product_id(self):
|
|
|
if self.product_id:
|
|
|
- self.description = self.product_id.name
|
|
|
+ self.descripcion = self.product_id.name
|
|
|
self.price_unit = self.product_id.standard_price
|
|
|
|
|
|
|
|
@@ -380,7 +380,7 @@ class DevolucionInsumo(models.Model):
|
|
|
@api.onchange('product_id')
|
|
|
def onchange_product_id(self):
|
|
|
if self.product_id:
|
|
|
- self.description = self.product_id.name
|
|
|
+ self.descripcion = self.product_id.name
|
|
|
self.price_unit = self.product_id.standard_price
|
|
|
|
|
|
|
|
@@ -430,7 +430,7 @@ class RecepcionFabrica(models.Model):
|
|
|
@api.onchange('product_id')
|
|
|
def onchange_product_id(self):
|
|
|
if self.product_id:
|
|
|
- self.description = self.product_id.name
|
|
|
+ self.descripcion = self.product_id.name
|
|
|
self.price_unit = self.product_id.standard_price
|
|
|
|
|
|
class AccountInvoice(models.Model):
|