[MIG] contract: Migration to 12.0

This commit is contained in:
sbejaoui
2018-10-25 15:47:09 +02:00
committed by Pedro M. Baeza
parent 2c5fe1b9bb
commit 12ac4e1d8b
8 changed files with 47 additions and 46 deletions

View File

@@ -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 = [

View File

@@ -38,7 +38,7 @@ class AccountAnalyticContractLine(models.Model):
required=True,
)
uom_id = fields.Many2one(
'product.uom',
'uom.uom',
string='Unit of Measure',
required=True,
)