mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[MIG] contract: Migration to 12.0
This commit is contained in:
@@ -10,6 +10,7 @@ from odoo import api, fields, models
|
||||
|
||||
class AccountAnalyticContract(models.Model):
|
||||
_name = 'account.analytic.contract'
|
||||
_description = "Account Analytic Contract"
|
||||
|
||||
# These fields will not be synced to the contract
|
||||
NO_SYNC = [
|
||||
|
||||
@@ -38,7 +38,7 @@ class AccountAnalyticContractLine(models.Model):
|
||||
required=True,
|
||||
)
|
||||
uom_id = fields.Many2one(
|
||||
'product.uom',
|
||||
'uom.uom',
|
||||
string='Unit of Measure',
|
||||
required=True,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user