Browse Source

[MIG] contract_section v11 to v12

pull/264/head
Nikul-Chaudhary 6 years ago
parent
commit
5a8e04e433
  1. 1
      contract_section/README.rst
  2. 2
      contract_section/__init__.py
  3. 6
      contract_section/models/account_analytic_contract_line.py
  4. 1
      contract_section/readme/CONTRIBUTORS.rst

1
contract_section/README.rst

@ -57,6 +57,7 @@ Contributors
~~~~~~~~~~~~
* Roel Adriaans <roel@road-support.nl>
* Nikul Chaudhary <nikulchaudhary2112@gmail.com>
Maintainers
~~~~~~~~~~~

2
contract_section/__init__.py

@ -1 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import models

6
contract_section/models/account_analytic_contract_line.py

@ -7,5 +7,7 @@ from odoo import fields, models
class AccountAnalyticContractLine(models.Model):
_inherit = 'account.analytic.contract.line'
layout_category_id = fields.Many2one('sale.layout_category',
string='Section')
layout_category_id = fields.Many2one(
'sale.layout_category',
string='Section'
)

1
contract_section/readme/CONTRIBUTORS.rst

@ -1 +1,2 @@
* Roel Adriaans <roel@road-support.nl>
* Nikul Chaudhary <nikulchaudhary2112@gmail.com>
Loading…
Cancel
Save