-
-
Notifications
You must be signed in to change notification settings - Fork 664
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #316 from leemannd/10.0-mig-hr_contract_reference
[MIG] hr_contract_reference: Migrated to 10.0
- Loading branch information
Showing
7 changed files
with
42 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,5 @@ | ||
# -*- coding:utf-8 -*- | ||
############################################################################## | ||
# | ||
# Copyright (C) 2011,2013 Michael Telahun Makonnen <mmakonnen@gmail.com>. | ||
# All Rights Reserved. | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as published | ||
# by the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
############################################################################## | ||
# -*- coding: utf-8 -*- | ||
# copyright 2011,2013 Michael Telahun Makonnen <mmakonnen@gmail.com> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<odoo> | ||
<data noupdate="1"> | ||
<record id="seq_type_contract_ref" model="ir.sequence.type"> | ||
<field name="name">Contract Reference</field> | ||
<field name="code">contract.ref</field> | ||
</record> | ||
<record id="seq_contract_ref" model="ir.sequence"> | ||
<field name="name">Contract Reference</field> | ||
<field name="code">contract.ref</field> | ||
<field name="prefix">EC/%(year)s/</field> | ||
<field name="padding">5</field> | ||
</record> | ||
</data> | ||
</openerp> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,5 @@ | ||
# -*- coding:utf-8 -*- | ||
############################################################################## | ||
# | ||
# Copyright (C) 2011,2013 Michael Telahun Makonnen <mmakonnen@gmail.com>. | ||
# All Rights Reserved. | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as published | ||
# by the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
############################################################################## | ||
# -*- coding: utf-8 -*- | ||
# copyright 2011,2013 Michael Telahun Makonnen <mmakonnen@gmail.com> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
from . import hr_contract |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data> | ||
|
||
<record id="hr_contract_view" model="ir.ui.view"> | ||
<field name="name">hr.contract.form.view.inherit.ref</field> | ||
<field name="model">hr.contract</field> | ||
<field name="type">form</field> | ||
<field name="inherit_id" ref="hr_contract.hr_contract_view_form"/> | ||
<field name="arch" type="xml"> | ||
<field name="name" position="replace"> | ||
<field name="name" readonly="1"/> | ||
</field> | ||
<odoo> | ||
<record id="hr_contract_view" model="ir.ui.view"> | ||
<field name="name">hr.contract.form.view.inherit.ref</field> | ||
<field name="model">hr.contract</field> | ||
<field name="type">form</field> | ||
<field name="inherit_id" ref="hr_contract.hr_contract_view_form"/> | ||
<field name="arch" type="xml"> | ||
<field name="name" position="attributes"> | ||
<attribute name="readonly">True</attribute> | ||
</field> | ||
</record> | ||
</data> | ||
</openerp> | ||
</field> | ||
</record> | ||
</odoo> |