Skip to content
Snippets Groups Projects
Commit 562791d9095c authored by Houzefa Abbasbhay's avatar Houzefa Abbasbhay :slight_smile:
Browse files

Alpha-sort field declarations

parent 1300dd9b1cdc
No related branches found
No related tags found
No related merge requests found
......@@ -29,8 +29,13 @@
_name = 'account.fiscalyear'
_description = 'Fiscal year'
code = fields.Char(
string='Code',
size=6,
)
name = fields.Char(
string='Fiscal year',
required=True,
)
......@@ -32,13 +37,8 @@
name = fields.Char(
string='Fiscal year',
required=True,
)
code = fields.Char(
string='Code',
size=6,
)
period_ids = fields.One2many(
comodel_name='account.period',
inverse_name='fiscalyear_id',
......
......@@ -32,13 +32,8 @@
_name = 'account.period'
_description = 'Accounting period'
name = fields.Char(
string='Period name',
required=True,
)
code = fields.Char(
string='Code',
size=12,
)
......@@ -40,13 +35,8 @@
code = fields.Char(
string='Code',
size=12,
)
fiscalyear_id = fields.Many2one(
comodel_name='account.fiscalyear',
string='Fiscal year',
)
date_start = fields.Date(
string='Start of period',
required=True,
......@@ -57,8 +47,13 @@
required=True,
)
fiscalyear_id = fields.Many2one(
comodel_name='account.fiscalyear',
string='Fiscal year',
)
input_date_stop = fields.Date(
string='End of input',
required=True,
)
......@@ -60,8 +55,13 @@
input_date_stop = fields.Date(
string='End of input',
required=True,
)
name = fields.Char(
string='Period name',
required=True,
)
state = fields.Selection(
selection=[
('draft', 'Open'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment