Explorar o código

Secuencia en línea de compras

sebas %!s(int64=4) %!d(string=hai) anos
pai
achega
eee0549134
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      model/purchase.py

+ 1 - 1
model/purchase.py

@@ -68,7 +68,7 @@ class PurchaseOrderLine(models.Model):
     sequence = fields.Integer(
         string='Sequence',
         help="Gives the sequence of this line when displaying the"
-             " purchase order.", {'readonly': True})
+             " purchase order.", readonly= True)
 
     @api.model
     def default_get(self, fields_list):