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

Proposed by jftempo on 2020-06-18
Status: Needs review
Proposed branch: lp:~julie-w/unifield-server/US-7194
Merge into: lp:unifield-server
Diff against target: 42 lines (+5/-5)
3 files modified
bin/addons/account/project/project.py (+1/-0)
bin/addons/account/project/project_view.xml (+0/-1)
bin/addons/msf_sync_data_server/data/sync_server.sync_rule.csv (+4/-4)
To merge this branch: bzr merge lp:~julie-w/unifield-server/US-7194
Reviewer Review Type Date Requested Status
UniField Reviewer Team 2020-06-18 Pending
Review via email: mp+385993@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/account/project/project.py'
2--- bin/addons/account/project/project.py 2019-12-16 11:00:41 +0000
3+++ bin/addons/account/project/project.py 2020-06-18 09:49:38 +0000
4@@ -28,6 +28,7 @@
5 _columns = {
6 'name': fields.char('Journal Name', size=64, required=True),
7 'code': fields.char('Journal Code', size=8),
8+ # the Active tag should not be used anymore from US-7194
9 'active': fields.boolean('Active', help="If the active field is set to False, it will allow you to hide the analytic journal without removing it."),
10 'type': fields.selection([('sale','Sale'), ('purchase','Purchase'), ('cash','Cash'), ('general','General'), ('situation','Situation')], 'Type', size=32, required=True, help="Gives the type of the analytic journal. When it needs for a document (eg: an invoice) to create analytic entries, OpenERP will look for a matching journal of the same type."),
11 'line_ids': fields.one2many('account.analytic.line', 'journal_id', 'Lines'),
12
13=== modified file 'bin/addons/account/project/project_view.xml'
14--- bin/addons/account/project/project_view.xml 2020-01-30 10:18:45 +0000
15+++ bin/addons/account/project/project_view.xml 2020-06-18 09:49:38 +0000
16@@ -330,7 +330,6 @@
17 <field name="name" select="1" default_focus="1"/>
18 <field name="code" select="1" attrs="{'readonly': [('has_ajis', '=', True)]}"/>
19 <field name="type" select="2" attrs="{'readonly': [('has_ajis', '=', True)]}"/>
20- <field name="active" select="2"/>
21 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
22 </form>
23 </field>
24
25=== modified file 'bin/addons/msf_sync_data_server/data/sync_server.sync_rule.csv'
26--- bin/addons/msf_sync_data_server/data/sync_server.sync_rule.csv 2020-05-25 09:59:55 +0000
27+++ bin/addons/msf_sync_data_server/data/sync_server.sync_rule.csv 2020-06-18 09:49:38 +0000
28@@ -21,10 +21,10 @@
29 msf_sync_data_server.gl_account_type,TRUE,TRUE,TRUE,TRUE,bidirectional,Down,[],"['close_method', 'code', 'name', 'note', 'not_correctible', 'report_type']",OC,account.account.type,,GL Account Type,Valid,,116
30 msf_sync_data_server.gl_accounts,TRUE,TRUE,FALSE,TRUE,bidirectional,Down,[],"['accrual_account','code', 'default_destination_id/id', 'display_in_reports', 'inactivation_date', 'activation_date', 'is_not_hq_correctible', 'name', 'note', 'reconcile', 'shrink_entries_for_hq', 'type', 'type_for_register', 'user_type/id', 'currency_revaluation', 'include_in_yearly_move', 'has_partner_type_internal', 'has_partner_type_section', 'has_partner_type_external', 'has_partner_type_esc', 'has_partner_type_intermission', 'has_partner_type_local', 'has_partner_type_ex', 'has_partner_type_book', 'has_partner_type_empty', 'is_not_ad_correctable', 'prevent_multi_curr_rec']",OC,account.account,,GL Accounts,Valid,,117
31 msf_sync_data_server.gl_accounts_tree,TRUE,TRUE,TRUE,TRUE,bidirectional,Down,"[('parent_id', '!=', '')]",['parent_id/id'],OC,account.account,,GL Accounts Tree,Valid,,118
32-msf_sync_data_server.analytical_journal_hq,TRUE,TRUE,FALSE,TRUE,bidirectional,Down,"[('instance_id.level', '=', 'section')]","['active', 'code', 'name', 'type','instance_id/id']",OC,account.analytic.journal,,Analytical Journal (HQ),Valid,,119
33-msf_sync_data_server.analytical_journal_coordo,TRUE,TRUE,FALSE,TRUE,bidirectional,Down,"[('instance_id.level', '=', 'coordo'),('code','!=','ENGI')]","['active', 'code', 'name', 'type','instance_id/id']",MISSION,account.analytic.journal,,Analytical Journal (Coordo),Valid,,120
34-msf_sync_data_server.analytical_journal_project,TRUE,TRUE,FALSE,TRUE,bidirectional,Bidirectional,"[('instance_id.level', '=', 'project'),('code','!=','ENGI')]","['active', 'code', 'name', 'type','instance_id/id']",MISSION,account.analytic.journal,,Analytical Journal (Project),Valid,,121
35-msf_sync_data_server.analytical_journal,TRUE,TRUE,FALSE,TRUE,bidirectional,Bidirectional-Private,[],"['active', 'code', 'name', 'type','instance_id/id']",OC,account.analytic.journal,instance_id,Analytical Journal,Valid,,122
36+msf_sync_data_server.analytical_journal_hq,TRUE,TRUE,FALSE,TRUE,bidirectional,Down,"[('instance_id.level', '=', 'section')]","['code', 'name', 'type','instance_id/id']",OC,account.analytic.journal,,Analytical Journal (HQ),Valid,,119
37+msf_sync_data_server.analytical_journal_coordo,TRUE,TRUE,FALSE,TRUE,bidirectional,Down,"[('instance_id.level', '=', 'coordo'),('code','!=','ENGI')]","['code', 'name', 'type','instance_id/id']",MISSION,account.analytic.journal,,Analytical Journal (Coordo),Valid,,120
38+msf_sync_data_server.analytical_journal_project,TRUE,TRUE,FALSE,TRUE,bidirectional,Bidirectional,"[('instance_id.level', '=', 'project'),('code','!=','ENGI')]","['code', 'name', 'type','instance_id/id']",MISSION,account.analytic.journal,,Analytical Journal (Project),Valid,,121
39+msf_sync_data_server.analytical_journal,TRUE,TRUE,FALSE,TRUE,bidirectional,Bidirectional-Private,[],"['code', 'name', 'type','instance_id/id']",OC,account.analytic.journal,instance_id,Analytical Journal,Valid,,122
40 msf_sync_data_server.link_accounts_destination,TRUE,TRUE,TRUE,TRUE,bidirectional,Down,[],"['account_id/id', 'destination_id/id', 'disabled']",OC,account.destination.link,,Link accounts Destination,Valid,,123
41 msf_sync_data_server.funding_pool_to_coordo,TRUE,TRUE,FALSE,TRUE,bidirectional,Bidirectional-Private,"[('category' , '=' , 'FUNDING')]","['category', 'code', 'cost_center_ids/id', 'date', 'date_start', 'description', 'instance_id/id', 'name', 'tuple_destination_account_ids/id', 'type']",HQ + MISSION,account.analytic.account,instance_id,Funding Pool linked to a special coordo,Valid,,124
42 msf_sync_data_server.fp_tree0,TRUE,TRUE,FALSE,TRUE,bidirectional,Down,"[('category', 'in', ['FREE1', 'FREE2', 'DEST']),('parent_id', '!=', '')]","['parent_id/id', 'instance_id/id']",OC,account.analytic.account,instance_id,"DestF1F2 tree (only F1, F2 and Dest)",Valid,,126

Subscribers

People subscribed via source and target branches