浏览代码

Secuencia en línea de compras

sebas 4 年之前
父节点
当前提交
5441281f3d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      model/purchase.py

+ 1 - 1
model/purchase.py

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