Browse Source

Style corrections.

pull/224/head
Jairo Llopis 9 years ago
parent
commit
045e8fc621
  1. 8
      partner_capital/README.rst
  2. 3
      partner_capital/__init__.py
  3. 3
      partner_capital/__openerp__.py
  4. 3
      partner_capital/models/__init__.py
  5. 10
      partner_capital/models/res_partner.py
  6. 3
      partner_capital/models/res_partner_turnover_range.py

8
partner_capital/README.rst

@ -2,12 +2,12 @@
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
===============
================
Partners Capital
===============
================
This module extends the functionality of partners to support setting capital
country, registered capital amount and turnover.
This module extends the functionality of partners to support setting the
country of origin of capital, registered capital amount and turnover.
By capital country we mean country of origin of the capital of the company.

3
partner_capital/__init__.py

@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
# Antonio Espinosa <antonioea@antiun.com>
# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

3
partner_capital/__openerp__.py

@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
# Antonio Espinosa <antonioea@antiun.com>
# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

3
partner_capital/models/__init__.py

@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
# Antonio Espinosa <antonioea@antiun.com>
# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

10
partner_capital/models/res_partner.py

@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
# Antonio Espinosa <antonioea@antiun.com>
# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
@ -16,11 +15,14 @@ class ResPartner(models.Model):
help="Country of origin of this company's capital.")
capital_amount = fields.Float(
"Capital amount",
oldname="capital_amount",
help="Publicly registered capital amount.")
turnover_range_id = fields.Many2one(
'res.partner.turnover_range',
"Turnover range")
turnover_amount = fields.Float()
"Turnover range",
oldname="turnover_range")
turnover_amount = fields.Float(
oldname="turnover_number")
company_size = fields.Selection(
string="Company size",
selection=[('micro', 'Micro'), ('small', 'Small'),

3
partner_capital/models/res_partner_turnover_range.py

@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
# Antonio Espinosa <antonioea@antiun.com>
# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa
# © 2015 Antiun Ingeniería S.L. - Jairo Llopis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

Loading…
Cancel
Save