Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
29 additions
and
43 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
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,25 +1,16 @@ | ||
# Copyright (C) 2009 Renato Lima - Akretion | ||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html | ||
|
||
from odoo import models, fields | ||
from odoo import fields, models | ||
|
||
|
||
class Country(models.Model): | ||
_inherit = 'res.country' | ||
_inherit = "res.country" | ||
|
||
bc_code = fields.Char( | ||
string='BC Code', | ||
size=5) | ||
bc_code = fields.Char(string="BC Code", size=5) | ||
|
||
ibge_code = fields.Char( | ||
string='IBGE Code', | ||
size=5) | ||
ibge_code = fields.Char(string="IBGE Code", size=5) | ||
|
||
siscomex_code = fields.Char( | ||
string='Siscomex Code', | ||
size=4) | ||
siscomex_code = fields.Char(string="Siscomex Code", size=4) | ||
|
||
nationality_code = fields.Char( | ||
string='Nationality Code', | ||
size=2, | ||
) | ||
nationality_code = fields.Char(string="Nationality Code", size=2) |