Mercurial > hgweb > health
changeset 3190:9967c255ab3e
Fix bug #55595: Remove unimplemented functionality fields from Federation Country
| author | Luis Falcon <falcon@gnu.org> |
|---|---|
| date | Mon, 28 Jan 2019 19:36:38 +0000 |
| parents | 0f71befb7461 |
| children | 7293408b973a |
| files | tryton/health/health.py tryton/health/view/gnuhealth_federation_country_config.xml tryton/health/view/gnuhealth_federation_country_config_tree.xml |
| diffstat | 3 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/tryton/health/health.py +++ b/tryton/health/health.py @@ -348,8 +348,9 @@ code = fields.Function(fields.Char('Code'),'get_country_code') use_citizenship = fields.Boolean('Use Citizenship', - help="If this option is set" - "the country code will be the person citizenship") + help="If this option is set\n" + "the default country code will be the person citizenship.\n" + "This feature is reserved for future use") def get_country_code(self, name): return self.country.code3
--- a/tryton/health/view/gnuhealth_federation_country_config.xml +++ b/tryton/health/view/gnuhealth_federation_country_config.xml @@ -1,11 +1,9 @@ <?xml version="1.0"?> <form> - <group id="federation_country_header" colspan="6"> + <group id="federation_country_header" colspan="4"> <label name="country"/> <field name="country"/> <label name="code"/> <field name="code"/> - <label name="use_citizenship"/> - <field name="use_citizenship"/> </group> </form>
