diff --git a/advance_cash_flow_statements/report/print_report.xml b/advance_cash_flow_statements/report/print_report.xml
index b6157e50f..27b66d763 100644
--- a/advance_cash_flow_statements/report/print_report.xml
+++ b/advance_cash_flow_statements/report/print_report.xml
@@ -1,11 +1,12 @@
-
+
+ account.wizard
+ Cash flow statement Pdf Report
+ qweb-pdf
+ advance_cash_flow_statements.cash_flow_pdf_report
+ advance_cash_flow_statements.cash_flow_pdf_report
+
+ report
+
\ No newline at end of file
diff --git a/base_account_budget/models/account_budget.py b/base_account_budget/models/account_budget.py
index ab9674d24..59a68b193 100644
--- a/base_account_budget/models/account_budget.py
+++ b/base_account_budget/models/account_budget.py
@@ -71,7 +71,7 @@ class Budget(models.Model):
('confirm', 'Confirmed'),
('validate', 'Validated'),
('done', 'Done')
- ], 'Status', default='draft', index=True, required=True, readonly=True, copy=False, track_visibility='always')
+ ], 'Status', default='draft', index=True, required=True, readonly=True, copy=False, tracking=True)
budget_line = fields.One2many('budget.lines', 'budget_id', 'Budget Lines',
states={'done': [('readonly', True)]}, copy=True)
company_id = fields.Many2one('res.company', 'Company', required=True,
diff --git a/base_accounting_kit/models/account_move.py b/base_accounting_kit/models/account_move.py
index e54920dab..9b1ef5de9 100644
--- a/base_accounting_kit/models/account_move.py
+++ b/base_accounting_kit/models/account_move.py
@@ -25,7 +25,6 @@ from datetime import datetime
from dateutil.relativedelta import relativedelta
from odoo import api, fields, models, _
-from odoo.addons.base.models import decimal_precision as dp
from odoo.exceptions import UserError
from odoo.tools import DEFAULT_SERVER_DATE_FORMAT as DF
diff --git a/customer_product_qrcode/report/report.xml b/customer_product_qrcode/report/report.xml
index 189fd7b67..4aaa1253a 100755
--- a/customer_product_qrcode/report/report.xml
+++ b/customer_product_qrcode/report/report.xml
@@ -1,30 +1,27 @@
-
-
-
+
+ res.partner
+ customer_product_qrcode.customer_qr_template
+ customer_product_qrcode.customer_qr_template
+ Badge
+ qweb-pdf
+
+
+ product.product
+ customer_product_qrcode.customer_qr_template
+ customer_product_qrcode.customer_qr_template
+ Product Badge
+ qweb-pdf
+
+
+ product.template
+ customer_product_qrcode.customer_qr_template
+ customer_product_qrcode.customer_qr_template
+ Product Badge
+ qweb-pdf
+
diff --git a/cybrosys_support_client/wizards/wizards.py b/cybrosys_support_client/wizards/wizards.py
index 726b874bf..6920eac2c 100644
--- a/cybrosys_support_client/wizards/wizards.py
+++ b/cybrosys_support_client/wizards/wizards.py
@@ -99,5 +99,6 @@ class SystrayIcon(models.TransientModel):
class CustomPopMessage(models.TransientModel):
_name = "custom.pop.message"
+ _description = "Custom Pop Message"
name = fields.Char('Message')
diff --git a/dynamic_accounts_report/wizard/balance_sheet.py b/dynamic_accounts_report/wizard/balance_sheet.py
index f10f81386..fc559a986 100644
--- a/dynamic_accounts_report/wizard/balance_sheet.py
+++ b/dynamic_accounts_report/wizard/balance_sheet.py
@@ -34,6 +34,7 @@ except ImportError:
class BalanceSheetView(models.TransientModel):
_name = 'dynamic.balance.sheet.report'
+ _description = "Balance Sheet View"
company_id = fields.Many2one('res.company', required=True,
default=lambda self: self.env.company)
diff --git a/employee_orientation/models/employee_orientation.py b/employee_orientation/models/employee_orientation.py
index be6196bac..4fac1c6b1 100644
--- a/employee_orientation/models/employee_orientation.py
+++ b/employee_orientation/models/employee_orientation.py
@@ -48,7 +48,7 @@ class Orientation(models.Model):
('confirm', 'Confirmed'),
('cancel', 'Canceled'),
('complete', 'Completed'),
- ], string='Status', readonly=True, copy=False, index=True, track_visibility='onchange', default='draft')
+ ], string='Status', readonly=True, copy=False, index=True, tracking=True, default='draft')
def confirm_orientation(self):
self.write({'state': 'confirm'})
diff --git a/employee_orientation/models/employee_training.py b/employee_orientation/models/employee_training.py
index ebd5affe4..33dc7210e 100644
--- a/employee_orientation/models/employee_training.py
+++ b/employee_orientation/models/employee_training.py
@@ -54,7 +54,7 @@ class EmployeeTraining(models.Model):
('cancel', 'Canceled'),
('complete', 'Completed'),
('print', 'Print'),
- ], string='Status', readonly=True, copy=False, index=True, track_visibility='onchange', default='new')
+ ], string='Status', readonly=True, copy=False, index=True, tracking=True, default='new')
@api.onchange('program_department')
def employee_details(self):
diff --git a/employee_orientation/models/orientation_checklist_request.py b/employee_orientation/models/orientation_checklist_request.py
index 5fd12f82d..57027acee 100644
--- a/employee_orientation/models/orientation_checklist_request.py
+++ b/employee_orientation/models/orientation_checklist_request.py
@@ -47,7 +47,7 @@ class OrientationChecklistRequest(models.Model):
('new', 'New'),
('cancel', 'Cancel'),
('complete', 'Completed'),
- ], string='Status', readonly=True, copy=False, index=True, track_visibility='onchange', default='new')
+ ], string='Status', readonly=True, copy=False, index=True, tracking=True, default='new')
def confirm_send_mail(self):
self.ensure_one()
diff --git a/employee_orientation/wizard/orientation_complete.py b/employee_orientation/wizard/orientation_complete.py
index 5c4fff6ae..0ceb2dd4f 100644
--- a/employee_orientation/wizard/orientation_complete.py
+++ b/employee_orientation/wizard/orientation_complete.py
@@ -25,6 +25,7 @@ from odoo import api, fields, models, _
class OrientationForceComplete(models.TransientModel):
_name = 'orientation.force.complete'
+ _description = "Orientation Force Complete"
name = fields.Char()
orientation_id = fields.Many2one('employee.orientation', string='Orientation')
diff --git a/employee_stages/models/employee_stages.py b/employee_stages/models/employee_stages.py
index 9a2b7e69e..d9397fe23 100755
--- a/employee_stages/models/employee_stages.py
+++ b/employee_stages/models/employee_stages.py
@@ -103,7 +103,7 @@ class EmployeeFormInherit(models.Model):
('notice_period', 'Notice Period'),
('relieved', 'Resigned'),
('terminate', 'Terminated')], string='Status', default='joined',
- track_visibility='always', copy=False,
+ tracking=True, copy=False,
help="Employee Stages.\nSlap On: Joined\nGrounding: Training\nTest period : Probation")
stages_history = fields.One2many('hr.employee.status.history', 'employee_id', string='Stage History',
help='It shows the duration and history of each stages')
diff --git a/fleet_rental/models/car_rental.py b/fleet_rental/models/car_rental.py
index 77ff4dd33..c1c0bee9f 100755
--- a/fleet_rental/models/car_rental.py
+++ b/fleet_rental/models/car_rental.py
@@ -64,13 +64,13 @@ class CarRentalContract(models.Model):
default='#FFFFFF', readonly=True)
cost = fields.Float(string="Rent Cost", help="This fields is to determine the cost of rent", required=True)
rent_start_date = fields.Date(string="Rent Start Date", required=True, default=str(date.today()),
- help="Start date of contract", track_visibility='onchange')
+ help="Start date of contract", tracking=True)
rent_end_date = fields.Date(string="Rent End Date", required=True, help="End date of contract",
- track_visibility='onchange')
+ tracking=True)
state = fields.Selection(
[('draft', 'Draft'), ('reserved', 'Reserved'), ('running', 'Running'), ('cancel', 'Cancel'),
('checking', 'Checking'), ('invoice', 'Invoice'), ('done', 'Done')], string="State",
- default="draft", copy=False, track_visibility='onchange')
+ default="draft", copy=False, tracking=True)
notes = fields.Text(string="Details & Notes")
cost_generated = fields.Float(string='Recurring Cost',
help="Costs paid at regular intervals, depending on the cost frequency")
@@ -86,7 +86,7 @@ class CarRentalContract(models.Model):
first_payment = fields.Float(string='First Payment',
help="Transaction/Office/Contract charge amount, must paid by customer side other "
"than recurrent payments",
- track_visibility='onchange',
+ tracking=True,
required=True)
first_payment_inv = fields.Many2one('account.move', copy=False)
first_invoice_created = fields.Boolean(string="First Invoice Created", invisible=True, copy=False)
@@ -107,7 +107,7 @@ class CarRentalContract(models.Model):
invoice_count = fields.Integer(compute='_invoice_count', string='# Invoice', copy=False)
check_verify = fields.Boolean(compute='check_action_verify', copy=False)
sales_person = fields.Many2one('res.users', string='Sales Person', default=lambda self: self.env.uid,
- track_visibility='always')
+ tracking=True)
def action_run(self):
self.state = 'running'
diff --git a/front_office_management/models/fo_property_counter.py b/front_office_management/models/fo_property_counter.py
index 7d8983a16..46cb5ae30 100644
--- a/front_office_management/models/fo_property_counter.py
+++ b/front_office_management/models/fo_property_counter.py
@@ -19,7 +19,7 @@ class VisitDetails(models.Model):
('prop_in', 'Taken In'),
('prop_out', 'Taken out'),
('cancel', 'Cancelled'),
- ], track_visibility='onchange', default='draft',
+ ], tracking=True, default='draft',
help='If the employee taken the belongings to the company change state to ""Taken In""'
'when he/she leave office change the state to ""Taken out""')
diff --git a/front_office_management/models/fo_visit.py b/front_office_management/models/fo_visit.py
index 7eb18c188..061f9f11a 100644
--- a/front_office_management/models/fo_visit.py
+++ b/front_office_management/models/fo_visit.py
@@ -27,7 +27,7 @@ class VisitDetails(models.Model):
('check_in', 'Checked In'),
('check_out', 'Checked Out'),
('cancel', 'Cancelled'),
- ], track_visibility='onchange', default='draft')
+ ], tracking=True, default='draft')
@api.model
def create(self, vals):
@@ -63,6 +63,7 @@ class VisitDetails(models.Model):
class PersonalBelongings(models.Model):
_name = 'fo.belongings'
+ _description = 'Personal Belongings'
property_name = fields.Char(string="Property", help='Employee belongings name')
property_count = fields.Char(string="Count", help='Count of property')
@@ -73,7 +74,7 @@ class PersonalBelongings(models.Model):
('0', 'Allowed'),
('1', 'Not Allowed'),
('2', 'Allowed With Permission'),
- ], 'Permission', required=True, index=True, default='0', track_visibility='onchange')
+ ], 'Permission', required=True, index=True, default='0')
@api.depends('belongings_id_fov_visitor', 'belongings_id_fov_employee')
def get_number(self):
@@ -91,6 +92,7 @@ class PersonalBelongings(models.Model):
class VisitPurpose(models.Model):
_name = 'fo.purpose'
+ _description = 'Visit Purpose'
name = fields.Char(string='Purpose', required=True, help='Meeting purpose in short term.eg:Meeting.')
description = fields.Text(string='Description Of Purpose', help='Description for the Purpose.')
diff --git a/front_office_management/models/fo_visitor.py b/front_office_management/models/fo_visitor.py
index 5e3778886..be5af83de 100644
--- a/front_office_management/models/fo_visitor.py
+++ b/front_office_management/models/fo_visitor.py
@@ -4,6 +4,7 @@ from odoo import models, fields, api
class VisitorDetails(models.Model):
_name = 'fo.visitor'
+ _description = 'Visitor'
name = fields.Char(string="Visitor", required=True)
visitor_image = fields.Binary(string='Image', attachment=True)
@@ -31,6 +32,7 @@ class VisitorDetails(models.Model):
class VisitorProof(models.Model):
_name = 'id.proof'
+ _description = 'Visitor Proof'
_rec_name = 'id_proof'
id_proof = fields.Char(string="Name")
diff --git a/front_office_management/report/report.xml b/front_office_management/report/report.xml
index 129d9a6a1..687f119e6 100644
--- a/front_office_management/report/report.xml
+++ b/front_office_management/report/report.xml
@@ -2,31 +2,35 @@
-
-
+
+ Visitor Pass
+ fo.visit
+ qweb-pdf
+ front_office_management.report_visitor_label
+ front_office_management.report_visitor_label
+
+ report
+
-
+
+ Visitors Report
+ fo.visit
+ qweb-pdf
+ front_office_management.report_visitor_report
+ front_office_management.report_visitor_report
+
+ report
+
+
+
+ Property Label
+ fo.property.counter
+ qweb-pdf
+ front_office_management.report_property_label
+ front_office_management.report_property_label
+
+ report
+
\ No newline at end of file
diff --git a/hr_payslip_monthly_report/report/hr_payslip_report.py b/hr_payslip_monthly_report/report/hr_payslip_report.py
index 858420d22..13e046177 100644
--- a/hr_payslip_monthly_report/report/hr_payslip_report.py
+++ b/hr_payslip_monthly_report/report/hr_payslip_report.py
@@ -29,6 +29,7 @@ from calendar import monthrange
class PayrollReportView(models.Model):
_name = 'hr.payroll.report.view'
+ _description = 'Payroll Report View'
_auto = False
now = date.today()
diff --git a/insurance_management_cybro/models/claim_details.py b/insurance_management_cybro/models/claim_details.py
index caac7fc04..99e94fdf4 100755
--- a/insurance_management_cybro/models/claim_details.py
+++ b/insurance_management_cybro/models/claim_details.py
@@ -25,6 +25,7 @@ from odoo import models, fields, api, _
class ClaimDetails(models.Model):
_name = 'claim.details'
+ _description = 'Claim Details'
name = fields.Char(string='Name', required=True, copy=False, readonly=True, index=True,
default=lambda self: _('New'))
diff --git a/insurance_management_cybro/models/employee_details.py b/insurance_management_cybro/models/employee_details.py
index 3e24e9a99..9739c5879 100755
--- a/insurance_management_cybro/models/employee_details.py
+++ b/insurance_management_cybro/models/employee_details.py
@@ -26,6 +26,7 @@ from odoo.exceptions import UserError
class EmployeeDetails(models.Model):
_name = 'employee.details'
+ _description = 'Employee Details'
name = fields.Char(string='Name', required=True)
related_partner = fields.Many2one('res.users', string='Related User', copy=False)
diff --git a/insurance_management_cybro/models/insurance_model.py b/insurance_management_cybro/models/insurance_model.py
index fea1eb2bb..040e4ec80 100755
--- a/insurance_management_cybro/models/insurance_model.py
+++ b/insurance_management_cybro/models/insurance_model.py
@@ -26,6 +26,7 @@ from odoo.exceptions import UserError
class InsuranceDetails(models.Model):
_name = 'insurance.details'
+ _description = 'Insurance Details'
name = fields.Char(string='Name', required=True, copy=False, readonly=True, index=True,
default=lambda self: _('New'))
diff --git a/insurance_management_cybro/models/policy_details.py b/insurance_management_cybro/models/policy_details.py
index e6c1ccf03..9b49d534d 100755
--- a/insurance_management_cybro/models/policy_details.py
+++ b/insurance_management_cybro/models/policy_details.py
@@ -25,6 +25,7 @@ from odoo import models, fields
class PolicyDetails(models.Model):
_name = 'policy.details'
+ _description = 'Policy Details'
name = fields.Char(string='Name', required=True)
policy_type = fields.Many2one('policy.type', string='Policy Type', required=True)
@@ -37,5 +38,6 @@ class PolicyDetails(models.Model):
class PolicyType(models.Model):
_name = 'policy.type'
+ _description = 'Policy Type'
name = fields.Char(string='Name')
diff --git a/invoice_stock_move/models/invoice_stock.py b/invoice_stock_move/models/invoice_stock.py
index 3d5ca5ea7..b314e7ade 100644
--- a/invoice_stock_move/models/invoice_stock.py
+++ b/invoice_stock_move/models/invoice_stock.py
@@ -54,7 +54,7 @@ class InvoiceStockMove(models.Model):
('cancel', 'Cancelled'),
('done', 'Received'),
], string='Status', index=True, readonly=True, default='draft',
- track_visibility='onchange', copy=False)
+ tracking=True, copy=False)
def action_stock_move(self):
if not self.picking_type_id:
diff --git a/laundry_management/models/laundry.py b/laundry_management/models/laundry.py
index 7822671e3..54c91518c 100755
--- a/laundry_management/models/laundry.py
+++ b/laundry_management/models/laundry.py
@@ -187,7 +187,7 @@ class LaundryManagement(models.Model):
'order': [('readonly', False)]},
required=True,
change_default=True, index=True,
- track_visibility='always')
+ tracking=True)
partner_invoice_id = fields.Many2one('res.partner',
string='Invoice Address',
readonly=True, required=True,
@@ -220,7 +220,7 @@ class LaundryManagement(models.Model):
('return', 'Returned'),
('cancel', 'Cancelled'),
], string='Status', readonly=True, copy=False, index=True,
- track_visibility='onchange', default='draft')
+ tracking=True, default='draft')
class LaundryManagementLine(models.Model):
diff --git a/laundry_management/views/laundry_label.xml b/laundry_management/views/laundry_label.xml
index 9c611fdfd..c3871e23f 100755
--- a/laundry_management/views/laundry_label.xml
+++ b/laundry_management/views/laundry_label.xml
@@ -35,13 +35,15 @@
-
+
+ Laundry Order Label
+ laundry.order
+ qweb-pdf
+ laundry_management.laundry_order_label
+ laundry_management.laundry_order_label
+
+ report
+
diff --git a/medical_lab_management/models/lab_appointment.py b/medical_lab_management/models/lab_appointment.py
index a4c76ff28..60d669ca8 100644
--- a/medical_lab_management/models/lab_appointment.py
+++ b/medical_lab_management/models/lab_appointment.py
@@ -54,7 +54,7 @@ class Appointment(models.Model):
('to_invoice', 'To Invoice'),
('invoiced', 'Done'),
('cancel', 'Cancelled'),
- ], string='Status', readonly=True, copy=False, index=True, track_visibility='onchange', default='draft',
+ ], string='Status', readonly=True, copy=False, index=True, tracking=True, default='draft',
)
priority = fields.Selection([
@@ -176,6 +176,7 @@ class Appointment(models.Model):
class LabAppointmentLines(models.Model):
_name = 'lab.appointment.lines'
+ _description = 'Lab Appointment Lines'
lab_test = fields.Many2one('lab.test', string="Test")
cost = fields.Float(string="Cost")
diff --git a/medical_lab_management/models/lab_request.py b/medical_lab_management/models/lab_request.py
index f0867e0be..cab0dc00f 100644
--- a/medical_lab_management/models/lab_request.py
+++ b/medical_lab_management/models/lab_request.py
@@ -47,7 +47,7 @@ class LabRequest(models.Model):
('completed', 'Completed'),
('cancel', 'Cancelled'),
- ], string='Status', readonly=True, copy=False, index=True, track_visibility='onchange', default='draft')
+ ], string='Status', readonly=True, copy=False, index=True, tracking=True, default='draft')
@api.model
def create(self, vals):
diff --git a/medical_lab_management/report/report.xml b/medical_lab_management/report/report.xml
index 6e1ef248b..ea8a03642 100644
--- a/medical_lab_management/report/report.xml
+++ b/medical_lab_management/report/report.xml
@@ -9,24 +9,15 @@
medical_lab_management.report_patient_labtest
-
-
-
-
-
-
-
-
-
-
+
+ Patient Card
+ lab.patient
+ qweb-pdf
+ medical_lab_management.report_patient_label
+ medical_lab_management.report_patient_label
+
+ report
+
\ No newline at end of file
diff --git a/mobile_service_shop/models/mobile_service.py b/mobile_service_shop/models/mobile_service.py
index 6ecca2ef0..b769019e4 100644
--- a/mobile_service_shop/models/mobile_service.py
+++ b/mobile_service_shop/models/mobile_service.py
@@ -65,7 +65,7 @@ class MobileServiceShop(models.Model):
service_state = fields.Selection([('draft', 'Draft'), ('assigned', 'Assigned'),
('completed', 'Completed'), ('returned', 'Returned'),
('not_solved', 'Not solved')],
- string='Service Status', default='draft', track_visibility='always')
+ string='Service Status', default='draft', tracking=True)
complaints_tree = fields.One2many('mobile.complaint.tree', 'complaint_id', string='Complaints Tree')
diff --git a/mrp_work_order_print/views/report_work_order.xml b/mrp_work_order_print/views/report_work_order.xml
index f519d14c0..956594781 100644
--- a/mrp_work_order_print/views/report_work_order.xml
+++ b/mrp_work_order_print/views/report_work_order.xml
@@ -88,13 +88,14 @@
-
+
+ Work Order Details
+ mrp.workorder
+ mrp_work_order_print.report_workorder
+ mrp_work_order_print.report.report_work_order
+ qweb-pdf
+
+ report
+
diff --git a/multicolor_backend_theme/models/theme_config.py b/multicolor_backend_theme/models/theme_config.py
index 110c4bfc3..aed50bf74 100644
--- a/multicolor_backend_theme/models/theme_config.py
+++ b/multicolor_backend_theme/models/theme_config.py
@@ -25,6 +25,7 @@ from odoo.exceptions import ValidationError
class ThemeConfig(models.Model):
_name = 'theme.config'
+ _description = 'Theme Config'
name = fields.Char(string="Name")
sidebar_image = fields.Binary(string="Sidebar image")
diff --git a/print_voucher_receipts/views/account_voucher_print.xml b/print_voucher_receipts/views/account_voucher_print.xml
index 788ba6817..c372c1bd5 100644
--- a/print_voucher_receipts/views/account_voucher_print.xml
+++ b/print_voucher_receipts/views/account_voucher_print.xml
@@ -1,13 +1,14 @@
-
+
+ Receipts
+ account.move
+ qweb-pdf
+ print_voucher_receipts.print_voucher_receipt
+ print_voucher_receipts.print_voucher_receipt
+
+ report
+
diff --git a/product_brand_purchase/models/brand.py b/product_brand_purchase/models/brand.py
index 395d26829..403d54378 100644
--- a/product_brand_purchase/models/brand.py
+++ b/product_brand_purchase/models/brand.py
@@ -8,6 +8,7 @@ class ProductBrand(models.Model):
class BrandProduct(models.Model):
_name = 'product.brand'
+ _description = 'Product Brand'
name= fields.Char(String="Name")
brand_image = fields.Binary()
diff --git a/product_brand_sale/models/brand.py b/product_brand_sale/models/brand.py
index a0a228564..a4a378070 100644
--- a/product_brand_sale/models/brand.py
+++ b/product_brand_sale/models/brand.py
@@ -8,6 +8,7 @@ class ProductBrand(models.Model):
class BrandProduct(models.Model):
_name = 'product.brand'
+ _description = 'Product Brand'
name= fields.Char(String="Name")
diff --git a/product_catalogue/report/product_catalog_report.xml b/product_catalogue/report/product_catalog_report.xml
index 61d4695ec..5e0b5a1df 100644
--- a/product_catalogue/report/product_catalog_report.xml
+++ b/product_catalogue/report/product_catalog_report.xml
@@ -1,11 +1,12 @@
-
+
+ Product Catalog(PDF)
+ product.template
+ qweb-pdf
+ product_catalogue.report_product_catalog
+ product_catalogue.report_product_catalog
+
+ report
+
\ No newline at end of file
diff --git a/product_import/wizard/product_import.py b/product_import/wizard/product_import.py
index 075156eec..133e48ed7 100644
--- a/product_import/wizard/product_import.py
+++ b/product_import/wizard/product_import.py
@@ -32,6 +32,7 @@ from odoo import models, fields, _
class ProductImport(models.Model):
_name = 'product.import'
+ _description = 'Product Import'
file = fields.Binary(string="Upload File")
file_name = fields.Char(string="File Name")
diff --git a/project_report_pdf/wizard/project_report_wizard.py b/project_report_pdf/wizard/project_report_wizard.py
index a5171f602..5af476a9f 100644
--- a/project_report_pdf/wizard/project_report_wizard.py
+++ b/project_report_pdf/wizard/project_report_wizard.py
@@ -35,6 +35,7 @@ except ImportError:
class ProjectReportButton(models.TransientModel):
_name = 'wizard.project.report'
+ _description = 'Project Report Button'
partner_select = fields.Many2many('res.users', string='Assigned to')
stage_select = fields.Many2many('project.task.type', string="Stage")
diff --git a/sale_discount_total/models/account_invoice.py b/sale_discount_total/models/account_invoice.py
index 971600e3b..73c0aaf26 100644
--- a/sale_discount_total/models/account_invoice.py
+++ b/sale_discount_total/models/account_invoice.py
@@ -141,7 +141,7 @@ class AccountInvoice(models.Model):
discount_rate = fields.Float('Discount Amount', digits=(16, 2), readonly=True,
states={'draft': [('readonly', False)]})
amount_discount = fields.Monetary(string='Discount', store=True, readonly=True, compute='_compute_amount',
- track_visibility='always')
+ tracking=True)
@api.onchange('discount_type', 'discount_rate', 'invoice_line_ids')
def supply_rate(self):
diff --git a/sale_discount_total/models/discount_approval.py b/sale_discount_total/models/discount_approval.py
index 160d6ecb4..0dd09e410 100644
--- a/sale_discount_total/models/discount_approval.py
+++ b/sale_discount_total/models/discount_approval.py
@@ -33,7 +33,7 @@ class sale_discount(models.Model):
('sale', 'Sales Order'),
('done', 'Locked'),
('cancel', 'Cancelled'),
- ], string='Status', readonly=True, copy=False, index=True, track_visibility='onchange', default='draft')
+ ], string='Status', readonly=True, copy=False, index=True, tracking=True, default='draft')
def action_confirm(self):
diff --git a/sale_discount_total/models/sale.py b/sale_discount_total/models/sale.py
index 76cbc8cf5..bfed2253a 100644
--- a/sale_discount_total/models/sale.py
+++ b/sale_discount_total/models/sale.py
@@ -21,7 +21,6 @@
#############################################################################
from odoo import api, fields, models
-import odoo.addons.decimal_precision as dp
class SaleOrder(models.Model):
@@ -49,16 +48,16 @@ class SaleOrder(models.Model):
readonly=True,
states={'draft': [('readonly', False)], 'sent': [('readonly', False)]},
default='percent')
- discount_rate = fields.Float('Discount Rate', digits=dp.get_precision('Account'),
+ discount_rate = fields.Float('Discount Rate', digits='Account',
readonly=True, states={'draft': [('readonly', False)], 'sent': [('readonly', False)]})
amount_untaxed = fields.Monetary(string='Untaxed Amount', store=True, readonly=True, compute='_amount_all',
- track_visibility='always')
+ tracking=True)
amount_tax = fields.Monetary(string='Taxes', store=True, readonly=True, compute='_amount_all',
- track_visibility='always')
+ tracking=True)
amount_total = fields.Monetary(string='Total', store=True, readonly=True, compute='_amount_all',
- track_visibility='always')
+ tracking=True)
amount_discount = fields.Monetary(string='Discount', store=True, readonly=True, compute='_amount_all',
- digits=dp.get_precision('Account'), track_visibility='always')
+ digits='Account', tracking=True)
@api.onchange('discount_type', 'discount_rate', 'order_line')
def supply_rate(self):
diff --git a/theme_diva/models/configuration.py b/theme_diva/models/configuration.py
index 3f6eec03e..3df9cd0d4 100644
--- a/theme_diva/models/configuration.py
+++ b/theme_diva/models/configuration.py
@@ -54,5 +54,5 @@ class WebsiteProductFeatured(models.Model):
string="Featured List",
default=_default_featured_list)
user_id = fields.Many2one('res.users', string="Person Responsible",
- track_visibility='onchange',
+ tracking=True,
default=lambda self: self.env.uid)
diff --git a/timesheets_by_employee/wizard/timesheet_employee.py b/timesheets_by_employee/wizard/timesheet_employee.py
index b581b2a54..f214bd4d7 100644
--- a/timesheets_by_employee/wizard/timesheet_employee.py
+++ b/timesheets_by_employee/wizard/timesheet_employee.py
@@ -24,6 +24,7 @@ from odoo import models, fields
class EmployeeTimesheet(models.TransientModel):
_name = 'timesheet.wizard'
+ _description = 'Employee Timesheet'
employee = fields.Many2one('res.users', string="Employee", required=True)
from_date = fields.Date(string="Starting Date")
diff --git a/vista_backend_theme/wizard/theme.py b/vista_backend_theme/wizard/theme.py
index 0ae330631..30b3f6795 100644
--- a/vista_backend_theme/wizard/theme.py
+++ b/vista_backend_theme/wizard/theme.py
@@ -7,6 +7,7 @@ from odoo.modules import get_module_resource
class Theme(models.TransientModel):
_name = "theme.data"
+ _description = "Theme Data"
def _get_current_theme(self):
return self.env['theme.data.stored'].sudo().search([], limit=1).name
@@ -543,6 +544,7 @@ class Theme(models.TransientModel):
class ThemeStored(models.Model):
_name = "theme.data.stored"
+ _description = "Theme Data Stored"
name = fields.Selection([
('default', 'Default'),