Skip to content
Snippets Groups Projects
Commit 22a0f221 authored by Marco Folco's avatar Marco Folco
Browse files

[ADD] data

Added default plans for PAMI and its related health attention points
Modified health attention point in insurance plan view
parent 95d61892
No related branches found
No related tags found
1 merge request!30[ADD] data
......@@ -37,6 +37,8 @@
"views/res_partner_views.xml",
"data/general.xml",
"data/res_partner_data.xml",
"data/health_insurance_plan_data.xml",
"data/health_attention_point_data.xml",
# "views/health_insurance_tariff_view.xml",
],
"qweb": ['static/src/xml/*.xml'],
......
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data noupdate="1">
<record id="attention_point_3320" model="health.attention.point">
<field name="insurance_alias">3320 MAIPU 2286 () -</field>
<field name="SOFSA_alias">1 Maipu 2286 (210090270)</field>
<field name="insurance_plan_id" ref="health_insurance.insurance_plan_pami_334"/>
</record>
<record id="attention_point_43762" model="health.attention.point">
<field name="insurance_alias">43762 JUAN DE GARAY 2536 ()</field>
<field name="SOFSA_alias">3 9 de Julio 300 (210110185)</field>
<field name="insurance_plan_id" ref="health_insurance.insurance_plan_pami_338"/>
</record>
<record id="attention_point_43763" model="health.attention.point">
<field name="insurance_alias">43763 JUAN DE GARAY 2534 () -</field>
<field name="SOFSA_alias">4 San Cristobal 400 (210130293)</field>
<field name="insurance_plan_id" ref="health_insurance.insurance_plan_pami_338"/>
</record>
<record id="attention_point_35901" model="health.attention.point">
<field name="insurance_alias">35901 MAIPU 2286 () -</field>
<field name="SOFSA_alias">2 PAMI OP</field>
<field name="insurance_plan_id" ref="health_insurance.insurance_plan_pami_337"/>
</record>
</data>
</odoo>
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data noupdate="1">
<record id="insurance_plan_pami_334" model="health.insurance.plan">
<field name="name">PLAN 334</field>
<field name="partner_id" ref="health_insurance.res_partner_pami"/>
<field name="code">PLAN 334</field>
</record>
<record id="insurance_plan_pami_337" model="health.insurance.plan">
<field name="name">PLAN 337</field>
<field name="partner_id" ref="health_insurance.res_partner_pami"/>
<field name="code">PLAN 337</field>
</record>
<record id="insurance_plan_pami_338" model="health.insurance.plan">
<field name="name">PLAN 338</field>
<field name="partner_id" ref="health_insurance.res_partner_pami"/>
<field name="code">PLAN 338</field>
</record>
</data>
</odoo>
No preview for this file type
......@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-06-24 19:46+0000\n"
"PO-Revision-Date: 2020-06-24 16:48-0300\n"
"POT-Creation-Date: 2020-07-08 18:30+0000\n"
"PO-Revision-Date: 2020-07-08 15:31-0300\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
......@@ -23,7 +23,6 @@ msgid "Active"
msgstr "Activo"
#. module: health_insurance
#: model:ir.model.fields,field_description:health_insurance.field_health_attention_point__address
#: model_terms:ir.ui.view,arch_db:health_insurance.health_insurance_view_form
msgid "Address"
msgstr "Dirección"
......@@ -39,11 +38,6 @@ msgstr "Tipo de dirección"
msgid "Administrative Address"
msgstr "Dirección Administrativa"
#. module: health_insurance
#: model:ir.model.fields,field_description:health_insurance.field_health_attention_point__alias
msgid "Alias"
msgstr "Seudónimo"
#. module: health_insurance
#: model_terms:ir.ui.view,arch_db:health_insurance.health_insurance_view_form
msgid "Avatar"
......@@ -71,7 +65,6 @@ msgid "Clinic"
msgstr "Clinica"
#. module: health_insurance
#: model:ir.model.fields,field_description:health_insurance.field_health_attention_point__code
#: model:ir.model.fields,field_description:health_insurance.field_health_insurance_plan__code
msgid "Code"
msgstr "Código"
......@@ -137,17 +130,9 @@ msgstr "Agrupar por..."
#. module: health_insurance
#: model:ir.model,name:health_insurance.model_health_attention_point
#: model_terms:ir.ui.view,arch_db:health_insurance.health_attention_point_view_form
#: model_terms:ir.ui.view,arch_db:health_insurance.health_attention_point_view_tree
msgid "Health Attention Point"
msgstr "Boca de atención"
#. module: health_insurance
#: model:ir.actions.act_window,name:health_insurance.health_attention_point_action
#: model:ir.ui.menu,name:health_insurance.menu_health_attention_point
msgid "Health Attention Points"
msgstr "Bocas de atención"
#. module: health_insurance
#: model:ir.model.fields,field_description:health_insurance.field_health_insurance_plan__partner_id
#: model_terms:ir.ui.view,arch_db:health_insurance.health_insurance_plan_view_form
......@@ -194,6 +179,11 @@ msgstr ""
msgid "Insurance"
msgstr "Obra Social"
#. module: health_insurance
#: model:ir.model.fields,field_description:health_insurance.field_health_attention_point__insurance_alias
msgid "Insurance Alias"
msgstr "Seudónimo de obra social"
#. module: health_insurance
#: model_terms:ir.ui.view,arch_db:health_insurance.health_insurance_view_form
msgid "Internal Notes"
......@@ -222,7 +212,7 @@ msgid "Invoicing Type"
msgstr "Tipo de facturación"
#. module: health_insurance
#: code:addons/health_insurance/models/health_insurance_plan.py:38
#: code:addons/health_insurance/models/health_insurance_plan.py:39
#, python-format
msgid "It already exists a health insurance plan of code %s and health insurance %s"
msgstr "Ya existe un plan de con código %s y Obra Social %s"
......@@ -318,13 +308,23 @@ msgstr "Dirección Privada"
#. module: health_insurance
#: selection:res.partner,partner_type:0
msgid "Professional"
msgstr "Profesionales"
msgstr "Profesional"
#. module: health_insurance
#: model:ir.model.fields,field_description:health_insurance.field_health_insurance_plan__attention_point_ids
msgid "Related attention points"
msgstr "Puntos de atención relacionados"
#. module: health_insurance
#: model:ir.model.fields,field_description:health_insurance.field_health_attention_point__insurance_plan_id
msgid "Related insurance plan"
msgstr "Plan de obra social relacionado"
#. module: health_insurance
#: model:ir.model.fields,field_description:health_insurance.field_health_attention_point__SOFSA_alias
msgid "SOFSA Alias"
msgstr "Seudónimo de SOFSA"
#. module: health_insurance
#: model_terms:ir.ui.view,arch_db:health_insurance.health_insurance_view_search
msgid "Search Health Insurance"
......
......@@ -29,7 +29,12 @@
<field name="invoicing_type" />
</group>
<group>
<field name="attention_point_ids"/>
<field name="attention_point_ids">
<tree editable="inline">
<field name="insurance_alias"/>
<field name="SOFSA_alias"/>
</tree>
</field>
</group>
<footer>
<group string="Observations" name="observations">
......
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