Merge lp:~echeverrifm/oemedical/oemedical_socioeconomics into lp:oemedical
- oemedical_socioeconomics
- Merge into trunk
Status: | Needs review |
---|---|
Proposed branch: | lp:~echeverrifm/oemedical/oemedical_socioeconomics |
Merge into: | lp:oemedical |
Diff against target: |
952 lines (+264/-597) 11 files modified
oemedical_socioeconomics/__openerp__.py (+43/-102) oemedical_socioeconomics/models/__init__.py (+2/-0) oemedical_socioeconomics/models/oemedical_socioeconomics.py (+127/-0) oemedical_socioeconomics/oemedical_menu.xml (+0/-211) oemedical_socioeconomics/oemedical_socioeconomics/__init__.py (+0/-24) oemedical_socioeconomics/oemedical_socioeconomics/oemedical_socioeconomics.py (+0/-128) oemedical_socioeconomics/oemedical_socioeconomics/oemedical_socioeconomics_view.xml (+0/-80) oemedical_socioeconomics/security/ir.model.access.csv (+1/-0) oemedical_socioeconomics/security/oemedical_security.xml (+3/-52) oemedical_socioeconomics/views/oemedical_menu.xml (+9/-0) oemedical_socioeconomics/views/oemedical_socioeconomics_view.xml (+79/-0) |
To merge this branch: | bzr merge lp:~echeverrifm/oemedical/oemedical_socioeconomics |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexandre Fayolle - camptocamp | Needs Resubmitting | ||
Yannick Vaucher @ Camptocamp | Approve | ||
Review via email: mp+205523@code.launchpad.net |
Commit message
Description of the change
[IMP] Improve oemedical socioeconomics module (Fix oemedical_
[IMP] Improve oemedical socioeconomics module (Fix some problems to install, Remove comments, improve dependences and move files
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote : | # |
- 126. By Federico Manuel Echeverri Choux
-
[IMP] Improve description Socioeconomics module and clean code of oemedical_
socioeconomics. py file
Federico Manuel Echeverri Choux (echeverrifm) wrote : | # |
> Description was completely removed is that on purpose ?
Hello Yannick
Sorry i forgot description, because this module have old description of oemedical.
But i now put this description module for oemedical socioeconomics
Regrads and thank for your time
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote : | # |
152 + 'views/
You may want to remove the comment ?
Otherwise looks good.
- 127. By Federico Manuel Echeverri Choux
-
[IMP] Improve __openerp__.py of socioeconomics module
Federico Manuel Echeverri Choux (echeverrifm) wrote : | # |
> 152 + 'views/
> please correct before enabling....
>
> You may want to remove the comment ?
>
> Otherwise looks good.
Hello Yannick
i removed that
Regards
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote : | # |
Mispellings:
l.75 Infraestructure
l.893 please remove commented field
Otherwise LGTM
- 128. By Federico Manuel Echeverri Choux
-
[IMP] Improve oemedical_
socioeconomics module (fix description on __openerp__.py and remove commented field on oemedical_ socioeconomics_ view.xml )
Federico Manuel Echeverri Choux (echeverrifm) wrote : | # |
> Mispellings:
>
> l.75 Infraestructure
> l.893 please remove commented field
>
> Otherwise LGTM
Hello Yannick
I do it
Could you check it? please
Thanks and regards
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote : | # |
Thanks Frederico
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote : | # |
Hello,
The management of the project has moved to Github: https:/
Please migrate your merge proposal to Github. You may want to check https:/
Thanks for contributing to the project
Unmerged revisions
- 128. By Federico Manuel Echeverri Choux
-
[IMP] Improve oemedical_
socioeconomics module (fix description on __openerp__.py and remove commented field on oemedical_ socioeconomics_ view.xml ) - 127. By Federico Manuel Echeverri Choux
-
[IMP] Improve __openerp__.py of socioeconomics module
- 126. By Federico Manuel Echeverri Choux
-
[IMP] Improve description Socioeconomics module and clean code of oemedical_
socioeconomics. py file - 125. By Federico Manuel Echeverri Choux
-
[IMP] Improve oemedical socioeconomics module (Fix oemedical_
socioeconomics_ view.xml view, improve menu, add security file .csv and remove groups of oemedical_ security. xml ) - 124. By Federico Manuel Echeverri Choux
-
[IMP] Improve oemedical socioeconomics module (Fix some problems to install, Remove comments, improve dependences and move file )
Preview Diff
1 | === modified file 'oemedical_socioeconomics/__openerp__.py' |
2 | --- oemedical_socioeconomics/__openerp__.py 2014-01-15 10:20:02 +0000 |
3 | +++ oemedical_socioeconomics/__openerp__.py 2014-04-02 14:40:29 +0000 |
4 | @@ -34,124 +34,65 @@ |
5 | ############################################################################## |
6 | { |
7 | |
8 | - 'name': 'OeMedical : Free Health and Hospital Information System', |
9 | + 'name': 'OeMedical : Socioeconomics', |
10 | 'version': '1.0', |
11 | 'author': "OeMEdical Team", |
12 | 'category': 'Generic Modules/Others', |
13 | - 'depends': ['base', 'sale', 'purchase', 'account', 'product'], |
14 | + 'depends': ['oemedical'], |
15 | 'application': True, |
16 | 'description': """ |
17 | |
18 | -About OeMedical |
19 | ---------------- |
20 | - |
21 | -OeMedical is a multi-user, highly scalable, centralized Electronic |
22 | -Medical Record (EMR) and Hospital Information System for openERP. |
23 | - |
24 | -OeMedical provides a free universal Health and Hospital Information System, |
25 | -so doctors and institutions all over the world, |
26 | -specially in developing countries will benefit from a centralized, |
27 | -high quality, secure and scalable system. |
28 | - |
29 | -OeMedical at a glance: |
30 | - |
31 | - * Strong focus in family medicine and Primary Health Care |
32 | - |
33 | - * Major interest in Socio-economics (housing conditions, substance abuse, |
34 | - education...) |
35 | - |
36 | - * Diseases and Medical procedures standards (like ICD-10 / ICD-10-PCS ...) |
37 | - |
38 | - * Patient Genetic and Hereditary risks : Over 4200 genes related to |
39 | - diseases (NCBI / Genecards) |
40 | - |
41 | - * Epidemiological and other statistical reports |
42 | - |
43 | - * 100% paperless patient examination and history taking |
44 | - |
45 | - * Patient Administration |
46 | - (creation, evaluations / consultations, history ... ) |
47 | - |
48 | - * Doctor Administration |
49 | - |
50 | - * Lab Administration |
51 | - |
52 | - * Medicine / Drugs information (vademécum) |
53 | - |
54 | - * Medical stock and supply chain management |
55 | - |
56 | - * Hospital Financial Administration |
57 | - |
58 | - * Designed with industry standards in mind |
59 | - |
60 | - * Open Source : Licensed under AGPL |
61 | - |
62 | +About OeMedical Socio Economics |
63 | +------------------------------- |
64 | + |
65 | +Socialeconomics Module for: |
66 | + |
67 | +Main |
68 | + |
69 | + Socialeconomics Level |
70 | + Education Level |
71 | + Housing Conditions |
72 | + ---------------------- |
73 | + Works at home |
74 | + |
75 | +Infrastructure |
76 | + |
77 | + Sanitary Sewers |
78 | + Running Water |
79 | + Trash recollection |
80 | + Electrical supply |
81 | + Gas supply |
82 | + Telephone |
83 | + Television |
84 | + Internet |
85 | + |
86 | +Family |
87 | + |
88 | + Single parent family |
89 | + Domestic violence |
90 | + Working children |
91 | + Teenage pregnancy |
92 | + Sexual abuse |
93 | + Drug addiction |
94 | + School withdrawal |
95 | + Has been in prison |
96 | + Is currently in prison |
97 | + Relative in prison |
98 | + |
99 | """, |
100 | "website": "http://launchpad.net/oemedical", |
101 | "licence": "AGPL v3", |
102 | "data": [ |
103 | - 'sequence/oemedical_sequence.xml', |
104 | - 'views/oemedical_secondary_condition_view.xml', |
105 | - 'views/oemedical_pathology_category_view.xml', |
106 | - 'views/oemedical_signs_and_symptoms_view.xml', |
107 | - 'views/product_product_view.xml', |
108 | - 'views/oemedical_physician_view.xml', |
109 | - 'views/oemedical_directions_view.xml', |
110 | - 'views/oemedical_insurance_view.xml', |
111 | - 'views/res_partner_view.xml', |
112 | - 'views/oemedical_pathology_view.xml', |
113 | - 'views/oemedical_operational_area_view.xml', |
114 | - 'views/oemedical_ethnicity_view.xml', |
115 | - 'views/oemedical_operational_sector_view.xml', |
116 | - 'views/oemedical_prescription_order_view.xml', |
117 | - 'views/oemedical_medicament_category_view.xml', |
118 | - 'views/oemedical_insurance_plan_view.xml', |
119 | - 'views/oemedical_diagnostic_hypothesis_view.xml', |
120 | - 'views/oemedical_procedure_view.xml', |
121 | - 'views/oemedical_medication_template_view.xml', |
122 | - 'views/oemedical_vaccination_view.xml', |
123 | - 'views/oemedical_medication_dosage_view.xml', |
124 | - 'views/oemedical_family_member_view.xml', |
125 | - 'views/oemedical_hospital_ward_view.xml', |
126 | - 'views/oemedical_hospital_or_view.xml', |
127 | - 'views/oemedical_drug_form_view.xml', |
128 | - 'views/oemedical_patient_medication_view.xml', |
129 | - 'views/oemedical_patient_evaluation_view.xml', |
130 | - 'views/oemedical_hospital_building_view.xml', |
131 | - 'views/oemedical_patient_view.xml', |
132 | - 'views/oemedical_prescription_line_view.xml', |
133 | - 'views/oemedical_patient_disease_view.xml', |
134 | - 'views/oemedical_drug_route_view.xml', |
135 | - 'views/oemedical_hospital_unit_view.xml', |
136 | - 'views/oemedical_appointment_view.xml', |
137 | - 'views/oemedical_specialty_view.xml', |
138 | - 'views/oemedical_family_view.xml', |
139 | - 'views/oemedical_hospital_bed_view.xml', |
140 | - 'views/oemedical_occupation_view.xml', |
141 | - 'views/oemedical_disease_group_members_view.xml', |
142 | - 'views/oemedical_medicament_view.xml', |
143 | - 'views/oemedical_pathology_group_view.xml', |
144 | - #'views/oemedical_gynecology_and_obstetrics_view.xml', # view has errors, please correct before enabling.... |
145 | - #'views/oemedical_lifestyle_view.xml', |
146 | - 'views/data/recreational_drugs.xml', |
147 | - #'views/oemedical_disease_gene_view.xml', # view has errors, please correct before enabling.... |
148 | - 'views/data/disease_genes.xml', |
149 | - #'views/oemedical_socioeconomics_view.xml', # view has errors, please correct before enabling.... |
150 | - #'views/oemedical_lab_view.xml', # view has errors, please correct before enabling.... |
151 | + 'views/oemedical_menu.xml', |
152 | + 'views/oemedical_socioeconomics_view.xml', |
153 | 'security/oemedical_security.xml', |
154 | 'security/ir.model.access.csv', |
155 | - 'oemedical_menu.xml', |
156 | ], |
157 | "demo": [ |
158 | |
159 | ], |
160 | 'test':[ |
161 | - 'test/physician.yml', |
162 | - 'test/patient.yml', |
163 | - 'test/partners.yml', |
164 | - 'test/insurance_plan.yml', |
165 | - 'test/insurance.yml', |
166 | - 'test/physician_speciality.yml' |
167 | + |
168 | ], |
169 | 'css': [ |
170 | |
171 | @@ -163,6 +104,6 @@ |
172 | |
173 | ], |
174 | "active": False, |
175 | - "installable": False, |
176 | + "installable": True, |
177 | } |
178 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
179 | |
180 | === modified file 'oemedical_socioeconomics/models/__init__.py' |
181 | --- oemedical_socioeconomics/models/__init__.py 2014-01-15 10:20:02 +0000 |
182 | +++ oemedical_socioeconomics/models/__init__.py 2014-04-02 14:40:29 +0000 |
183 | @@ -18,3 +18,5 @@ |
184 | |
185 | |
186 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
187 | + |
188 | +import oemedical_socioeconomics |
189 | |
190 | === added file 'oemedical_socioeconomics/models/oemedical_socioeconomics.py' |
191 | --- oemedical_socioeconomics/models/oemedical_socioeconomics.py 1970-01-01 00:00:00 +0000 |
192 | +++ oemedical_socioeconomics/models/oemedical_socioeconomics.py 2014-04-02 14:40:29 +0000 |
193 | @@ -0,0 +1,127 @@ |
194 | +# -*- coding: utf-8 -*- |
195 | +#/############################################################################# |
196 | +# |
197 | +# Tech-Receptives Solutions Pvt. Ltd. |
198 | +# Copyright (C) 2004-TODAY Tech-Receptives(<http://www.techreceptives.com>) |
199 | +# Special Credit and Thanks to Thymbra Latinoamericana S.A. |
200 | +# |
201 | +# This program is free software: you can redistribute it and/or modify |
202 | +# it under the terms of the GNU Affero General Public License as |
203 | +# published by the Free Software Foundation, either version 3 of the |
204 | +# License, or (at your option) any later version. |
205 | +# |
206 | +# This program is distributed in the hope that it will be useful, |
207 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
208 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
209 | +# GNU Affero General Public License for more details. |
210 | +# |
211 | +# You should have received a copy of the GNU Affero General Public License |
212 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
213 | +# |
214 | +#/############################################################################# |
215 | + |
216 | +from openerp.osv import fields, orm |
217 | +from openerp.tools.translate import _ |
218 | +from dateutil.relativedelta import relativedelta |
219 | +from datetime import datetime |
220 | + |
221 | + |
222 | +class OeMedicalSocioeconomics(orm.Model): |
223 | + |
224 | + _inherit='oemedical.patient' |
225 | + |
226 | + _columns={ |
227 | + 'ses' : fields.selection([ |
228 | + (None, ''), |
229 | + ('0', 'Lower'), |
230 | + ('1', 'Lower-middle'), |
231 | + ('2', 'Middle'), |
232 | + ('3', 'Middle-upper'), |
233 | + ('4', 'Higher'), |
234 | + ], 'Socioeconomics', help="SES - Socioeconomic Status", sort=False), |
235 | + 'housing' : fields.selection([ |
236 | + (None, ''), |
237 | + ('0', 'Shanty, deficient sanitary conditions'), |
238 | + ('1', 'Small, crowded but with good sanitary conditions'), |
239 | + ('2', 'Comfortable and good sanitary conditions'), |
240 | + ('3', 'Roomy and excellent sanitary conditions'), |
241 | + ('4', 'Luxury and excellent sanitary conditions'), |
242 | + ], 'Housing conditions', help="Housing and sanitary living conditions", sort=False), |
243 | + 'hostile_area' : fields.boolean('Hostile Area', help="Check if patient lives in a zone of high hostility (eg, war)"), |
244 | + 'sewers' : fields.boolean('Sanitary Sewers'), |
245 | + 'water' : fields.boolean('Running Water'), |
246 | + 'trash' : fields.boolean('Trash recollection'), |
247 | + 'electricity' : fields.boolean('Electrical supply'), |
248 | + 'gas' : fields.boolean('Gas supply'), |
249 | + 'telephone' : fields.boolean('Telephone'), |
250 | + 'television' : fields.boolean('Television'), |
251 | + 'internet' : fields.boolean('Internet'), |
252 | + 'single_parent' : fields.boolean('Single parent family'), |
253 | + 'domestic_violence' : fields.boolean('Domestic violence'), |
254 | + 'working_children' : fields.boolean('Working children'), |
255 | + 'teenage_pregnancy' : fields.boolean('Teenage pregnancy'), |
256 | + 'sexual_abuse' : fields.boolean('Sexual abuse'), |
257 | + 'drug_addiction' : fields.boolean('Drug addiction'), |
258 | + 'school_withdrawal' : fields.boolean('School withdrawal'), |
259 | + 'prison_past' : fields.boolean('Has been in prison'), |
260 | + 'prison_current' : fields.boolean('Is currently in prison'), |
261 | + 'relative_in_prison' : fields.boolean('Relative in prison', help="Check if someone from the nuclear family - parents sibblings is or has been in prison"), |
262 | + 'ses_notes' : fields.text('Extra info'), |
263 | + 'fam_apgar_help' : fields.selection([ |
264 | + (None, ''), |
265 | + ('0', 'None'), |
266 | + ('1', 'Moderately'), |
267 | + ('2', 'Very much'), |
268 | + ], 'Help from family', |
269 | + help="Is the patient satisfied with the level of help coming from the family when there is a problem ?", sort=False), |
270 | + 'fam_apgar_discussion' : fields.selection([ |
271 | + (None, ''), |
272 | + ('0', 'None'), |
273 | + ('1', 'Moderately'), |
274 | + ('2', 'Very much'), |
275 | + ], 'Problems discussion', |
276 | + help="Is the patient satisfied with the level talking over the problems as family ?", sort=False), |
277 | + 'fam_apgar_decisions' : fields.selection([ |
278 | + (None, ''), |
279 | + ('0', 'None'), |
280 | + ('1', 'Moderately'), |
281 | + ('2', 'Very much'), |
282 | + ], 'Decision making', |
283 | + help="Is the patient satisfied with the level of making important decisions as a group ?", sort=False), |
284 | + 'fam_apgar_timesharing' : fields.selection([ |
285 | + (None, ''), |
286 | + ('0', 'None'), |
287 | + ('1', 'Moderately'), |
288 | + ('2', 'Very much'), |
289 | + ], 'Time sharing', |
290 | + help="Is the patient satisfied with the level of time that they spend together ?", sort=False), |
291 | + 'fam_apgar_affection' : fields.selection([ |
292 | + (None, ''), |
293 | + ('0', 'None'), |
294 | + ('1', 'Moderately'), |
295 | + ('2', 'Very much'), |
296 | + ], 'Family affection', |
297 | + help="Is the patient satisfied with the level of affection coming from the family ?", sort=False), |
298 | + 'fam_apgar_score' : fields.integer('Score', help="Total Family APGAR 7 - 10 : Functional Family 4 - 6 : Some level of disfunction \n" \ |
299 | + "0 - 3 : Severe disfunctional family \n"), |
300 | + 'income' : fields.selection([ |
301 | + (None, ''), |
302 | + ('h', 'High'), |
303 | + ('m', 'Medium / Average'), |
304 | + ('l', 'Low'), |
305 | + ], 'Income', sort=False), |
306 | + 'education' : fields.selection([ |
307 | + (None, ''), |
308 | + ('0', 'None'), |
309 | + ('1', 'Incomplete Primary School'), |
310 | + ('2', 'Primary School'), |
311 | + ('3', 'Incomplete Secondary School'), |
312 | + ('4', 'Secondary School'), |
313 | + ('5', 'University'), |
314 | + ], 'Education Level', help="Education Level", sort=False), |
315 | + 'works_at_home' : fields.boolean('Works at home', help="Check if the patient works at his / her house"), |
316 | + 'hours_outside' : fields.integer('Hours outside home', help="Number of hours a day the patient spend outside the house"), |
317 | + |
318 | + } |
319 | + |
320 | + |
321 | |
322 | === removed file 'oemedical_socioeconomics/oemedical_menu.xml' |
323 | --- oemedical_socioeconomics/oemedical_menu.xml 2014-01-15 10:20:02 +0000 |
324 | +++ oemedical_socioeconomics/oemedical_menu.xml 1970-01-01 00:00:00 +0000 |
325 | @@ -1,211 +0,0 @@ |
326 | -<?xml version="1.0" encoding="UTF-8"?> |
327 | -<openerp> |
328 | - <data> |
329 | - <menuitem id="oemedical_root" name="OeMedical" sequence="10" /> |
330 | - |
331 | - |
332 | -<!--Menu Patient--> |
333 | - |
334 | - <menuitem id="oemedical_patient_root" name="Patient" parent="oemedical_root" |
335 | - sequence="10" /> |
336 | - <menuitem id="oemedical_patient" name=" Patient" |
337 | - parent="oemedical_patient_root" sequence="10" |
338 | - action="act_open_oemedical_patient_view" /> |
339 | - |
340 | - <menuitem id="oemedical_family" name=" Family" parent="oemedical_patient_root" |
341 | - sequence="20" action="act_open_oemedical_family_view" /> |
342 | - |
343 | - <menuitem id="oemedical_family_member" name=" Family Member" |
344 | - parent="oemedical_patient_root" sequence="30" |
345 | - action="act_open_oemedical_family_member_view" /> |
346 | - |
347 | - |
348 | -<!--Appointment--> |
349 | - |
350 | - <menuitem id="oemedical_appoitment_root" name="Appoitment" |
351 | - parent="oemedical_root" sequence="20" /> |
352 | - |
353 | - <menuitem id="oemedical_appointment" name=" Appointment" |
354 | - parent="oemedical_appoitment_root" sequence="10" |
355 | - action="act_open_oemedical_appointment_view" /> |
356 | - |
357 | -<!--Prescriptions--> |
358 | - |
359 | - <menuitem id="oemedical_prescription_root" name="Prescription" |
360 | - parent="oemedical_root" sequence="30" /> |
361 | - |
362 | - <menuitem id="oemedical_prescription_order" name="Prescription Order" |
363 | - parent="oemedical_prescription_root" sequence="10" |
364 | - action="act_open_oemedical_prescription_order_view" /> |
365 | - |
366 | -<!-- Laboratory --> |
367 | - <menuitem name="Laboratory" id="oemedical_laboratory_menu" |
368 | - parent="oemedical_root" sequence="4"/> |
369 | - |
370 | - |
371 | -<!--Configurations--> |
372 | - |
373 | - <menuitem id="oemedical_root_sub" name="Configuration" |
374 | - parent="oemedical_root" sequence="100" /> |
375 | - |
376 | -<!-- Laboratory --> |
377 | - <menuitem name="Laboratory" id="oemedical_conf_laboratory" |
378 | - parent="oemedical_root_sub" sequence="3"/> |
379 | - |
380 | - |
381 | -<!-- Diseases --> |
382 | - |
383 | - <menuitem id="oemedical_root_disease" name="Disease" |
384 | - parent="oemedical_root_sub" sequence="10" /> |
385 | - |
386 | -<!-- Menu of Pathology--> |
387 | - |
388 | - <menuitem id="oemedical_pathology_category" name=" Pathology Category" |
389 | - parent="oemedical_root_disease" sequence="10" |
390 | - action="act_open_oemedical_pathology_category_view" /> |
391 | - |
392 | - <menuitem id="oemedical_pathology" name=" Pathology" |
393 | - parent="oemedical_root_disease" sequence="30" |
394 | - action="act_open_oemedical_pathology_view" /> |
395 | - |
396 | - <menuitem id="oemedical_pathology_group" name=" Pathology Group" |
397 | - parent="oemedical_root_disease" sequence="20" |
398 | - action="act_open_oemedical_pathology_group_view" /> |
399 | - |
400 | - <menuitem id="oemedical_root_disease_cat" name="Categories" |
401 | - parent="oemedical_root_disease" sequence="100" /> |
402 | - |
403 | - <menuitem id="oemedical_disease_group_members" name=" Disease Group" |
404 | - parent="oemedical_root_disease_cat" sequence="10" |
405 | - action="act_open_oemedical_disease_group_members_view" /> |
406 | - |
407 | -<!-- Misc --> |
408 | - |
409 | - <menuitem id="oemedical_root_misc" name="Misc" |
410 | - parent="oemedical_root_sub" sequence="200" /> |
411 | - |
412 | -<!-- Occupation ( Config/misc/Occupation) )--> |
413 | - |
414 | - <menuitem id="oemedical_occupation" name=" Occupation" |
415 | - parent="oemedical_root_misc" sequence="20" |
416 | - action="act_open_oemedical_occupation_view" /> |
417 | - |
418 | -<!-- Medical Specialty ( Config/misc/specialty) )--> |
419 | - |
420 | - <menuitem id="oemedical_specialty" name=" Medical Specialty" |
421 | - parent="oemedical_root_misc" sequence="10" |
422 | - action="act_open_oemedical_specialty_view" /> |
423 | - |
424 | -<!-- Ethnicity ( Config/misc/Ethnicity) )--> |
425 | - |
426 | - <menuitem id="oemedical_ethnicity" name="Ethnicity" parent="oemedical_root_misc" |
427 | - sequence="10" action="act_open_oemedical_ethnicity_view" /> |
428 | - |
429 | - |
430 | - |
431 | - |
432 | - |
433 | - |
434 | -<!--Medicaments--> |
435 | - |
436 | - <menuitem id="oemedical_medicament_root" name="Medicaments" |
437 | - parent="oemedical_root_sub" sequence="50" /> |
438 | - |
439 | - |
440 | - <menuitem id="oemedical_medicament" name="Medicaments" |
441 | - parent="oemedical_medicament_root" sequence="10" |
442 | - action="act_open_oemedical_medicament_view" /> |
443 | - |
444 | - <menuitem id="oemedical_medication_template" name=" Medication Template" |
445 | - parent="oemedical_medicament_root" sequence="20" |
446 | - action="act_open_oemedical_medication_template_view" /> |
447 | - |
448 | - <menuitem id="oemedical_medication_frequencies" name="Medication Frequencies" |
449 | - parent="oemedical_medicament_root" sequence="30" |
450 | - action="act_open_oemedical_medication_dosage_view" /> |
451 | - |
452 | - <menuitem id="oemedical_drug_route" name=" Drug Admin Route" |
453 | - parent="oemedical_medicament_root" sequence="80" |
454 | - action="act_open_oemedical_drug_route_view" /> |
455 | - |
456 | - <menuitem id="oemedical_drug_form" name=" Drug Form" |
457 | - parent="oemedical_medicament_root" sequence="90" |
458 | - action="act_open_oemedical_drug_form_view" /> |
459 | - |
460 | - |
461 | - <menuitem id="oemedical_medicament_category" name=" Medicament Category" |
462 | - parent="oemedical_medicament_root" sequence="100" |
463 | - action="act_open_oemedical_medicament_category_view" /> |
464 | - |
465 | -<!--Hospital Centers--> |
466 | - |
467 | - <menuitem id="oemedical_health_center_root" name="Health Center" |
468 | - parent="oemedical_root_sub" sequence="10" /> |
469 | - |
470 | - <menuitem id="oemedical_hospital_building" name=" Hospital Building" |
471 | - parent="oemedical_health_center_root" sequence="10" |
472 | - action="act_open_oemedical_hospital_building_view" /> |
473 | - |
474 | - <menuitem id="oemedical_hospital_unit" name=" Hospital Unit" |
475 | - parent="oemedical_health_center_root" sequence="20" |
476 | - action="act_open_oemedical_hospital_unit_view" /> |
477 | - |
478 | - <menuitem id="oemedical_hospital_ward" name=" Hospital Ward" |
479 | - parent="oemedical_health_center_root" sequence="30" |
480 | - action="act_open_oemedical_hospital_ward_view" /> |
481 | - |
482 | - <menuitem id="oemedical_hospital_or" name=" Hospital Or" |
483 | - parent="oemedical_health_center_root" sequence="40" |
484 | - action="act_open_oemedical_hospital_or_view" /> |
485 | - |
486 | - <menuitem id="oemedical_hospital_bed" name=" Hospital Bed" |
487 | - parent="oemedical_health_center_root" sequence="50" |
488 | - action="act_open_oemedical_hospital_bed_view" /> |
489 | - |
490 | - <menuitem id="oemedical_operational_area" name=" Operational Area" |
491 | - parent="oemedical_health_center_root" sequence="60" |
492 | - action="act_open_oemedical_operational_area_view" /> |
493 | - |
494 | - <menuitem id="oemedical_operational_sector" name=" Operational Sector" |
495 | - parent="oemedical_health_center_root" sequence="70" |
496 | - action="act_open_oemedical_operational_sector_view" /> |
497 | - |
498 | - |
499 | -<!-- Physician Conf --> |
500 | - |
501 | - <menuitem name="Health Professionals" id="oemedical_conf_physicians" |
502 | - parent="oemedical_root_sub" sequence="20" /> |
503 | - |
504 | - <menuitem id="oemedical_physician" name=" Physician" parent="oemedical_conf_physicians" |
505 | - sequence="10" action="act_open_oemedical_physician_view" /> |
506 | - |
507 | - |
508 | -<!-- Insurance --> |
509 | - |
510 | - <menuitem name="Insurances" id="oemedical_conf_insurances" |
511 | - parent="oemedical_root_misc" sequence="20" /> |
512 | - |
513 | - <menuitem id="oemedical_insurance" name=" Insurance" |
514 | - parent="oemedical_conf_insurances" sequence="10" |
515 | - action="act_open_oemedical_insurance_view" /> |
516 | - |
517 | - <menuitem id="oemedical_insurance_plan" name=" Insurance Plan" |
518 | - parent="oemedical_conf_insurances" sequence="20" |
519 | - action="act_open_oemedical_insurance_plan_view" /> |
520 | - |
521 | - |
522 | - |
523 | - |
524 | - <menuitem id="oemedical_diagnostic_hypothesis" name=" Diagnostic Hypothesis" |
525 | - parent="oemedical_root_sub" sequence="10" |
526 | - action="act_open_oemedical_diagnostic_hypothesis_view" /> |
527 | - <menuitem id="oemedical_predure" name=" Procedure" parent="oemedical_root_sub" |
528 | - sequence="10" action="act_open_oemedical_procedure_view" /> |
529 | - |
530 | - <menuitem id="oemedical_vaccination" name=" Vaccination" |
531 | - parent="oemedical_root_sub" sequence="10" |
532 | - action="act_open_oemedical_vaccination_view" /> |
533 | - |
534 | - |
535 | - </data> |
536 | -</openerp> |
537 | |
538 | === removed directory 'oemedical_socioeconomics/oemedical_socioeconomics' |
539 | === removed file 'oemedical_socioeconomics/oemedical_socioeconomics/__init__.py' |
540 | --- oemedical_socioeconomics/oemedical_socioeconomics/__init__.py 2014-01-15 10:20:02 +0000 |
541 | +++ oemedical_socioeconomics/oemedical_socioeconomics/__init__.py 1970-01-01 00:00:00 +0000 |
542 | @@ -1,24 +0,0 @@ |
543 | -# -*- coding: utf-8 -*- |
544 | -############################################################################## |
545 | -# |
546 | -# Tech-Receptives Solutions Pvt. Ltd. |
547 | -# Copyright (C) 2004-TODAY Tech-Receptives(<http://www.techreceptives.com>) |
548 | -# Special Credit and Thanks to Thymbra Latinoamericana S.A. |
549 | -# |
550 | -# This program is free software: you can redistribute it and/or modify |
551 | -# it under the terms of the GNU Affero General Public License as |
552 | -# published by the Free Software Foundation, either version 3 of the |
553 | -# License, or (at your option) any later version. |
554 | -# |
555 | -# This program is distributed in the hope that it will be useful, |
556 | -# but WITHOUT ANY WARRANTY; without even the implied warranty of |
557 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
558 | -# GNU Affero General Public License for more details. |
559 | -# |
560 | -# You should have received a copy of the GNU Affero General Public License |
561 | -# along with this program. If not, see <http://www.gnu.org/licenses/>. |
562 | -# |
563 | -############################################################################## |
564 | - |
565 | - |
566 | -import oemedical_socioeconomics |
567 | |
568 | === removed file 'oemedical_socioeconomics/oemedical_socioeconomics/oemedical_socioeconomics.py' |
569 | --- oemedical_socioeconomics/oemedical_socioeconomics/oemedical_socioeconomics.py 2014-01-15 10:20:02 +0000 |
570 | +++ oemedical_socioeconomics/oemedical_socioeconomics/oemedical_socioeconomics.py 1970-01-01 00:00:00 +0000 |
571 | @@ -1,128 +0,0 @@ |
572 | -# -*- coding: utf-8 -*- |
573 | -#/############################################################################# |
574 | -# |
575 | -# Tech-Receptives Solutions Pvt. Ltd. |
576 | -# Copyright (C) 2004-TODAY Tech-Receptives(<http://www.techreceptives.com>) |
577 | -# Special Credit and Thanks to Thymbra Latinoamericana S.A. |
578 | -# |
579 | -# This program is free software: you can redistribute it and/or modify |
580 | -# it under the terms of the GNU Affero General Public License as |
581 | -# published by the Free Software Foundation, either version 3 of the |
582 | -# License, or (at your option) any later version. |
583 | -# |
584 | -# This program is distributed in the hope that it will be useful, |
585 | -# but WITHOUT ANY WARRANTY; without even the implied warranty of |
586 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
587 | -# GNU Affero General Public License for more details. |
588 | -# |
589 | -# You should have received a copy of the GNU Affero General Public License |
590 | -# along with this program. If not, see <http://www.gnu.org/licenses/>. |
591 | -# |
592 | -#/############################################################################# |
593 | - |
594 | -from openerp.osv import fields, orm |
595 | -from openerp.tools.translate import _ |
596 | -from dateutil.relativedelta import relativedelta |
597 | -from datetime import datetime |
598 | - |
599 | - |
600 | -class OeMedicalSocioeconomics(orm.Model): |
601 | - |
602 | - _inherit='oemedical.patient' |
603 | - |
604 | - _columns={ |
605 | - 'ses' : fields.selection([ |
606 | - (None, ''), |
607 | - ('0', 'Lower'), |
608 | - ('1', 'Lower-middle'), |
609 | - ('2', 'Middle'), |
610 | - ('3', 'Middle-upper'), |
611 | - ('4', 'Higher'), |
612 | - ], 'Socioeconomics', help="SES - Socioeconomic Status", sort=False), |
613 | - 'housing' : fields.selection([ |
614 | - (None, ''), |
615 | - ('0', 'Shanty, deficient sanitary conditions'), |
616 | - ('1', 'Small, crowded but with good sanitary conditions'), |
617 | - ('2', 'Comfortable and good sanitary conditions'), |
618 | - ('3', 'Roomy and excellent sanitary conditions'), |
619 | - ('4', 'Luxury and excellent sanitary conditions'), |
620 | - ], 'Housing conditions', help="Housing and sanitary living conditions", sort=False), |
621 | - 'hostile_area' : fields.boolean('Hostile Area', help="Check if patient lives in a zone of high hostility (eg, war)"), |
622 | - 'sewers' : fields.boolean('Sanitary Sewers'), |
623 | - 'water' : fields.boolean('Running Water'), |
624 | - 'trash' : fields.boolean('Trash recollection'), |
625 | - 'electricity' : fields.boolean('Electrical supply'), |
626 | - 'gas' : fields.boolean('Gas supply'), |
627 | - 'telephone' : fields.boolean('Telephone'), |
628 | - 'television' : fields.boolean('Television'), |
629 | - 'internet' : fields.boolean('Internet'), |
630 | - 'single_parent' : fields.boolean('Single parent family'), |
631 | - 'domestic_violence' : fields.boolean('Domestic violence'), |
632 | - 'working_children' : fields.boolean('Working children'), |
633 | - 'teenage_pregnancy' : fields.boolean('Teenage pregnancy'), |
634 | - 'sexual_abuse' : fields.boolean('Sexual abuse'), |
635 | - 'drug_addiction' : fields.boolean('Drug addiction'), |
636 | - 'school_withdrawal' : fields.boolean('School withdrawal'), |
637 | - 'prison_past' : fields.boolean('Has been in prison'), |
638 | - 'prison_current' : fields.boolean('Is currently in prison'), |
639 | - 'relative_in_prison' : fields.boolean('Relative in prison', help="Check if someone from the nuclear family - parents sibblings is or has been in prison"), |
640 | - 'ses_notes' : fields.text('Extra info'), |
641 | - 'fam_apgar_help' : fields.selection([ |
642 | - (None, ''), |
643 | - ('0', 'None'), |
644 | - ('1', 'Moderately'), |
645 | - ('2', 'Very much'), |
646 | - ], 'Help from family', |
647 | - help="Is the patient satisfied with the level of help coming from the family when there is a problem ?", sort=False), |
648 | - 'fam_apgar_discussion' : fields.selection([ |
649 | - (None, ''), |
650 | - ('0', 'None'), |
651 | - ('1', 'Moderately'), |
652 | - ('2', 'Very much'), |
653 | - ], 'Problems discussion', |
654 | - help="Is the patient satisfied with the level talking over the problems as family ?", sort=False), |
655 | - 'fam_apgar_decisions' : fields.selection([ |
656 | - (None, ''), |
657 | - ('0', 'None'), |
658 | - ('1', 'Moderately'), |
659 | - ('2', 'Very much'), |
660 | - ], 'Decision making', |
661 | - help="Is the patient satisfied with the level of making important decisions as a group ?", sort=False), |
662 | - 'fam_apgar_timesharing' : fields.selection([ |
663 | - (None, ''), |
664 | - ('0', 'None'), |
665 | - ('1', 'Moderately'), |
666 | - ('2', 'Very much'), |
667 | - ], 'Time sharing', |
668 | - help="Is the patient satisfied with the level of time that they spend together ?", sort=False), |
669 | - 'fam_apgar_affection' : fields.selection([ |
670 | - (None, ''), |
671 | - ('0', 'None'), |
672 | - ('1', 'Moderately'), |
673 | - ('2', 'Very much'), |
674 | - ], 'Family affection', |
675 | - help="Is the patient satisfied with the level of affection coming from the family ?", sort=False), |
676 | - 'fam_apgar_score' : fields.integer('Score', help="Total Family APGAR 7 - 10 : Functional Family 4 - 6 : Some level of disfunction \n" \ |
677 | - "0 - 3 : Severe disfunctional family \n"), |
678 | - 'income' : fields.selection([ |
679 | - (None, ''), |
680 | - ('h', 'High'), |
681 | - ('m', 'Medium / Average'), |
682 | - ('l', 'Low'), |
683 | - ], 'Income', sort=False), |
684 | - 'education' : fields.selection([ |
685 | - (None, ''), |
686 | - ('0', 'None'), |
687 | - ('1', 'Incomplete Primary School'), |
688 | - ('2', 'Primary School'), |
689 | - ('3', 'Incomplete Secondary School'), |
690 | - ('4', 'Secondary School'), |
691 | - ('5', 'University'), |
692 | - ], 'Education Level', help="Education Level", sort=False), |
693 | - 'works_at_home' : fields.boolean('Works at home', help="Check if the patient works at his / her house"), |
694 | - 'hours_outside' : fields.integer('Hours outside home', help="Number of hours a day the patient spend outside the house"), |
695 | - |
696 | - } |
697 | - |
698 | - |
699 | -OeMedicalSocioeconomics() |
700 | |
701 | === removed file 'oemedical_socioeconomics/oemedical_socioeconomics/oemedical_socioeconomics_view.xml' |
702 | --- oemedical_socioeconomics/oemedical_socioeconomics/oemedical_socioeconomics_view.xml 2014-01-15 10:20:02 +0000 |
703 | +++ oemedical_socioeconomics/oemedical_socioeconomics/oemedical_socioeconomics_view.xml 1970-01-01 00:00:00 +0000 |
704 | @@ -1,80 +0,0 @@ |
705 | -<?xml version="1.0" encoding="UTF-8"?> |
706 | -<openerp> |
707 | - <data> |
708 | - |
709 | - <record model="ir.ui.view" id="view_oemedical_patient_form_socio_economics"> |
710 | - <field name="name">oemedical.patient.view.inherit.socio_economics</field> |
711 | - <field name="model">oemedical.patient</field> |
712 | - <field name="inherit_id" ref="oemedical.view_oemedical_patient_form" /> |
713 | - <field name="type">form</field> |
714 | - <field name="arch" type="xml"> |
715 | - <data> |
716 | - <xpath expr="//notebook/page[@string='Misc']" position="before"> |
717 | - <page string="Socioeconomics" id="page_socioeconomics"> |
718 | - <notebook> |
719 | - <page string="Main" id="page_ses_main"> |
720 | - <group colspan="4" col="4" id="group_ses_holder2"> |
721 | - <field name="ses"/> |
722 | - <field name="housing"/> |
723 | - <field name="education"/> |
724 | -<!-- <field name="occupation"/>--> |
725 | - </group> |
726 | - <newline/> |
727 | - <group col="6" id="group_socioecomics_work"> |
728 | - <newline/> |
729 | - <field name="works_at_home"/> |
730 | - <field name="hours_outside"/> |
731 | - <field name="hostile_area"/> |
732 | - </group> |
733 | - <newline/> |
734 | - <newline/> |
735 | - <group string="Notes" id="group_ses_notes"> |
736 | - <field colspan="4" name="ses_notes"/> |
737 | - </group> |
738 | - </page> |
739 | - <page string="Infrastructure" id="page_infrastructure"> |
740 | - |
741 | - <group colspan="4" col="8" id="group_ses_infraestructure"> |
742 | - <field name="sewers"/> |
743 | - <field name="water"/> |
744 | - <field name="trash"/> |
745 | - <field name="electricity"/> |
746 | - <field name="gas"/> |
747 | - <field name="telephone"/> |
748 | - <field name="television"/> |
749 | - <field name="internet"/> |
750 | - |
751 | - </group> |
752 | - </page> |
753 | - <page string="Family" id="page_family"> |
754 | - <group colspan="4" col="6" string="Family APGAR" id="group_ses_family_apgar"> |
755 | - <field name="fam_apgar_help" /> |
756 | - <field name="fam_apgar_discussion"/> |
757 | - <field name="fam_apgar_decisions"/> |
758 | - <field name="fam_apgar_timesharing"/> |
759 | - <field name="fam_apgar_affection"/> |
760 | - <field name="fam_apgar_score"/> |
761 | - </group> |
762 | - <newline/> |
763 | - <group colspan="4" col="8" string="Other Family Issues" id="group_ses_other_family_issues"> |
764 | - <field name="single_parent"/> |
765 | - <field name="domestic_violence"/> |
766 | - <field name="working_children"/> |
767 | - <field name="teenage_pregnancy"/> |
768 | - <field name="sexual_abuse"/> |
769 | - <field name="drug_addiction"/> |
770 | - <field name="school_withdrawal"/> |
771 | - <field name="prison_past"/> |
772 | - <field name="prison_current"/> |
773 | - <field name="relative_in_prison"/> |
774 | - </group> |
775 | - </page> |
776 | - </notebook> |
777 | - </page> |
778 | - </xpath> |
779 | - </data> |
780 | - </field> |
781 | - </record> |
782 | - |
783 | - </data> |
784 | -</openerp> |
785 | |
786 | === added file 'oemedical_socioeconomics/security/ir.model.access.csv' |
787 | --- oemedical_socioeconomics/security/ir.model.access.csv 1970-01-01 00:00:00 +0000 |
788 | +++ oemedical_socioeconomics/security/ir.model.access.csv 2014-04-02 14:40:29 +0000 |
789 | @@ -0,0 +1,1 @@ |
790 | +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink |
791 | |
792 | === modified file 'oemedical_socioeconomics/security/oemedical_security.xml' |
793 | --- oemedical_socioeconomics/security/oemedical_security.xml 2014-01-08 06:02:09 +0000 |
794 | +++ oemedical_socioeconomics/security/oemedical_security.xml 2014-04-02 14:40:29 +0000 |
795 | @@ -2,56 +2,7 @@ |
796 | <openerp> |
797 | <data noupdate="0"> |
798 | |
799 | - <record id="group_oemedical_user" model="res.groups"> |
800 | - <field name="name">OEMedical User</field> |
801 | - <field name="category_id" ref="base.module_category_accounting_and_finance"/> |
802 | - <field name="users" eval="[(4, ref('base.user_root'))]"/> |
803 | - <field name="implied_ids" eval="[(4, ref('base.group_user'))]"/> |
804 | - </record> |
805 | - |
806 | - <record id="group_oemedical_doctor" model="res.groups"> |
807 | - <field name="name">OEMedical Doctor</field> |
808 | - <field name="category_id" ref="base.module_category_accounting_and_finance"/> |
809 | - <field name="users" eval="[(4, ref('base.user_root'))]"/> |
810 | - <field name="implied_ids" eval="[(4, ref('group_oemedical_user')),(4, ref('base.group_user'))]"/> |
811 | - </record> |
812 | - |
813 | - <record id="group_oemedical_assistant" model="res.groups"> |
814 | - <field name="name">OEMedical Assistant</field> |
815 | - <field name="category_id" ref="base.module_category_accounting_and_finance"/> |
816 | - <field name="users" eval="[(4, ref('base.user_root'))]"/> |
817 | - <field name="implied_ids" eval="[(4, ref('group_oemedical_user')),(4, ref('base.group_user'))]"/> |
818 | - </record> |
819 | - |
820 | - <record id="group_oemedical_center_manager" model="res.groups"> |
821 | - <field name="name">OEMedical Center Manager</field> |
822 | - <field name="category_id" ref="base.module_category_accounting_and_finance"/> |
823 | - <field name="implied_ids" eval="[(4, ref('group_oemedical_user')),(4, ref('group_oemedical_doctor'))]"/> |
824 | - </record> |
825 | - |
826 | - <record id="group_oemedical_manager" model="res.groups"> |
827 | - <field name="name">OEMedical Manager</field> |
828 | - <field name="category_id" ref="base.module_category_accounting_and_finance"/> |
829 | - <field name="implied_ids" eval="[(4, ref('group_oemedical_center_manager'))]"/> |
830 | - </record> |
831 | - |
832 | -</data> |
833 | - |
834 | -<data noupdate="0"> |
835 | - <record id="oemedical_appointment_access_rule_physician" model="ir.rule"> |
836 | - <field name="name">Appointment Entry</field> |
837 | - <field name="model_id" ref="model_oemedical_appointment"/> |
838 | - <field name="global" eval="True"/> |
839 | - <field name="groups" eval="[(4, ref('group_oemedical_doctor'))]"/> |
840 | - <field name="domain_force">[('doctor.user_id', '=', user.id)]</field> |
841 | - </record> |
842 | - |
843 | - <record id="oemedical_appointment_access_rule_assistant" model="ir.rule"> |
844 | - <field name="name">Appointment Entry</field> |
845 | - <field name="model_id" ref="model_oemedical_appointment"/> |
846 | - <field name="global" eval="True"/> |
847 | - <field name="groups" eval="[(4, ref('group_oemedical_assistant'))]"/> |
848 | - <field name="domain_force">[('institution','=',user.parent_id.id)]</field> |
849 | - </record> |
850 | -</data> |
851 | +</data> |
852 | + |
853 | + |
854 | </openerp> |
855 | |
856 | === added file 'oemedical_socioeconomics/views/oemedical_menu.xml' |
857 | --- oemedical_socioeconomics/views/oemedical_menu.xml 1970-01-01 00:00:00 +0000 |
858 | +++ oemedical_socioeconomics/views/oemedical_menu.xml 2014-04-02 14:40:29 +0000 |
859 | @@ -0,0 +1,9 @@ |
860 | +<?xml version="1.0" encoding="UTF-8"?> |
861 | +<openerp> |
862 | + <data> |
863 | + <menuitem id="oemedical_root" name="OeMedical" sequence="10" /> |
864 | + |
865 | + |
866 | + |
867 | + </data> |
868 | +</openerp> |
869 | |
870 | === added file 'oemedical_socioeconomics/views/oemedical_socioeconomics_view.xml' |
871 | --- oemedical_socioeconomics/views/oemedical_socioeconomics_view.xml 1970-01-01 00:00:00 +0000 |
872 | +++ oemedical_socioeconomics/views/oemedical_socioeconomics_view.xml 2014-04-02 14:40:29 +0000 |
873 | @@ -0,0 +1,79 @@ |
874 | +<?xml version="1.0" encoding="UTF-8"?> |
875 | +<openerp> |
876 | + <data> |
877 | + |
878 | + <record model="ir.ui.view" id="view_oemedical_patient_form_socio_economics"> |
879 | + <field name="name">oemedical.patient.view.inherit.socio_economics</field> |
880 | + <field name="model">oemedical.patient</field> |
881 | + <field name="inherit_id" ref="oemedical.view_oemedical_patient_form" /> |
882 | + <field name="type">form</field> |
883 | + <field name="arch" type="xml"> |
884 | + <data> |
885 | + <xpath expr="//notebook/page[@string='General Information']" position="after"> |
886 | + <page string="Socioeconomics" id="page_socioeconomics"> |
887 | + <notebook> |
888 | + <page string="Main" id="page_ses_main"> |
889 | + <group colspan="4" col="4" id="group_ses_holder2"> |
890 | + <field name="ses"/> |
891 | + <field name="housing"/> |
892 | + <field name="education"/> |
893 | + </group> |
894 | + <newline/> |
895 | + <group col="6" id="group_socioecomics_work"> |
896 | + <newline/> |
897 | + <field name="works_at_home"/> |
898 | + <field name="hours_outside"/> |
899 | + <field name="hostile_area"/> |
900 | + </group> |
901 | + <newline/> |
902 | + <newline/> |
903 | + <group string="Notes" id="group_ses_notes"> |
904 | + <field colspan="4" name="ses_notes"/> |
905 | + </group> |
906 | + </page> |
907 | + <page string="Infrastructure" id="page_infrastructure"> |
908 | + |
909 | + <group colspan="4" col="8" id="group_ses_infraestructure"> |
910 | + <field name="sewers"/> |
911 | + <field name="water"/> |
912 | + <field name="trash"/> |
913 | + <field name="electricity"/> |
914 | + <field name="gas"/> |
915 | + <field name="telephone"/> |
916 | + <field name="television"/> |
917 | + <field name="internet"/> |
918 | + |
919 | + </group> |
920 | + </page> |
921 | + <page string="Family" id="page_family"> |
922 | + <group colspan="4" col="6" string="Family APGAR" id="group_ses_family_apgar"> |
923 | + <field name="fam_apgar_help" /> |
924 | + <field name="fam_apgar_discussion"/> |
925 | + <field name="fam_apgar_decisions"/> |
926 | + <field name="fam_apgar_timesharing"/> |
927 | + <field name="fam_apgar_affection"/> |
928 | + <field name="fam_apgar_score"/> |
929 | + </group> |
930 | + <newline/> |
931 | + <group colspan="4" col="8" string="Other Family Issues" id="group_ses_other_family_issues"> |
932 | + <field name="single_parent"/> |
933 | + <field name="domestic_violence"/> |
934 | + <field name="working_children"/> |
935 | + <field name="teenage_pregnancy"/> |
936 | + <field name="sexual_abuse"/> |
937 | + <field name="drug_addiction"/> |
938 | + <field name="school_withdrawal"/> |
939 | + <field name="prison_past"/> |
940 | + <field name="prison_current"/> |
941 | + <field name="relative_in_prison"/> |
942 | + </group> |
943 | + </page> |
944 | + </notebook> |
945 | + </page> |
946 | + </xpath> |
947 | + </data> |
948 | + </field> |
949 | + </record> |
950 | + |
951 | + </data> |
952 | +</openerp> |
Description was completely removed is that on purpose ?