Merge lp:~anna-g/micronaet/anna2014 into lp:micronaet

Proposed by Anna Micronaet
Status: Rejected
Rejected by: Nicola Riolini - Micronaet
Proposed branch: lp:~anna-g/micronaet/anna2014
Merge into: lp:micronaet
Diff against target: 76 lines (+66/-0) (has conflicts)
1 file modified
dentist/dentist.py (+66/-0)
Text conflict in dentist/dentist.py
To merge this branch: bzr merge lp:~anna-g/micronaet/anna2014
Reviewer Review Type Date Requested Status
Nicola Riolini - Micronaet Pending
Review via email: mp+239534@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

1281. By Anna Micronaet

Ultime modifiche

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'dentist/dentist.py'
2--- dentist/dentist.py 2014-10-22 07:43:48 +0000
3+++ dentist/dentist.py 2014-10-24 07:13:46 +0000
4@@ -684,6 +684,72 @@
5 _inherit = "res.partner"
6
7 _columns = {
8+<<<<<<< TREE
9+=======
10+ # override:
11+ 'name': fields.char('Name', size=128, required=False, select=True),
12+
13+ # added fields:
14+ 'date_creation' : fields.date('Partner since',help="Date of creations partner record"),
15+ 'alias' : fields.char('Alias', size=64),
16+ 'last_name' : fields.char('Last name', size=64),
17+ 'first_name' : fields.char('First name', size=64),
18+ 'fiscal_id_code' : fields.char('Fiscal code', size=16),
19+ 'profession' : fields.char('Professione', size=64),
20+
21+ #'is_person' : fields.boolean('Person', help="Check if the partner is a person."),
22+ #'is_patient' : fields.boolean('Patient', help="Check if the partner is a patient"),
23+ #'is_doctor' : fields.boolean('Doctor', help="Check if the partner is a doctor"),
24+ #'is_assistant' : fields.boolean('Assistant', help="Check if the partner is an assistant"),
25+ #'is_institution' : fields.boolean ('Institution', help="Check if the partner is a Medical Center"),
26+
27+ #'lastname' : fields.char('Last Name', size=128, help="Last Name"),
28+
29+ # Patient data:
30+ 'photo' : fields.binary ('Picture'),
31+ 'dob' : fields.date ('Date of Birth'),
32+ 'lob' : fields.char('Place of birth', size=80),
33+ 'pob' : fields.char('Province of birth', size=4),
34+ #'age' : fields.function(_patient_age, method=True, type='char', size=32, string='Patient Age',help="It shows the age of the patient in years(y), months(m) and days(d).\nIf the patient has died, the age shown is the age at time of death, the age corresponding to the date on the death certificate. It will show also \"deceased\" on the field"),
35+ 'deceased' : fields.boolean ('Deceased',help="Mark if the patient has died"),
36+
37+ 'sex' : fields.selection([
38+ ('m','Male'),
39+ ('f','Female'),
40+ ], 'Sex', select=True),
41+ 'marital_status' : fields.selection([
42+ ('s','Single'),
43+ ('m','Married'),
44+ ('w','Widowed'),
45+ ('d','Divorced'),
46+ ('x','Separated'),
47+ ], 'Marital Status'),
48+ 'blood_type' : fields.selection([
49+ ('A','A'),
50+ ('B','B'),
51+ ('AB','AB'),
52+ ('O','O'),
53+ ], 'Blood Type'),
54+ 'rh' : fields.selection([
55+ ('+','+'),
56+ ('-','-'),
57+ ], 'Rh'),
58+
59+ #'user_id':fields.related('name','user_id',type='many2one',relation='res.partner',string='Doctor',help="Physician that logs in the local Medical system (HIS), on the health center. It doesn't necesarily has do be the same as the Primary Care doctor"),
60+ #'ethnic_group' : fields.many2one ('medical.ethnicity','Ethnic group'),
61+ #'vaccinations': fields.one2many ('medical.vaccination','name',"Vaccinations"),
62+ #'medications' : fields.one2many('medical.patient.medication','name','Medications'),
63+ #'prescriptions': fields.one2many ('medical.prescription.order','name',"Prescriptions"),
64+ #'diseases' : fields.one2many ('medical.patient.disease', 'name', 'Diseases'),
65+
66+ #'critical_info' : fields.text ('Important disease, allergy or procedures information',help="Write any important information on the patient's disease, surgeries, allergies, ..."),
67+ #'evaluation_ids' : fields.one2many ('medical.patient.evaluation','name','Evaluation'),
68+ #'admissions_ids' : fields.one2many ('medical.patient.admission','name','Admission / Discharge'),
69+
70+ 'general_info' : fields.text ('General Information', help="General information about the patient"),
71+ 'send_from' : fields.char('Send from', size=64),
72+ #'cod' : fields.many2one ('medical.pathology', 'Cause of Death'),
73+>>>>>>> MERGE-SOURCE
74 'annotations_ids':fields.one2many('dentist.annotation', 'partner_id',
75 'Annotations', required=False),
76 'operation_ids':fields.one2many('dentist.operation', 'partner_id',

Subscribers

People subscribed via source and target branches