From 8eaedde38e97f96dc9c08a9a17c7662c239b1bdc Mon Sep 17 00:00:00 2001 From: Celina Devigili Date: Mon, 27 Jan 2025 17:21:00 -0300 Subject: [PATCH] [IMP] *: Remove redundant attribute string --- purchase_stock_ux/models/purchase_order_line.py | 1 - purchase_ux/models/purchase_order.py | 2 +- purchase_ux/models/purchase_order_line.py | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/purchase_stock_ux/models/purchase_order_line.py b/purchase_stock_ux/models/purchase_order_line.py index 8111a09a..abfc2dcf 100644 --- a/purchase_stock_ux/models/purchase_order_line.py +++ b/purchase_stock_ux/models/purchase_order_line.py @@ -19,7 +19,6 @@ class PurchaseOrderLine(models.Model): ('to receive', 'To Receive'), ('received', 'Received'), ], - string='Delivery Status', compute='_compute_delivery_status', store=True, readonly=True, diff --git a/purchase_ux/models/purchase_order.py b/purchase_ux/models/purchase_order.py index fbf9f881..480db2a7 100644 --- a/purchase_ux/models/purchase_order.py +++ b/purchase_ux/models/purchase_order.py @@ -9,7 +9,7 @@ class PurchaseOrder(models.Model): _inherit = 'purchase.order' - internal_notes = fields.Html('Internal Notes') + internal_notes = fields.Html() force_invoiced_status = fields.Selection([ ('no', 'Nothing to Bill'), diff --git a/purchase_ux/models/purchase_order_line.py b/purchase_ux/models/purchase_order_line.py index 1df3cbcd..e9d62441 100644 --- a/purchase_ux/models/purchase_order_line.py +++ b/purchase_ux/models/purchase_order_line.py @@ -16,7 +16,6 @@ class PurchaseOrderLine(models.Model): ('to invoice', 'Waiting Invoices'), ('invoiced', 'No Bill to Receive'), ], - string='Invoice Status', compute='_compute_invoice_status', store=True, readonly=True,