[IMP]purchase_*: Improvement in model description

Purpose of this commit is to give description more "business oriented"
because those descriptions appears in Odoo Studio which is supposed to be used by end users, not only by developers.

Related Task ID : 37311
This commit is contained in:
Nimesh Jethva
2018-09-21 11:45:15 +02:00
committed by Yannick Tivisse
parent 7046479365
commit f7cecc90f1
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ from odoo.tools import formatLang
class PurchaseBillUnion(models.Model):
_name = 'purchase.bill.union'
_auto = False
_description = 'Bills & Purchases'
_description = 'Purchases & Bills Union'
_order = "purchase_order_id desc, vendor_bill_id desc"
name = fields.Char(string='Reference', readonly=True)
+1 -1
View File
@@ -10,7 +10,7 @@ from odoo import api, fields, models, tools
class PurchaseReport(models.Model):
_name = "purchase.report"
_description = "Purchases Orders"
_description = "Purchase Report"
_auto = False
_order = 'date_order desc, price_total desc'
@@ -19,7 +19,7 @@ PURCHASE_REQUISITION_STATES = [
class PurchaseRequisitionType(models.Model):
_name = "purchase.requisition.type"
_description = "Purchase Agreement Type"
_description = "Purchase Requisition Type"
_order = "sequence"
name = fields.Char(string='Agreement Type', required=True, translate=True)