Merge lp:~julie-w/unifield-server/US-3771 into lp:unifield-server

Proposed by jftempo
Status: Merged
Merged at revision: 4907
Proposed branch: lp:~julie-w/unifield-server/US-3771
Merge into: lp:unifield-server
Diff against target: 87 lines (+26/-1) (has conflicts)
5 files modified
bin/addons/hr/hr.py (+3/-1)
bin/addons/msf_homere_interface/hr_view.xml (+2/-0)
bin/addons/msf_homere_interface/wizard/hr_payroll_employee_import.py (+3/-0)
bin/addons/msf_profile/i18n/fr_MF.po (+13/-0)
bin/addons/msf_sync_data_server/data/sync_server.sync_rule.csv (+5/-0)
Text conflict in bin/addons/msf_profile/i18n/fr_MF.po
Text conflict in bin/addons/msf_sync_data_server/data/sync_server.sync_rule.csv
To merge this branch: bzr merge lp:~julie-w/unifield-server/US-3771
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+343873@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/addons/hr/hr.py'
2--- bin/addons/hr/hr.py 2018-03-01 16:08:21 +0000
3+++ bin/addons/hr/hr.py 2018-04-24 07:17:19 +0000
4@@ -161,7 +161,9 @@
5 'coach_id': fields.many2one('hr.employee', 'Coach'),
6 'job_id': fields.many2one('hr.job', 'Job', select=True),
7 'photo': fields.binary('Photo'),
8- 'passport_id':fields.char('Passport No', size=64)
9+ 'passport_id': fields.char('Passport No', size=64),
10+ 'contract_start_date': fields.date('Contract Start Date'),
11+ 'contract_end_date': fields.date('Contract End Date'),
12 }
13
14 def onchange_address_id(self, cr, uid, ids, address, context=None):
15
16=== modified file 'bin/addons/msf_homere_interface/hr_view.xml'
17--- bin/addons/msf_homere_interface/hr_view.xml 2018-04-10 09:53:54 +0000
18+++ bin/addons/msf_homere_interface/hr_view.xml 2018-04-24 07:17:19 +0000
19@@ -63,6 +63,8 @@
20 <separator string="Position" colspan="2"/>
21 <field name="job_id" domain="[('state','!=','old')]" attrs="{'readonly': [('employee_type', '=', 'local'), ('allow_edition', '=', False)]}"/>
22 <field name="coach_id" attrs="{'readonly': [('employee_type', '=', 'local'), ('allow_edition', '=', False)]}"/>
23+ <field name="contract_start_date" attrs="{'readonly': ['|', ('employee_type', '=', 'ex'), ('allow_edition', '=', False)]}"/>
24+ <field name="contract_end_date" attrs="{'readonly': ['|', ('employee_type', '=', 'ex'), ('allow_edition', '=', False)]}"/>
25 </group>
26 </page>
27 <page string="Categories">
28
29=== modified file 'bin/addons/msf_homere_interface/wizard/hr_payroll_employee_import.py'
30--- bin/addons/msf_homere_interface/wizard/hr_payroll_employee_import.py 2018-03-01 16:08:21 +0000
31+++ bin/addons/msf_homere_interface/wizard/hr_payroll_employee_import.py 2018-04-24 07:17:19 +0000
32@@ -414,6 +414,9 @@
33 # Check job
34 if contract.job_id:
35 vals.update({'job_id': contract.job_id.id})
36+ # Check the contract dates
37+ vals.update({'contract_start_date': contract.date_start or False})
38+ vals.update({'contract_end_date': contract.date_end or False})
39 # Desactivate employee if no current contract
40 if not current_contract:
41 vals.update({'active': False})
42
43=== modified file 'bin/addons/msf_profile/i18n/fr_MF.po'
44--- bin/addons/msf_profile/i18n/fr_MF.po 2018-04-20 07:09:56 +0000
45+++ bin/addons/msf_profile/i18n/fr_MF.po 2018-04-24 07:17:19 +0000
46@@ -107561,6 +107561,7 @@
47 #, python-format
48 msgid "You have to load the template first."
49 msgstr "Vous devez d'abord charger le modèle."
50+<<<<<<< TREE
51
52 #. module: account_corrections
53 #: code:addons/account_corrections/account_move_line.py:929
54@@ -107642,3 +107643,15 @@
55 #: report:addons/account_mcdb/report/combined_journals_report.mako:181
56 msgid "SELECTION"
57 msgstr "SÉLECTION"
58+=======
59+
60+#. module: hr
61+#: field:hr.employee,contract_start_date:0
62+msgid "Contract Start Date"
63+msgstr "Date de Début de Contrat"
64+
65+#. module: hr
66+#: field:hr.employee,contract_end_date:0
67+msgid "Contract End Date"
68+msgstr "Date de Fin de Contrat"
69+>>>>>>> MERGE-SOURCE
70
71=== modified file 'bin/addons/msf_sync_data_server/data/sync_server.sync_rule.csv'
72--- bin/addons/msf_sync_data_server/data/sync_server.sync_rule.csv 2018-04-20 07:03:08 +0000
73+++ bin/addons/msf_sync_data_server/data/sync_server.sync_rule.csv 2018-04-24 07:17:19 +0000
74@@ -66,8 +66,13 @@
75 msf_sync_data_server.expatriate_employees,TRUE,TRUE,FALSE,TRUE,bidirectional,Down,"[('employee_type','=','ex'),('name','!=','Administrator')]","['active', 'birthday', 'code', 'cost_center_id/id', 'country_id/id', 'destination_id/id','employee_type', 'filter_for_third_party', 'free1_id/id', 'free2_id/id', 'funding_pool_id/id', 'gender', 'homere_codeterrain', 'homere_id_staff', 'homere_id_unique', 'identification_id', 'job_id/id', 'marital/id', 'mobile_phone', 'name', 'name_resource', 'notes', 'passport_id', 'private_phone', 'resource_type', 'sinid', 'ssnid', 'work_email', 'work_location', 'work_phone']",HQ + MISSION,hr.employee,,Expatriate Employees,Valid,,331
76 msf_sync_data_server.expatriate_employees_tree,TRUE,TRUE,FALSE,TRUE,bidirectional,Bidirectional,"[('parent_id', '!=', '')]",['parent_id/id'],HQ + MISSION,hr.employee,,Expatriate Employees Tree,Valid,,332
77 msf_sync_data_server.expatriate_employees_coach,FALSE,TRUE,FALSE,FALSE,bidirectional,Bidirectional,"[('coach_id', '!=', '')]",['coach_id/id'],HQ + MISSION,hr.employee,,Expatriate Employees Coach,Valid,,334
78+<<<<<<< TREE
79 msf_sync_data_server.local_employees,TRUE,TRUE,FALSE,TRUE,bidirectional,Bidirectional,"[('employee_type','=','local'),('name','!=','Administrator')]","['birthday', 'code', 'cost_center_id/id', 'destination_id/id', 'employee_type', 'filter_for_third_party', 'free1_id/id', 'free2_id/id', 'funding_pool_id/id', 'gender', 'homere_codeterrain', 'homere_id_staff', 'homere_id_unique', 'identification_id', 'job_id/id', 'marital/id', 'mobile_phone', 'name', 'name_resource', 'notes', 'passport_id', 'private_phone', 'resource_type', 'sinid', 'ssnid', 'work_email', 'work_location', 'work_phone']",HQ + MISSION,hr.employee,,Local Employees,Valid,"{'active': False}",335
80 msf_sync_data_server.register,TRUE,TRUE,FALSE,FALSE,bidirectional,Bidirectional-Private,"[('state','!=','draft'),('instance_id' , 'in' , ('msf.instance' , 'id' , [('level' , '=' , 'project')]))]","['balance_end_real', 'balance_start', 'closing_date', 'comments', 'date', 'instance_id/id', 'journal_id/id', 'name', 'notes', 'open_advance_amount', 'period_id/id','closing_balance_frozen','closing_balance_frozen_date','unrecorded_expenses_amount', 'register_closed_by']",MISSION,account.bank.statement,instance_id,Register,Valid,,400
81+=======
82+msf_sync_data_server.local_employees,TRUE,TRUE,FALSE,TRUE,bidirectional,Bidirectional,"[('employee_type','=','local'),('name','!=','Administrator')]","['birthday', 'code', 'cost_center_id/id', 'destination_id/id', 'employee_type', 'filter_for_third_party', 'free1_id/id', 'free2_id/id', 'funding_pool_id/id', 'gender', 'homere_codeterrain', 'homere_id_staff', 'homere_id_unique', 'identification_id', 'job_id/id', 'marital/id', 'mobile_phone', 'name', 'name_resource', 'notes', 'passport_id', 'private_phone', 'resource_type', 'sinid', 'ssnid', 'work_email', 'work_location', 'work_phone', 'contract_start_date', 'contract_end_date']",HQ + MISSION,hr.employee,,Local Employees,Valid,"{'active': False}",335
83+msf_sync_data_server.register,TRUE,TRUE,FALSE,FALSE,bidirectional,Bidirectional-Private,"[('state','!=','draft'),('instance_id' , 'in' , ('msf.instance' , 'id' , [('level' , '=' , 'project')]))]","['balance_end_real', 'balance_start', 'closing_date', 'comments', 'date', 'instance_id/id', 'journal_id/id', 'name', 'notes', 'open_advance_amount', 'period_id/id','closing_balance_frozen','closing_balance_frozen_date','unrecorded_expenses_amount']",MISSION,account.bank.statement,instance_id,Register,Valid,,400
84+>>>>>>> MERGE-SOURCE
85 msf_sync_data_server.register_line,TRUE,TRUE,TRUE,FALSE,bidirectional,Bidirectional-Private,"[('instance_id' , 'in' , ('msf.instance' , 'id' , [('level' , '=' , 'project')])),('statement_id','in',('account.bank.statement','id',[('state','!=','draft')])),'!',('state','=','draft')]","['account_id/id', 'amount_in', 'amount_out', 'analytic_distribution_id/id', 'cheque_number', 'date', 'direct_invoice', 'direct_state', 'document_date', 'employee_id/id', 'instance_id/id', 'name', 'note', 'partner_id/id', 'reconciled', 'ref', 'sequence', 'statement_id/id', 'transfer_amount','transfer_journal_id/id', 'type', 'from_cash_return']",MISSION,account.bank.statement.line,instance_id,Register Line,Valid,,401
86 msf_sync_data_server.register_cashbox_line_starting,TRUE,TRUE,TRUE,FALSE,bidirectional,Bidirectional-Private,"[('instance_id' , 'in' , ('msf.instance' , 'id' , [('level' , '=' , 'project')])),('starting_id','in',('account.bank.statement','id',[('state','!=','draft')])),('starting_id', '!=', ''),('ending_id', '=', '')]","['instance_id/id', 'number', 'pieces', 'starting_id/id']",MISSION,account.cashbox.line,instance_id,Register Cashbox Line (starting),Valid,,402
87 msf_sync_data_server.register_status,TRUE,TRUE,FALSE,FALSE,bidirectional,Bidirectional-Private,"[('state','!=','draft'),('instance_id' , 'in' , ('msf.instance' , 'id' , [('level' , '=' , 'project')]))]","['instance_id/id', 'state']",MISSION,account.bank.statement,instance_id,Register Status,Valid,,403

Subscribers

People subscribed via source and target branches