Merge lp:~jfb-tempo-consulting/unifield-server/US-1019-us15 into lp:unifield-server

Proposed by jftempo
Status: Merged
Merged at revision: 5552
Proposed branch: lp:~jfb-tempo-consulting/unifield-server/US-1019-us15
Merge into: lp:unifield-server
Diff against target: 1898 lines (+326/-400) (has conflicts)
48 files modified
bin/addons/account/account_view.xml (+32/-16)
bin/addons/account/report/account_entries_report_view.xml (+1/-1)
bin/addons/account_mcdb/account_view.xml (+2/-1)
bin/addons/account_override/account.py (+1/-0)
bin/addons/account_override/account_view.xml (+0/-17)
bin/addons/account_period_closing_level/account_period_closing_level_view.xml (+18/-12)
bin/addons/analytic_override/analytic_account.py (+1/-0)
bin/addons/base/ir/ir.xml (+3/-2)
bin/addons/base/res/partner/partner_view.xml (+3/-3)
bin/addons/base/res/res_currency_view.xml (+13/-23)
bin/addons/base/res/res_request_view.xml (+9/-6)
bin/addons/consumption_calculation/consumption_view.xml (+2/-0)
bin/addons/finance/account_view.xml (+0/-35)
bin/addons/hr/hr_view.xml (+12/-7)
bin/addons/kit/kit_view.xml (+4/-5)
bin/addons/msf_budget/msf_budget_view.xml (+1/-0)
bin/addons/msf_currency_revaluation/res_currency_view.xml (+1/-1)
bin/addons/msf_doc_import/data/msf_doc_import_data.xml (+0/-28)
bin/addons/msf_doc_import/purchase_order.py (+0/-5)
bin/addons/msf_homere_interface/hr_payroll_view.xml (+3/-3)
bin/addons/msf_homere_interface/hr_view.xml (+0/-34)
bin/addons/msf_outgoing/msf_outgoing_view.xml (+7/-0)
bin/addons/msf_partner/partner.py (+2/-37)
bin/addons/msf_partner/partner_view.xml (+3/-1)
bin/addons/msf_profile/data.xml (+0/-3)
bin/addons/msf_profile/i18n/fr_MF.po (+53/-14)
bin/addons/msf_profile/msf_profile.py (+1/-1)
bin/addons/msf_profile/user_access_configurator_view.xml (+4/-2)
bin/addons/out_step/out_step_view.xml (+2/-3)
bin/addons/procurement/procurement_view.xml (+2/-2)
bin/addons/procurement_request/procurement_request_view.xml (+4/-2)
bin/addons/product/product_view.xml (+3/-0)
bin/addons/product_attributes/product_attributes.py (+15/-5)
bin/addons/product_attributes/product_attributes_view.xml (+15/-1)
bin/addons/product_list/product_list_view.xml (+1/-0)
bin/addons/product_nomenclature/product_nomenclature_view.xml (+0/-13)
bin/addons/purchase/purchase_view.xml (+2/-4)
bin/addons/purchase/report/purchase_report_view.xml (+4/-4)
bin/addons/reason_types_moves/stock_view.xml (+78/-76)
bin/addons/res_currency_functional/res_currency_functional_view.xml (+2/-1)
bin/addons/return_claim/return_claim_view.xml (+0/-2)
bin/addons/sale/report/sale_report_view.xml (+3/-3)
bin/addons/sale/sale_view.xml (+5/-4)
bin/addons/stock/stock_view.xml (+6/-4)
bin/addons/stock_override/stock_view.xml (+1/-1)
bin/addons/supplier_catalogue/supplier_catalogue_view.xml (+2/-1)
bin/addons/tender_flow/report/purchase_report_view.xml (+3/-3)
bin/addons/useability_dashboard_and_menu/menu/partner_menu.xml (+2/-14)
Text conflict in bin/addons/msf_profile/i18n/fr_MF.po
Text conflict in bin/addons/product_attributes/product_attributes.py
Text conflict in bin/addons/product_attributes/product_attributes_view.xml
To merge this branch: bzr merge lp:~jfb-tempo-consulting/unifield-server/US-1019-us15
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+374915@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
=== modified file 'bin/addons/account/account_view.xml'
--- bin/addons/account/account_view.xml 2019-01-31 14:39:54 +0000
+++ bin/addons/account/account_view.xml 2019-10-30 13:23:31 +0000
@@ -135,7 +135,8 @@
135 <field name="arch" type="xml">135 <field name="arch" type="xml">
136 <search string="Search Period">136 <search string="Search Period">
137 <group>137 <group>
138 <filter string="To Close" name="draft" domain="[('state','=','draft')]" icon="terp-dialog-close"/>138 <filter string="To Close" name="draft" domain="[('state','in',['created', 'draft'])]" icon="terp-camera_test"/>
139 <filter string="Closed" name="close" domain="[('state','not in',['created', 'draft'])]" icon="terp-dialog-close"/>
139 <separator orientation="vertical"/>140 <separator orientation="vertical"/>
140 <field name="name"/>141 <field name="name"/>
141 <field name="code"/>142 <field name="code"/>
@@ -205,21 +206,33 @@
205 <field name="type">search</field>206 <field name="type">search</field>
206 <field name="arch" type="xml">207 <field name="arch" type="xml">
207 <search string="Accounts">208 <search string="Accounts">
208 <group col="10" colspan="4">209 <group col="12" colspan="4">
209 <filter icon="terp-sale" string="Receivable Accounts" domain="[('type','=','receivable')]"/>210 <filter name="active" string="Active" domain="[('filter_active', '=', True)]" icon="terp-check" />
210 <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>211 <filter name="inactive" string="Inactive" domain="[('filter_active', '=', False)]" icon="gtk-dialog-error"/>
211 <separator orientation="vertical"/>212 <separator orientation="vertical"/>
212 <field name="code"/>213 <filter name="receivable" string="Receivable" domain="[('type','=','receivable')]" icon="terp-sale"/>
213 <field name="name"/>214 <filter name="payable" string="Payable" domain="[('type','=','payable')]" icon="terp-purchase"/>
215 <filter name="accrual_account" string="Accrual" domain="[('accrual_account','=',True)]" />
216 <filter name="expense_account" string="Expense" domain="[('user_type.code','=', 'expense')]" icon="terp-stock_symbol-selection"/>
217 <filter name="income_account" string="Income" domain="[('user_type.code','=', 'income')]" icon="gtk-go-forward"/>
218 <separator orientation="vertical"/>
219 <newline/>
220
221 <group col="6" colspan="4">
222 <field name="code"/>
223 <field name="name"/>
224 <field name="is_not_hq_correctible"/>
225 </group>
226 <newline/>
227
214 <field name="user_type"/>228 <field name="user_type"/>
215 <field name="type"/>229 <field name="type"/>
230 <field name="type_for_register"/>
231
216 </group>232 </group>
217 <newline/>233 <newline/>
218 <group expand="0" string="Group By...">234 <group expand="0" string="Group By...">
219 <filter string="Parent Account" icon="terp-folder-orange" domain="" context="{'group_by':'parent_id'}"/>235 <filter string="Internal Type" icon="terp-stock_symbol-selection" context="{'group_by':'type'}"/>
220 <separator orientation="vertical"/>
221 <filter string="Account Type" icon="terp-stock_symbol-selection" domain="" context="{'group_by':'user_type'}"/>
222 <filter string="Internal Type" icon="terp-stock_symbol-selection" domain="" context="{'group_by':'type'}"/>
223 </group>236 </group>
224 </search>237 </search>
225 </field>238 </field>
@@ -1231,14 +1244,14 @@
1231 <filter1244 <filter
1232 icon="terp-dolar_ok!"1245 icon="terp-dolar_ok!"
1233 string="Unreconciled"1246 string="Unreconciled"
1234 domain="[('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help="Unreconciled Journal Items"1247 domain="['&amp;', ('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help="Unreconciled Journal Items"
1235 name="unreconciled"/>1248 name="unreconciled"/>
1236 <separator orientation="vertical"/>1249 <separator orientation="vertical"/>
1237 <field name="move_id" select="1" string="Number (Move)"/>1250 <field name="move_id" select="1" string="Number (Move)"/>
1238 <field name="date" select='1'/>1251 <field name="date" select='1'/>
1239 <field name="account_id" select='1'/>1252 <field name="account_id" select='1'/>
1240 <field name="partner_id" select='1'>1253 <field name="partner_id" select='1'>
1241 <filter help="Next Partner Entries to reconcile" name="next_partner" string="Next Partner to reconcile" context="{'next_partner_only': 1}" icon="terp-gtk-jump-to-ltr" domain="[('account_id.reconcile','=',True),('reconcile_id','=',False)]"/>1254 <filter help="Next Partner Entries to reconcile" name="next_partner" string="Next Partner to reconcile" context="{'next_partner_only': 1}" icon="terp-gtk-jump-to-ltr" domain="['&amp;', ('account_id.reconcile','=',True),('reconcile_id','=',False)]"/>
1242 </field>1255 </field>
1243 </group>1256 </group>
1244 <newline/>1257 <newline/>
@@ -1888,8 +1901,9 @@
1888 <field name="arch" type="xml">1901 <field name="arch" type="xml">
1889 <search string="Entry Subscription">1902 <search string="Entry Subscription">
1890 <group col="8" colspan="4">1903 <group col="8" colspan="4">
1891 <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Subscription"/>1904 <filter icon="terp-document-new" string="Draft" name="draft" domain="[('state','=','draft')]" help="Draft Subscription"/>
1892 <filter icon="terp-camera_test" string="Running" domain="[('state','=','running')]" help="Running Subscription"/>1905 <filter icon="terp-camera_test" string="Running" name="running" domain="[('state','=','running')]" help="Running Subscription"/>
1906 <filter icon="terp-dialog-close" string="Done" name="done" domain="[('state','=','done')]" />
1893 <separator orientation="vertical"/>1907 <separator orientation="vertical"/>
1894 <field name="name"/>1908 <field name="name"/>
1895 <field name="model_id"/>1909 <field name="model_id"/>
@@ -1950,6 +1964,7 @@
1950 <field name="view_type">form</field>1964 <field name="view_type">form</field>
1951 <field name="view_mode">tree,form</field>1965 <field name="view_mode">tree,form</field>
1952 <field name="search_view_id" ref="view_subscription_search"/>1966 <field name="search_view_id" ref="view_subscription_search"/>
1967 <field name="context">{'search_default_draft': 1, 'search_default_running': 1}</field>
1953 <field name="help">A recurring entry is a miscellaneous entry that occurs on a recurrent basis from a specific date, i.e. corresponding to the signature of a contract or an agreement with a customer or a supplier. With Define Recurring Entries, you can create such entries to automate the postings in the system.</field>1968 <field name="help">A recurring entry is a miscellaneous entry that occurs on a recurrent basis from a specific date, i.e. corresponding to the signature of a contract or an agreement with a customer or a supplier. With Define Recurring Entries, you can create such entries to automate the postings in the system.</field>
1954 </record>1969 </record>
1955 <menuitem1970 <menuitem
@@ -1963,7 +1978,8 @@
1963 <field name="res_model">account.subscription</field>1978 <field name="res_model">account.subscription</field>
1964 <field name="view_type">form</field>1979 <field name="view_type">form</field>
1965 <field name="view_mode">tree,form</field>1980 <field name="view_mode">tree,form</field>
1966 <field name="domain">[('state','=','running')]</field>1981 <field name="domain">[('state', '=', 'running')]</field>
1982 <field name="context">{}</field>
1967 <field name="filter" eval="True"/>1983 <field name="filter" eval="True"/>
1968 </record>1984 </record>
19691985
19701986
=== modified file 'bin/addons/account/report/account_entries_report_view.xml'
--- bin/addons/account/report/account_entries_report_view.xml 2017-05-10 12:47:14 +0000
+++ bin/addons/account/report/account_entries_report_view.xml 2019-10-30 13:23:31 +0000
@@ -82,7 +82,7 @@
82 <filter string="Unposted" icon="terp-document-new" domain="[('move_state','=','draft')]" help = "entries"/>82 <filter string="Unposted" icon="terp-document-new" domain="[('move_state','=','draft')]" help = "entries"/>
83 <filter string="Posted" icon="terp-camera_test" domain="[('move_state','=','posted')]" help = "Posted entries"/>83 <filter string="Posted" icon="terp-camera_test" domain="[('move_state','=','posted')]" help = "Posted entries"/>
84 <separator orientation="vertical"/>84 <separator orientation="vertical"/>
85 <filter string="Unreconciled" icon="terp-dolar_ok!" domain="[('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help = "Unreconciled entries"/>85 <filter string="Unreconciled" icon="terp-dolar_ok!" domain="['&amp;', ('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help = "Unreconciled entries"/>
86 <filter string="Reconciled" icon="terp-dolar" domain="[('reconcile_id','!=',False)]" help = "Reconciled entries"/>86 <filter string="Reconciled" icon="terp-dolar" domain="[('reconcile_id','!=',False)]" help = "Reconciled entries"/>
87 <separator orientation="vertical"/>87 <separator orientation="vertical"/>
88 <field name="account_id"/>88 <field name="account_id"/>
8989
=== modified file 'bin/addons/account_mcdb/account_view.xml'
--- bin/addons/account_mcdb/account_view.xml 2019-08-02 08:50:58 +0000
+++ bin/addons/account_mcdb/account_view.xml 2019-10-30 13:23:31 +0000
@@ -166,8 +166,9 @@
166 <filter166 <filter
167 icon="terp-dolar_ok!"167 icon="terp-dolar_ok!"
168 string="Unreconciled"168 string="Unreconciled"
169 domain="[('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help="Unreconciled Journal Items"169 domain="['&amp;', ('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help="Unreconciled Journal Items"
170 name="unreconciled"/>170 name="unreconciled"/>
171 <separator orientation="vertical"/>
171 <filter icon="terp-personal" string="Employee" domain="[('employee_id', '!=', False)]" context="{'identification': 1}" />172 <filter icon="terp-personal" string="Employee" domain="[('employee_id', '!=', False)]" context="{'identification': 1}" />
172 <field name="document_date"/>173 <field name="document_date"/>
173 <field name="date" select='1'/>174 <field name="date" select='1'/>
174175
=== modified file 'bin/addons/account_override/account.py'
--- bin/addons/account_override/account.py 2019-09-27 08:59:21 +0000
+++ bin/addons/account_override/account.py 2019-10-30 13:23:31 +0000
@@ -66,6 +66,7 @@
66 cmp_date = context.get('date')66 cmp_date = context.get('date')
67 for x in args:67 for x in args:
68 if x[0] == 'filter_active' and x[2] == True:68 if x[0] == 'filter_active' and x[2] == True:
69 arg.append('&')
69 arg.append(('activation_date', '<=', cmp_date))70 arg.append(('activation_date', '<=', cmp_date))
70 arg.append('|')71 arg.append('|')
71 arg.append(('inactivation_date', '>', cmp_date))72 arg.append(('inactivation_date', '>', cmp_date))
7273
=== modified file 'bin/addons/account_override/account_view.xml'
--- bin/addons/account_override/account_view.xml 2019-05-06 12:42:32 +0000
+++ bin/addons/account_override/account_view.xml 2019-10-30 13:23:31 +0000
@@ -121,23 +121,6 @@
121 </field>121 </field>
122 </record>122 </record>
123123
124 <record model="ir.ui.view" id="view_account_activable_search">
125 <field name="name">account.account_activable.search</field>
126 <field name="model">account.account</field>
127 <field name="type">search</field>
128 <field name="field_parent">child_id</field>
129 <field name="inherit_id" ref="account.view_account_search"/>
130 <field name="arch" type="xml">
131 <data>
132 <group string="Group By..." position="replace">
133 <group expand="0" string="Group By...">
134 <filter string="Internal Type" icon="terp-stock_symbol-selection" context="{'group_by':'type'}"/>
135 </group>
136 </group>
137 </data>
138 </field>
139 </record>
140
141 <!-- Tree view for default tree view of accounts -->124 <!-- Tree view for default tree view of accounts -->
142 <record id="account.view_account_list" model="ir.ui.view">125 <record id="account.view_account_list" model="ir.ui.view">
143 <field name="name">account.account_activable.list</field>126 <field name="name">account.account_activable.list</field>
144127
=== modified file 'bin/addons/account_period_closing_level/account_period_closing_level_view.xml'
--- bin/addons/account_period_closing_level/account_period_closing_level_view.xml 2017-10-04 05:23:42 +0000
+++ bin/addons/account_period_closing_level/account_period_closing_level_view.xml 2019-10-30 13:23:31 +0000
@@ -182,18 +182,6 @@
182 </field>182 </field>
183 </record>183 </record>
184184
185 <record id="view_account_period_closing_level_search" model="ir.ui.view">
186 <field name="name">account.period_closing_level.search</field>
187 <field name="model">account.period</field>
188 <field name="type">search</field>
189 <field name="inherit_id" ref="account.view_account_period_search"/>
190 <field name="arch" type="xml">
191 <filter name="draft" position="replace">
192 <filter string="To Close" name="draft" domain="[('state','!=','done')]" icon="terp-dialog-close"/>
193 </filter>
194 </field>
195 </record>
196
197 <record id="view_account_period_closing_level_tree" model="ir.ui.view">185 <record id="view_account_period_closing_level_tree" model="ir.ui.view">
198 <field name="name">account.period_closing_level.tree</field>186 <field name="name">account.period_closing_level.tree</field>
199 <field name="model">account.period</field>187 <field name="model">account.period</field>
@@ -216,10 +204,28 @@
216 </field>204 </field>
217 </record>205 </record>
218206
207 <record id="account_period_closing_level_search" model="ir.ui.view">
208 <field name="name">account.period.search</field>
209 <field name="model">account.period</field>
210 <field name="type">search</field>
211 <field name="priority" eval="50" />
212 <field name="arch" type="xml">
213 <search string="Search Period">
214 <group>
215 <filter string="To Close" name="draft" domain="[('state','not in',['created','done'])]" icon="terp-camera_test"/>
216 <separator orientation="vertical"/>
217 <field name="name"/>
218 <field name="code"/>
219 </group>
220 </search>
221 </field>
222 </record>
223
219 <record id="action_account_period_closing_level_tree" model="ir.actions.act_window">224 <record id="action_account_period_closing_level_tree" model="ir.actions.act_window">
220 <field name="name">Close a Period</field>225 <field name="name">Close a Period</field>
221 <field name="res_model">account.period</field>226 <field name="res_model">account.period</field>
222 <field name="inherit_id" ref="account.action_account_period_tree"/>227 <field name="inherit_id" ref="account.action_account_period_tree"/>
228 <field name="search_view_id" ref="account_period_closing_level_search" />
223 <field name="domain">[('state','!=','created'), ('is_system', '=', False)]</field>229 <field name="domain">[('state','!=','created'), ('is_system', '=', False)]</field>
224 <field name="context">{'search_default_draft': 1}</field>230 <field name="context">{'search_default_draft': 1}</field>
225 <field name="help">A period is a fiscal period of time during which accounting entries should be recorded for accounting related activities. Monthly period is the norm but depending on your countries or company needs, you could also have quarterly periods. Closing a period will make it impossible to record new accounting entries, all new entries should then be made on the following open period. Close a period when you do not want to record new entries and want to lock this period for tax related calculation.</field>231 <field name="help">A period is a fiscal period of time during which accounting entries should be recorded for accounting related activities. Monthly period is the norm but depending on your countries or company needs, you could also have quarterly periods. Closing a period will make it impossible to record new accounting entries, all new entries should then be made on the following open period. Close a period when you do not want to record new entries and want to lock this period for tax related calculation.</field>
226232
=== modified file 'bin/addons/analytic_override/analytic_account.py'
--- bin/addons/analytic_override/analytic_account.py 2019-08-21 08:26:20 +0000
+++ bin/addons/analytic_override/analytic_account.py 2019-10-30 13:23:31 +0000
@@ -59,6 +59,7 @@
59 cmp_date = context.get('date')59 cmp_date = context.get('date')
60 for x in args:60 for x in args:
61 if x[0] == 'filter_active' and x[2] == True:61 if x[0] == 'filter_active' and x[2] == True:
62 arg.append('&')
62 arg.append(('date_start', '<=', cmp_date))63 arg.append(('date_start', '<=', cmp_date))
63 arg.append('|')64 arg.append('|')
64 arg.append(('date', '>', cmp_date))65 arg.append(('date', '>', cmp_date))
6566
=== modified file 'bin/addons/base/ir/ir.xml'
--- bin/addons/base/ir/ir.xml 2019-04-04 14:25:27 +0000
+++ bin/addons/base/ir/ir.xml 2019-10-30 13:23:31 +0000
@@ -726,6 +726,7 @@
726 <field name="view_type">form</field>726 <field name="view_type">form</field>
727 <field name="view_id" ref="view_users_tree"/>727 <field name="view_id" ref="view_users_tree"/>
728 <field name="search_view_id" ref="view_users_search"/>728 <field name="search_view_id" ref="view_users_search"/>
729 <field name="context">{'default_search_active': 1, 'active_test': 0}</field>
729 <field name="help">Create and manage users that will connect to the system. Users can be deactivated should there be a period of time during which they will/should not connect to the system. You can assign them groups in order to give them specific access to the applications they need to use in the system.</field>730 <field name="help">Create and manage users that will connect to the system. Users can be deactivated should there be a period of time during which they will/should not connect to the system. You can assign them groups in order to give them specific access to the applications they need to use in the system.</field>
730 </record>731 </record>
731 <record id="action_res_users_view1" model="ir.actions.act_window.view">732 <record id="action_res_users_view1" model="ir.actions.act_window.view">
@@ -1690,7 +1691,7 @@
1690 <group>1691 <group>
1691 <filter string="Global" icon="terp-stage" domain="[('group_id','=',False)]"/>1692 <filter string="Global" icon="terp-stage" domain="[('group_id','=',False)]"/>
1692 <separator orientation="vertical"/>1693 <separator orientation="vertical"/>
1693 <filter string="Full Access" icon="terp-gtk-select-all" domain="[('perm_read','=',True),('perm_write','=',True),('perm_create','=',True),('perm_unlink','=',True)]"/>1694 <filter string="Full Access" icon="terp-gtk-select-all" domain="['&amp;', '&amp;', '&amp;',('perm_read','=',True),('perm_write','=',True),('perm_create','=',True),('perm_unlink','=',True)]"/>
1694 <filter string="Read Access" icon="terp-stock_align_left_24" domain="[('perm_read','=',True)]"/>1695 <filter string="Read Access" icon="terp-stock_align_left_24" domain="[('perm_read','=',True)]"/>
1695 <filter string="Write Access" icon="terp-tools" domain="[('perm_write','=',True)]"/>1696 <filter string="Write Access" icon="terp-tools" domain="[('perm_write','=',True)]"/>
1696 <separator orientation="vertical"/>1697 <separator orientation="vertical"/>
@@ -1783,7 +1784,7 @@
1783 <group>1784 <group>
1784 <filter string="Global" icon="terp-stage" domain="[('global','=',True)]"/>1785 <filter string="Global" icon="terp-stage" domain="[('global','=',True)]"/>
1785 <separator orientation="vertical"/>1786 <separator orientation="vertical"/>
1786 <filter string="Full Access" icon="terp-gtk-select-all" domain="[('perm_read','=',True),('perm_write','=',True),('perm_create','=',True),('perm_unlink','=',True)]"/>1787 <filter string="Full Access" icon="terp-gtk-select-all" domain="['&amp;', '&amp;', '&amp;', ('perm_read','=',True),('perm_write','=',True),('perm_create','=',True),('perm_unlink','=',True)]"/>
1787 <filter string="Read Access" icon="terp-stock_align_left_24" domain="[('perm_read','=',True)]"/>1788 <filter string="Read Access" icon="terp-stock_align_left_24" domain="[('perm_read','=',True)]"/>
1788 <filter string="Write Access" icon="terp-tools" domain="[('perm_write','=',True)]"/>1789 <filter string="Write Access" icon="terp-tools" domain="[('perm_write','=',True)]"/>
1789 <separator orientation="vertical"/>1790 <separator orientation="vertical"/>
17901791
=== modified file 'bin/addons/base/res/partner/partner_view.xml'
--- bin/addons/base/res/partner/partner_view.xml 2019-02-05 15:23:11 +0000
+++ bin/addons/base/res/partner/partner_view.xml 2019-10-30 13:23:31 +0000
@@ -358,7 +358,7 @@
358 <field name="type">ir.actions.act_window</field>358 <field name="type">ir.actions.act_window</field>
359 <field name="res_model">res.partner</field>359 <field name="res_model">res.partner</field>
360 <field name="view_type">form</field>360 <field name="view_type">form</field>
361 <field name="context">{"search_default_customer":1}</field>361 <field name="context">{'search_default_customer':1, 'show_button_show_inactive': 1, 'search_default_active': 1, 'active_test': 0}</field>
362 <field name="search_view_id" ref="view_res_partner_filter"/>362 <field name="search_view_id" ref="view_res_partner_filter"/>
363 <field name="help">A customer is an entity you do business with, like a company or an organization. A customer can have several contacts or addresses which are the people working for this company. You can use the history tab, to follow all transactions related to a customer: sales order, emails, opportunities, claims, etc. If you use the email gateway, the Outlook or the Thunderbird plugin, don't forget to register emails to each contact so that the gateway will automatically attach incoming emails to the right partner.</field>363 <field name="help">A customer is an entity you do business with, like a company or an organization. A customer can have several contacts or addresses which are the people working for this company. You can use the history tab, to follow all transactions related to a customer: sales order, emails, opportunities, claims, etc. If you use the email gateway, the Outlook or the Thunderbird plugin, don't forget to register emails to each contact so that the gateway will automatically attach incoming emails to the right partner.</field>
364 </record>364 </record>
@@ -386,7 +386,7 @@
386 <field name="res_model">res.partner</field>386 <field name="res_model">res.partner</field>
387 <field name="view_type">form</field>387 <field name="view_type">form</field>
388 <field name="domain">[('customer','=',1)]</field>388 <field name="domain">[('customer','=',1)]</field>
389 <field name="context">{'default_customer':1, 'search_default_customer':1}</field>389 <field name="context">{'default_customer':1, 'search_default_customer':1, 'search_default_active': 1, 'active_test': 0, 'show_button_show_inactive': 1}</field>
390 <field name="filter" eval="True"/>390 <field name="filter" eval="True"/>
391 </record>391 </record>
392392
@@ -396,7 +396,7 @@
396 <field name="res_model">res.partner</field>396 <field name="res_model">res.partner</field>
397 <field name="view_type">form</field>397 <field name="view_type">form</field>
398 <field name="domain">[]</field>398 <field name="domain">[]</field>
399 <field name="context">{'default_customer':0, 'search_default_supplier': 1, 'default_supplier':1}</field>399 <field name="context">{'default_customer':0, 'search_default_supplier': 1, 'default_supplier':1, 'search_default_active': 1, 'active_test': 0, 'show_button_show_inactive':1}</field>
400 <field name="filter" eval="True"/>400 <field name="filter" eval="True"/>
401 <field name="help">You can access all information regarding your suppliers from the supplier form: accounting data, history of emails, meetings, purchases, etc. You can uncheck the 'Suppliers' filter button in order to search in all your partners, including customers and prospects.</field>401 <field name="help">You can access all information regarding your suppliers from the supplier form: accounting data, history of emails, meetings, purchases, etc. You can uncheck the 'Suppliers' filter button in order to search in all your partners, including customers and prospects.</field>
402 </record>402 </record>
403403
=== modified file 'bin/addons/base/res/res_currency_view.xml'
--- bin/addons/base/res/res_currency_view.xml 2019-07-31 12:02:50 +0000
+++ bin/addons/base/res/res_currency_view.xml 2019-10-30 13:23:31 +0000
@@ -24,40 +24,30 @@
24 <field name="name">res.currency.form</field>24 <field name="name">res.currency.form</field>
25 <field name="model">res.currency</field>25 <field name="model">res.currency</field>
26 <field name="type">form</field>26 <field name="type">form</field>
27 <field name="priority">20</field>
27 <field name="arch" type="xml">28 <field name="arch" type="xml">
28 <form string="Currency" hide_duplicate_button="1">29 <data>
29 <group col="6" colspan="6">30 <field name="company_id" position="replace">
30 <field name="name" select="1"/>31 <field name="currency_name"/>
31 <field name="rate"/>32 </field>
32 <field name="company_id" select="2" groups="base.group_multi_company" />33 <field name="base" position="replace">
33 <field name="symbol"/>34 </field>
34 </group>35 <form string="Rates" position="replace">
35
36 <group col="2" colspan="2">
37 <separator string="Price Accuracy" colspan="2"/>
38 <field name="rounding"/>
39 <field name="accuracy"/>
40 </group>
41
42 <group col="2" colspan="2">
43 <separator string="Miscelleanous" colspan="2"/>
44 <field name="base"/>
45 <field name="active" select="1"/>
46 </group>
47
48 <field colspan="4" mode="tree,form" name="rate_ids" nolabel="1" attrs="{'readonly':[('base','=',True)]}">
49 <form string="Rates">36 <form string="Rates">
50 <field name="name"/>37 <field name="name"/>
51 <field name="rate"/>38 <field name="rate"/>
52 </form>39 </form>
40 </form>
41 <tree string="Rates" position="replace">
53 <tree string="Rates">42 <tree string="Rates">
54 <field name="name"/>43 <field name="name"/>
55 <field name="rate"/>44 <field name="rate"/>
56 </tree>45 </tree>
57 </field>46 </tree>
58 </form>47 </data>
59 </field>48 </field>
60 </record>49 </record>
50
61 <record id="action_currency_form" model="ir.actions.act_window">51 <record id="action_currency_form" model="ir.actions.act_window">
62 <field name="name">Currencies</field>52 <field name="name">Currencies</field>
63 <field name="res_model">res.currency</field>53 <field name="res_model">res.currency</field>
6454
=== modified file 'bin/addons/base/res/res_request_view.xml'
--- bin/addons/base/res/res_request_view.xml 2018-12-03 10:43:35 +0000
+++ bin/addons/base/res/res_request_view.xml 2019-10-30 13:23:31 +0000
@@ -79,19 +79,22 @@
79 <field name="type">search</field>79 <field name="type">search</field>
80 <field name="arch" type="xml">80 <field name="arch" type="xml">
81 <search string="Requests">81 <search string="Requests">
82 <filter string="Current" icon="terp-camera_test" domain="['|',('state','=','draft'),('state','=','active')]"82 <filter string="Draft" icon="terp-document-new" name="draft" domain="[('state', '=', 'draft')]" />
83 help="Draft and Active"/>83 <filter string="Current" icon="terp-camera_test" domain="[('state','=','active')]" />
84 <separator orientation="vertical"/>
85 <filter string="Waiting" icon="terp-gtk-media-pause" domain="[('state','=','waiting')]"/>84 <filter string="Waiting" icon="terp-gtk-media-pause" domain="[('state','=','waiting')]"/>
85 <filter string="Closed" icon="gtk-close" domain="[('state','=','closed')]"/>
86 <separator orientation="vertical"/>
87 <filter name="active" string="Active" domain="[('active', '=', True)]" icon="terp-check" />
88 <filter name="inactive" string="Inactive" domain="[('active', '=', False)]" icon="gtk-dialog-error"/>
86 <separator orientation="vertical"/>89 <separator orientation="vertical"/>
87 <field name="act_from"/>90 <field name="act_from"/>
88 <field name="act_to" select="1"/>91 <field name="act_to" select="1"/>
89 <field name="name"/>92 <field name="name"/>
90 <field name="state"/>93 <field name="state"/>
91 <newline/>94 <newline/>
92 <group expand="0" string="Group By" colspan="4">95 <group expand="0" string="Group By" colspan="4">
93 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>96 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
94 </group>97 </group>
95 </search>98 </search>
96 </field>99 </field>
97 </record>100 </record>
98101
=== modified file 'bin/addons/consumption_calculation/consumption_view.xml'
--- bin/addons/consumption_calculation/consumption_view.xml 2019-04-04 14:25:27 +0000
+++ bin/addons/consumption_calculation/consumption_view.xml 2019-10-30 13:23:31 +0000
@@ -134,7 +134,9 @@
134 <field name="arch" type="xml">134 <field name="arch" type="xml">
135 <search string="Real consumption reports">135 <search string="Real consumption reports">
136 <group col="10" colspan="4">136 <group col="10" colspan="4">
137 <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state', '=', 'draft')]" />
137 <filter icon="terp-check" string="Closed" domain="[('created_ok','=',True)]"/>138 <filter icon="terp-check" string="Closed" domain="[('created_ok','=',True)]"/>
139 <filter icon="gtk-cancel" name="cancel" string="Cancelled" domain="[('state','=','cancel')]" />
138 <separator orientation="vertical"/>140 <separator orientation="vertical"/>
139 <field name="name"/>141 <field name="name"/>
140 <field name="cons_location_id"/>142 <field name="cons_location_id"/>
141143
=== modified file 'bin/addons/finance/account_view.xml'
--- bin/addons/finance/account_view.xml 2017-10-31 08:06:46 +0000
+++ bin/addons/finance/account_view.xml 2019-10-30 13:23:31 +0000
@@ -21,41 +21,6 @@
21 </field>21 </field>
22 </record>22 </record>
2323
24 <record id="inherit_view_account_search_pma" model="ir.ui.view">
25 <field name="name">inherit.view.account.search.pma</field>
26 <field name="model">account.account</field>
27 <field name="type">search</field>
28 <field name="inherit_id" ref="account.view_account_search"/>
29 <field name="priority">25</field>
30 <field name="arch" type="xml">
31 <xpath expr="/search/group[1]" position="replace">
32 <group col="12" colspan="4">
33
34 <filter name="active" icon="terp-check" string="Active" domain="[('filter_active', '=', True)]" />
35 <filter name="inactive" icon="gtk-dialog-error" string="Inactive" domain="[('filter_active', '=', False)]"/>
36 <separator orientation="vertical"/>
37 <filter icon="terp-sale" string="Receivable Accounts" domain="[('type','=','receivable')]"/>
38 <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
39 <filter name="accrual_account" string="Accrual Account" domain="[('accrual_account','=',True)]"/>
40 <separator orientation="vertical"/>
41 <newline/>
42
43 <group col="6" colspan="4">
44 <field name="code"/>
45 <field name="name"/>
46 <field name="is_not_hq_correctible"/>
47 </group>
48 <newline/>
49
50 <field name="user_type"/>
51 <field name="type"/>
52 <field name="type_for_register"/>
53
54 </group>
55 </xpath>
56 </field>
57 </record>
58
59 <!--24 <!--
60 Journal Entries25 Journal Entries
61 -->26 -->
6227
=== modified file 'bin/addons/hr/hr_view.xml'
--- bin/addons/hr/hr_view.xml 2018-08-21 19:39:57 +0000
+++ bin/addons/hr/hr_view.xml 2019-10-30 13:23:31 +0000
@@ -101,21 +101,26 @@
101 <field name="type">search</field>101 <field name="type">search</field>
102 <field name="arch" type="xml">102 <field name="arch" type="xml">
103 <search string="Employees">103 <search string="Employees">
104 <filter icon="terp-personal+" domain="[('active','=',True)]" name="active" string="Active" groups="base.group_extended"/>104 <filter icon="terp-personal+" domain="[('active','=',True)]" name="active" string="Active" />
105 <filter icon="terp-personal-" domain="[('active','=',False)]" name="inactive" string="Inactive" />
106 <separator orientation="vertical" />
107 <filter icon="gtk-leave-fullscreen" domain="[('employee_type','=','local')]" name="employee_type_local" string="Local" />
108 <filter icon="gtk-quit" domain="[('employee_type','=','ex')]" name="employee_type_expatriate" string="Expat'" />
109
105 <separator orientation="vertical" />110 <separator orientation="vertical" />
106 <field name="name"/>111 <field name="name"/>
107 <field name="identification_id"/>112 <field name="identification_id"/>
108 <field name="department_id" widget="selection">
109 <filter icon="terp-personal+" domain="[('department_id','=',context.get('department_id',False))]" string="My Departments Employee"/>
110 </field>
111 <field name="job_id"/>113 <field name="job_id"/>
114 <newline/>
115 <group>
116 <field name="destination_id" domain="[('category','=','DEST'), ('type', '!=', 'view'), ('state', '=', 'open')]"/>
117 <field name="cost_center_id" domain="[('category','=','OC'), ('type', '!=', 'view'), ('state', '=', 'open')]"/>
118 <field name="funding_pool_id" domain="[('type', '!=', 'view'), ('category', '=', 'FUNDING'), ('state', '=', 'open')]"/>
119 </group>
112 <newline />120 <newline />
113 <group expand="0" string="Group By...">121 <group expand="0" string="Group By...">
114 <filter string="Coach" icon="terp-personal" domain="[]" context="{'group_by':'coach_id'}" groups="base.group_extended"/>
115 <separator orientation="vertical" />122 <separator orientation="vertical" />
116 <filter string="Department" icon="terp-personal+" domain="[]" context="{'group_by':'department_id'}"/>
117 <filter string="Job" icon="terp-gtk-select-all" domain="[]" context="{'group_by':'job_id'}"/>123 <filter string="Job" icon="terp-gtk-select-all" domain="[]" context="{'group_by':'job_id'}"/>
118 <filter string="Company" icon="terp-go-home" domain="[]" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
119 </group>124 </group>
120 </search>125 </search>
121 </field>126 </field>
122127
=== modified file 'bin/addons/kit/kit_view.xml'
--- bin/addons/kit/kit_view.xml 2017-10-04 06:36:54 +0000
+++ bin/addons/kit/kit_view.xml 2019-10-30 13:23:31 +0000
@@ -140,10 +140,10 @@
140 <field name="arch" type="xml">140 <field name="arch" type="xml">
141 <search string="Search Theoretical Kit Composition">141 <search string="Search Theoretical Kit Composition">
142 <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state','=','draft')]" separator="1" />142 <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state','=','draft')]" separator="1" />
143 <filter icon="terp-camera_test" name="completed" string="Completed" domain="[('state','=', 'completed')]" separator="1" />
144 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" />143 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" />
145 <filter icon="gtk-cancel" name="cancel" string="Canceled" domain="[('state','=', 'cancel')]" separator="1" />144 <filter icon="gtk-cancel" name="cancel" string="Canceled" domain="[('state','=', 'cancel')]" separator="1" />
146 <separator orientation="vertical" />145 <separator orientation="vertical" />
146 <filter icon="gtk-ok" name="active" string="Show Active" domain="[('active', '=', True)]" separator="1" />
147 <filter icon="gtk-missing-image" name="inactive" string="Show Inactive" domain="[('active', '=', False)]" separator="1" />147 <filter icon="gtk-missing-image" name="inactive" string="Show Inactive" domain="[('active', '=', False)]" separator="1" />
148 <separator orientation="vertical" />148 <separator orientation="vertical" />
149 <field name="composition_product_id" domain="[('type', '=', 'product'), ('subtype', '=', 'kit')]" select="1" />149 <field name="composition_product_id" domain="[('type', '=', 'product'), ('subtype', '=', 'kit')]" select="1" />
@@ -188,7 +188,6 @@
188 <search string="Search Real Kit Composition">188 <search string="Search Real Kit Composition">
189 <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state','=','draft')]" separator="1" />189 <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state','=','draft')]" separator="1" />
190 <filter icon="gtk-execute" name="in_production" string="In Production" domain="[('state','=', 'in_production')]" separator="1" />190 <filter icon="gtk-execute" name="in_production" string="In Production" domain="[('state','=', 'in_production')]" separator="1" />
191 <filter icon="terp-camera_test" name="completed" string="Completed" domain="[('state','=', 'completed')]" separator="1" />
192 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" />191 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" />
193 <filter icon="gtk-cancel" name="cancel" string="Canceled" domain="[('state','=', 'cancel')]" separator="1" />192 <filter icon="gtk-cancel" name="cancel" string="Canceled" domain="[('state','=', 'cancel')]" separator="1" />
194 <separator orientation="vertical" />193 <separator orientation="vertical" />
@@ -334,8 +333,8 @@
334 <field name="res_model">composition.kit</field>333 <field name="res_model">composition.kit</field>
335 <field name="view_type">form</field>334 <field name="view_type">form</field>
336 <field name="view_mode">tree,form</field>335 <field name="view_mode">tree,form</field>
337 <field name="domain">[('composition_type', '=', 'theoretical')]</field>336 <field name="domain">['&amp;', ('composition_type', '=', 'theoretical'), ('active', 'in', ['t', 'f'])]</field>
338 <field name="context">{'search_default_completed': True, 'composition_type':'theoretical'}</field>337 <field name="context">{'composition_type':'theoretical', 'search_default_active': 1}</field>
339 <field name="search_view_id" ref="view_composition_kit_theoretical_filter" />338 <field name="search_view_id" ref="view_composition_kit_theoretical_filter" />
340 </record>339 </record>
341 340
@@ -355,7 +354,7 @@
355 <field name="view_type">form</field>354 <field name="view_type">form</field>
356 <field name="view_mode">tree,form</field>355 <field name="view_mode">tree,form</field>
357 <field name="domain">[('composition_type', '=', 'real')]</field>356 <field name="domain">[('composition_type', '=', 'real')]</field>
358 <field name="context">{'search_default_completed': True, 'composition_type':'real'}</field>357 <field name="context">{'composition_type':'real'}</field>
359 <field name="search_view_id" ref="view_composition_kit_real_filter" />358 <field name="search_view_id" ref="view_composition_kit_real_filter" />
360 </record>359 </record>
361360
362361
=== modified file 'bin/addons/msf_budget/msf_budget_view.xml'
--- bin/addons/msf_budget/msf_budget_view.xml 2017-06-13 15:20:13 +0000
+++ bin/addons/msf_budget/msf_budget_view.xml 2019-10-30 13:23:31 +0000
@@ -31,6 +31,7 @@
31 <group col="20" colspan="4">31 <group col="20" colspan="4">
32 <filter string="Draft" icon="terp-document-new" domain="[('state','=','draft')]" help="Draft Budgets"/>32 <filter string="Draft" icon="terp-document-new" domain="[('state','=','draft')]" help="Draft Budgets"/>
33 <filter name="validated" string="Validated" icon="terp-camera_test" domain="[('state','=','valid')]" help="Validated Budgets" />33 <filter name="validated" string="Validated" icon="terp-camera_test" domain="[('state','=','valid')]" help="Validated Budgets" />
34 <filter name="Done" string="Done" icon="terp-dialog-close" domain="[('state','=','done')]" />
34 <separator orientation="vertical"/>35 <separator orientation="vertical"/>
35 <filter name='hq' string="HQ" domain="[('instance_type', '=', 'section')]" help="Budgets that use a cost center which is the 'top cost center for budget' from a HQ instance." icon="terp-go-home"/>36 <filter name='hq' string="HQ" domain="[('instance_type', '=', 'section')]" help="Budgets that use a cost center which is the 'top cost center for budget' from a HQ instance." icon="terp-go-home"/>
36 <filter name='coordo' string="Coordo" domain="[('instance_type', '=', 'coordo')]" help="Budgets that use a cost center which is the 'top cost center for budget' from a Coordo instance." icon="terp-go-home"/>37 <filter name='coordo' string="Coordo" domain="[('instance_type', '=', 'coordo')]" help="Budgets that use a cost center which is the 'top cost center for budget' from a Coordo instance." icon="terp-go-home"/>
3738
=== modified file 'bin/addons/msf_currency_revaluation/res_currency_view.xml'
--- bin/addons/msf_currency_revaluation/res_currency_view.xml 2013-12-16 08:18:07 +0000
+++ bin/addons/msf_currency_revaluation/res_currency_view.xml 2019-10-30 13:23:31 +0000
@@ -6,7 +6,7 @@
6 <field name="name">res.currency.form</field>6 <field name="name">res.currency.form</field>
7 <field name="model">res.currency</field>7 <field name="model">res.currency</field>
8 <field name="type">form</field>8 <field name="type">form</field>
9 <field name="inherit_id" ref="base.view_currency_form"/>9 <field name="inherit_id" ref="base.view_currency_functional_form"/>
10 <field name="arch" type="xml">10 <field name="arch" type="xml">
11 <xpath expr="//form[@string='Rates']/field[@name='rate']" position="after">11 <xpath expr="//form[@string='Rates']/field[@name='rate']" position="after">
12 <field name="currency_rate_type_id"/>12 <field name="currency_rate_type_id"/>
1313
=== modified file 'bin/addons/msf_doc_import/data/msf_doc_import_data.xml'
--- bin/addons/msf_doc_import/data/msf_doc_import_data.xml 2014-10-28 13:29:46 +0000
+++ bin/addons/msf_doc_import/data/msf_doc_import_data.xml 2019-10-30 13:23:31 +0000
@@ -76,33 +76,5 @@
76 <field name="international_status" ref="product_attributes.int_5"/>76 <field name="international_status" ref="product_attributes.int_5"/>
77 </record>77 </record>
78 78
79 <!-- Partner to be defined -->
80 <record id="supplier_tbd" model="res.partner">
81 <field name="name">To be defined</field>
82 <field name="active" eval="False" />
83 </record>
84
85 <!-- Partner address to be defined -->
86 <record id="address_tbd" model="res.partner.address">
87 <field name="type">default</field>
88 <field name="street">To be defined</field>
89 <field name="zip">To be defined</field>
90 <field name="city">To be defined</field>
91 <field name="partner_id" ref="supplier_tbd"/>
92 <field name="active" eval="False" />
93 </record>
94
95 <!-- SupplierInfo to be defined -->
96 <record id="supplierinfo_tbd" model="product.supplierinfo">
97 <field name="name" ref="supplier_tbd"/>
98 <field name="product_id" ref="product_tbd"/>
99 <field name="active" eval="False" />
100 <!--
101 <field name="uom_id" ref="uom_tbd"/>
102 <field name="uom_po_id" ref="uom_tbd"/>
103 <field name="categ_id" ref="cat_tbd"/>
104 -->
105 </record>
106
107 </data>79 </data>
108</openerp>80</openerp>
10981
=== modified file 'bin/addons/msf_doc_import/purchase_order.py'
--- bin/addons/msf_doc_import/purchase_order.py 2019-10-09 09:46:13 +0000
+++ bin/addons/msf_doc_import/purchase_order.py 2019-10-30 13:23:31 +0000
@@ -664,13 +664,8 @@
664 ids = [ids]664 ids = [ids]
665 message = ''665 message = ''
666 plural = ''666 plural = ''
667 obj_data = self.pool.get('ir.model.data')
668667
669 for var in self.browse(cr, uid, ids, context=context):668 for var in self.browse(cr, uid, ids, context=context):
670 # we check the supplier and the address
671 if var.partner_id.id == obj_data.get_object_reference(cr, uid, 'msf_doc_import', 'supplier_tbd')[1] \
672 or var.partner_address_id.id == obj_data.get_object_reference(cr, uid, 'msf_doc_import', 'address_tbd')[1]:
673 raise osv.except_osv(_('Warning !'), _("\n You can't have a supplier or an address 'To Be Defined', please select a consistent supplier."))
674 # we check the lines that need to be fixed669 # we check the lines that need to be fixed
675 if var.order_line:670 if var.order_line:
676 for var in var.order_line:671 for var in var.order_line:
677672
=== modified file 'bin/addons/msf_homere_interface/hr_payroll_view.xml'
--- bin/addons/msf_homere_interface/hr_payroll_view.xml 2018-10-31 15:29:09 +0000
+++ bin/addons/msf_homere_interface/hr_payroll_view.xml 2019-10-30 13:23:31 +0000
@@ -59,8 +59,8 @@
59 <field name="type">search</field>59 <field name="type">search</field>
60 <field name="arch" type="xml">60 <field name="arch" type="xml">
61 <search string="Search Journal Items">61 <search string="Search Journal Items">
62 <filter name="active" icon="terp-check" domain="[('analytic_state', '=', 'valid')]" string="Valid"/>62 <filter name="valid" icon="terp-check" domain="[('analytic_state', '=', 'valid')]" string="Valid"/>
63 <filter name="inactive" icon="gtk-dialog-error" domain="[('analytic_state', '!=', 'valid')]" string="Invalid"/>63 <filter name="invalid" icon="gtk-dialog-error" domain="[('analytic_state', '!=', 'valid')]" string="Invalid"/>
64 <separator orientation="vertical"/>64 <separator orientation="vertical"/>
65 <field name="employee_id" select="1"/>65 <field name="employee_id" select="1"/>
66 <field name="account_id" select="1"/>66 <field name="account_id" select="1"/>
@@ -180,7 +180,7 @@
180 <field name="view_mode">tree,form</field>180 <field name="view_mode">tree,form</field>
181 <field name="view_id" ref="editable_view_employee_tree"/>181 <field name="view_id" ref="editable_view_employee_tree"/>
182 <field name="search_view_id" ref="view_employee_filter_2"/>182 <field name="search_view_id" ref="view_employee_filter_2"/>
183 <field name="domain">[('employee_type', '=', 'local')]</field>183 <field name="domain">['&amp;', ('employee_type', '=', 'local'), ('active', 'in', ['t', 'f'])]</field>
184 </record>184 </record>
185185
186186
187187
=== modified file 'bin/addons/msf_homere_interface/hr_view.xml'
--- bin/addons/msf_homere_interface/hr_view.xml 2019-04-05 14:45:58 +0000
+++ bin/addons/msf_homere_interface/hr_view.xml 2019-10-30 13:23:31 +0000
@@ -154,40 +154,6 @@
154 </field>154 </field>
155 </record>155 </record>
156156
157 <!--
158 Employee Search
159 -->
160 <record id="inherit_view_employee_filter" model="ir.ui.view">
161 <field name="name">inherit.view.employee.filter</field>
162 <field name="model">hr.employee</field>
163 <field name="type">search</field>
164 <field name="inherit_id" ref="hr.view_employee_filter"/>
165 <field name="arch" type="xml">
166 <data>
167 <xpath expr="/search/filter[@name='active']" position="after">
168 <separator orientation="vertical" />
169 <filter icon="gtk-leave-fullscreen" domain="[('employee_type','=','local')]" name="employee_type_local" string="Local" />
170 <filter icon="gtk-quit" domain="[('employee_type','=','ex')]" name="employee_type_expatriate" string="Expat'" />
171 </xpath>
172 <xpath expr="/search/field[@name='department_id']" position="replace">
173 </xpath>
174 <xpath expr="//filter[@string='Coach']" position="replace">
175 </xpath>
176 <xpath expr="//filter[@string='Department']" position="replace">
177 </xpath>
178 <xpath expr="//filter[@string='Company']" position="replace">
179 </xpath>
180 <xpath expr="//field[@name='job_id']" position="after">
181 <newline/>
182 <group>
183 <field name="destination_id" domain="[('category','=','DEST'), ('type', '!=', 'view'), ('state', '=', 'open')]"/>
184 <field name="cost_center_id" domain="[('category','=','OC'), ('type', '!=', 'view'), ('state', '=', 'open')]"/>
185 <field name="funding_pool_id" domain="[('type', '!=', 'view'), ('category', '=', 'FUNDING'), ('state', '=', 'open')]"/>
186 </group>
187 </xpath>
188 </data>
189 </field>
190 </record>
191157
192 <record id="view_employee_filter_2" model="ir.ui.view">158 <record id="view_employee_filter_2" model="ir.ui.view">
193 <field name="name">view.employee.filter.2</field>159 <field name="name">view.employee.filter.2</field>
194160
=== modified file 'bin/addons/msf_outgoing/msf_outgoing_view.xml'
--- bin/addons/msf_outgoing/msf_outgoing_view.xml 2019-10-04 12:57:28 +0000
+++ bin/addons/msf_outgoing/msf_outgoing_view.xml 2019-10-30 13:23:31 +0000
@@ -449,6 +449,7 @@
449 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" />449 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" />
450 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','=','confirmed')]" />450 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','=','confirmed')]" />
451 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" />451 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" />
452 <filter icon="gtk-cancel" name="cancel" string="Cancelled" domain="[('state','=','cancel')]" />
452 <separator orientation="vertical"/>453 <separator orientation="vertical"/>
453 <filter icon="terp-accessories-archiver-minus" string="Back Orders" domain="[('backorder_id', '!=', False)]" help="Is a Back Order" />454 <filter icon="terp-accessories-archiver-minus" string="Back Orders" domain="[('backorder_id', '!=', False)]" help="Is a Back Order" />
454 <separator orientation="vertical"/>455 <separator orientation="vertical"/>
@@ -505,6 +506,7 @@
505 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" />506 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" />
506 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','=','confirmed')]" />507 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','=','confirmed')]" />
507 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" />508 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" />
509 <filter icon="gtk-cancel" name="cancel" string="Cancelled" domain="[('state','=','cancel')]" />
508 <separator orientation="vertical"/>510 <separator orientation="vertical"/>
509 <filter icon="terp-accessories-archiver-minus" string="Back Orders" domain="[('backorder_id', '!=', False)]" help="Is a Back Order" />511 <filter icon="terp-accessories-archiver-minus" string="Back Orders" domain="[('backorder_id', '!=', False)]" help="Is a Back Order" />
510 <separator orientation="vertical"/>512 <separator orientation="vertical"/>
@@ -787,8 +789,11 @@
787 <field name="arch" type="xml">789 <field name="arch" type="xml">
788 <search string="Pre-Packing List">790 <search string="Pre-Packing List">
789 <group col="8" colspan="4">791 <group col="8" colspan="4">
792 <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state', '=', 'draft')]" />
793 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','=','confirmed')]" />
790 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" help="Assigned Delivery Orders"/>794 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" help="Assigned Delivery Orders"/>
791 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" help="Delivery orders already processed"/>795 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" help="Delivery orders already processed"/>
796 <filter icon="gtk-cancel" name="cancel" string="Cancelled" domain="[('state','=','cancel')]" />
792 <separator orientation="vertical"/>797 <separator orientation="vertical"/>
793 <field name="name"/>798 <field name="name"/>
794 <field name="partner_id2" />799 <field name="partner_id2" />
@@ -1465,9 +1470,11 @@
1465 <search string="Shipment">1470 <search string="Shipment">
1466 <group col="8" colspan="4">1471 <group col="8" colspan="4">
1467 <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state','=','draft')]" />1472 <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state','=','draft')]" />
1473 <filter icon="terp-accessories-archiver" name="packed" string="Packed" domain="[('state','=','packed')]" />
1468 <filter icon="terp-check" name="shipped" string="Ready to ship" domain="[('state','=','shipped')]" />1474 <filter icon="terp-check" name="shipped" string="Ready to ship" domain="[('state','=','shipped')]" />
1469 <filter icon="terp-dialog-close" name="closed" string="Dispatched" domain="[('state','=','done')]" />1475 <filter icon="terp-dialog-close" name="closed" string="Dispatched" domain="[('state','=','done')]" />
1470 <filter icon="gtk-yes" name="delivered" string="Received" domain="[('state','=','delivered')]" />1476 <filter icon="gtk-yes" name="delivered" string="Received" domain="[('state','=','delivered')]" />
1477 <filter icon="gtk-cancel" name="cancel" string="Cancelled" domain="[('state','=','cancel')]" />
1471 <separator orientation="vertical"/>1478 <separator orientation="vertical"/>
1472 <filter icon="terp-folder-orange" name="empty" string="Empty" domain="[('num_of_packs','=', 0)]" />1479 <filter icon="terp-folder-orange" name="empty" string="Empty" domain="[('num_of_packs','=', 0)]" />
1473 <filter icon="terp-folder-green" name="not_empty" string="Not Empty" domain="[('num_of_packs','!=', 0)]" />1480 <filter icon="terp-folder-green" name="not_empty" string="Not Empty" domain="[('num_of_packs','!=', 0)]" />
14741481
=== modified file 'bin/addons/msf_partner/partner.py'
--- bin/addons/msf_partner/partner.py 2019-10-24 12:07:52 +0000
+++ bin/addons/msf_partner/partner.py 2019-10-30 13:23:31 +0000
@@ -351,26 +351,8 @@
351 """351 """
352 Check if the deleted partner is not a system one352 Check if the deleted partner is not a system one
353 """353 """
354 data_obj = self.pool.get('ir.model.data')
355 property_obj = self.pool.get('ir.property')354 property_obj = self.pool.get('ir.property')
356355
357 partner_data_id = [
358 'supplier_tbd',
359 ]
360
361 for data_id in partner_data_id:
362 try:
363 part_id = data_obj.get_object_reference(
364 cr, uid, 'msf_doc_import', data_id)[1]
365 if part_id in ids:
366 part_name = self.read(cr, uid, part_id, ['name'])['name']
367 raise osv.except_osv(
368 _('Error'),
369 _('''The partner '%s' is an Unifield internal partner, so you can't remove it''') % part_name,
370 )
371 except ValueError:
372 pass
373
374356
375 #US-1344: treat deletion of partner357 #US-1344: treat deletion of partner
376 address_obj = self.pool.get('res.partner.address')358 address_obj = self.pool.get('res.partner.address')
@@ -967,7 +949,7 @@
967 if view_type == 'search':949 if view_type == 'search':
968 if not context or not context.get('show_button_show_inactive', False):950 if not context or not context.get('show_button_show_inactive', False):
969 tree = etree.fromstring(view['arch'])951 tree = etree.fromstring(view['arch'])
970 fields = tree.xpath('//filter[@name="inactive"]')952 fields = tree.xpath('//filter[@name="inactive"]|//filter[@name="active"]')
971 for field in fields:953 for field in fields:
972 field.set('invisible', "1")954 field.set('invisible', "1")
973 view['arch'] = etree.tostring(tree)955 view['arch'] = etree.tostring(tree)
@@ -990,24 +972,7 @@
990 """972 """
991 Check if the deleted address is not a system one973 Check if the deleted address is not a system one
992 """974 """
993 data_obj = self.pool.get('ir.model.data')975
994
995 addr_data_id = [
996 'address_tbd',
997 ]
998
999 for data_id in addr_data_id:
1000 try:
1001 addr_id = data_obj.get_object_reference(
1002 cr, uid, 'msf_doc_import', data_id)[1]
1003 if addr_id in ids:
1004 addr_name = self.read(cr, uid, addr_id, ['name'])['name']
1005 raise osv.except_osv(
1006 _('Error'),
1007 _('''The Address '%s' is an Unifield internal address, so you can't remove it''') % addr_name,
1008 )
1009 except ValueError:
1010 pass
1011 res = super(res_partner_address, self).unlink(cr, uid, ids, context=context)976 res = super(res_partner_address, self).unlink(cr, uid, ids, context=context)
1012977
1013 #US-1344: treat deletion of partner978 #US-1344: treat deletion of partner
1014979
=== modified file 'bin/addons/msf_partner/partner_view.xml'
--- bin/addons/msf_partner/partner_view.xml 2019-03-29 16:33:48 +0000
+++ bin/addons/msf_partner/partner_view.xml 2019-10-30 13:23:31 +0000
@@ -82,7 +82,8 @@
82 <filter string="ESC" name="esc" icon="gtk-ok" domain="[('partner_type','=','esc')]" help="ESC Partners"/>82 <filter string="ESC" name="esc" icon="gtk-ok" domain="[('partner_type','=','esc')]" help="ESC Partners"/>
83 <filter string="Intermission" name="intermission" icon="gtk-ok" domain="[('partner_type','=','intermission')]" help="Intermission Partners"/>83 <filter string="Intermission" name="intermission" icon="gtk-ok" domain="[('partner_type','=','intermission')]" help="Intermission Partners"/>
84 <separator orientation="vertical" />84 <separator orientation="vertical" />
85 <filter icon="gtk-missing-image" name="inactive" string="Show Inactive" domain="[('name', '!=', 'To be defined'), ('active', '=', False)]" separator="1" />85 <filter icon="terp-personal+" name="active" string="Show Active" domain="[('active', '=', True)]" default="1" />
86 <filter icon="gtk-missing-image" name="inactive" string="Show Inactive" domain="['&amp;', ('name', '!=', 'To be defined'), ('active', '=', False)]" separator="1" />
86 <newline />87 <newline />
87 <field name="name" select="1"/>88 <field name="name" select="1"/>
88 <field name="address" select="1"/>89 <field name="address" select="1"/>
@@ -259,6 +260,7 @@
259 <field name="type">ir.actions.act_window</field>260 <field name="type">ir.actions.act_window</field>
260 <field name="res_model">res.partner</field>261 <field name="res_model">res.partner</field>
261 <field name="view_type">form</field>262 <field name="view_type">form</field>
263 <field name="context">{'show_button_show_inactive': True, 'default_search_active': 1, 'active_test': 0}</field>
262 <field name="view_id" ref="msf_view_partner_tree"/>264 <field name="view_id" ref="msf_view_partner_tree"/>
263 <field name="search_view_id" ref="msf_view_res_partner_filter"/>265 <field name="search_view_id" ref="msf_view_res_partner_filter"/>
264 </record>266 </record>
265267
=== modified file 'bin/addons/msf_profile/data.xml'
--- bin/addons/msf_profile/data.xml 2019-10-02 15:58:02 +0000
+++ bin/addons/msf_profile/data.xml 2019-10-30 13:23:31 +0000
@@ -80,9 +80,6 @@
80 <record id="order_types.res_partner_local_market" model="res.partner">80 <record id="order_types.res_partner_local_market" model="res.partner">
81 <field name="lang">en_MF</field>81 <field name="lang">en_MF</field>
82 </record>82 </record>
83 <record id="msf_doc_import.supplier_tbd" model="res.partner">
84 <field name="lang">en_MF</field>
85 </record>
8683
87 <record id="smtp_config" model="email.configuration">84 <record id="smtp_config" model="email.configuration">
88 <field name="smtp_server">127.0.0.1</field>85 <field name="smtp_server">127.0.0.1</field>
8986
=== modified file 'bin/addons/msf_profile/i18n/fr_MF.po'
--- bin/addons/msf_profile/i18n/fr_MF.po 2019-10-29 09:27:27 +0000
+++ bin/addons/msf_profile/i18n/fr_MF.po 2019-10-30 13:23:31 +0000
@@ -4079,11 +4079,12 @@
4079msgid "From Order"4079msgid "From Order"
4080msgstr "De la Commande"4080msgstr "De la Commande"
40814081
4082#. modules: return_claim, msf_partner, kit, msf_homere_interface4082#. modules: return_claim, msf_partner, kit, msf_homere_interface, supplier_catalogue
4083#: view:composition.kit:04083#: view:composition.kit:0
4084#: view:res.partner:04084#: view:res.partner:0
4085#: view:return.claim:04085#: view:return.claim:0
4086#: view:hr.employee:04086#: view:hr.employee:0
4087#: view:supplier.catalogue:0
4087msgid "Show Inactive"4088msgid "Show Inactive"
4088msgstr "Montrer les Inactifs"4089msgstr "Montrer les Inactifs"
40894090
@@ -8656,6 +8657,7 @@
8656#: selection:account.invoice,counterpart_inv_status:08657#: selection:account.invoice,counterpart_inv_status:0
8657#: selection:wizard.account.invoice,counterpart_inv_status:08658#: selection:wizard.account.invoice,counterpart_inv_status:0
8658#: code:addons/stock_override/report/delivery_order.py:598659#: code:addons/stock_override/report/delivery_order.py:59
8660#: view:res.request:0
8659#, python-format8661#, python-format
8660msgid "Draft"8662msgid "Draft"
8661msgstr "Brouillon"8663msgstr "Brouillon"
@@ -11496,7 +11498,7 @@
11496msgid "Creation Month"11498msgid "Creation Month"
11497msgstr "Creation Month"11499msgstr "Creation Month"
1149811500
11499#. modules: resource, finance, supplier_catalogue, msf_field_access_rights, msf_instance, msf_button_access_rights, msf_tools, analytic_distribution, financing_contract, sync_client11501#. modules: resource, finance, supplier_catalogue, msf_field_access_rights, msf_instance, msf_button_access_rights, msf_tools, analytic_distribution, financing_contract, sync_client, hr,res_currency_functional,msf_profile
11500#: view:financing.contract.donor:011502#: view:financing.contract.donor:0
11501#: view:msf.instance:011503#: view:msf.instance:0
11502#: selection:msf.instance.cloud,state:011504#: selection:msf.instance.cloud,state:0
@@ -11512,6 +11514,11 @@
11512#: report:addons/msf_tools/report/report_inconsistencies_xls.mako:10611514#: report:addons/msf_tools/report/report_inconsistencies_xls.mako:106
11513#: view:resource.resource:011515#: view:resource.resource:0
11514#: view:supplier.catalogue:011516#: view:supplier.catalogue:0
11517#: view:hr.employee:0
11518#: view:res.users:0
11519#: view:res.currency:0
11520#: view:product.product:0
11521#: view:res.request:0
11515msgid "Inactive"11522msgid "Inactive"
11516msgstr "Inactif"11523msgstr "Inactif"
1151711524
@@ -17584,6 +17591,7 @@
1758417591
17585#. module: base17592#. module: base
17586#: field:ir.model.access,perm_create:017593#: field:ir.model.access,perm_create:0
17594#: field:ir.model.access.empty,perm_create:0
17587msgid "Create Access"17595msgid "Create Access"
17588msgstr "Créer l'Accès "17596msgstr "Créer l'Accès "
1758917597
@@ -20966,9 +20974,10 @@
20966msgid "Etc/GMT-11"20974msgid "Etc/GMT-11"
20967msgstr "Etc/GMT-11"20975msgstr "Etc/GMT-11"
2096820976
20969#. module: sales_followup, msf_tools20977#. modules: sales_followup, msf_tools, account
20970#: selection:ir.followup.location.wizard,state:020978#: selection:ir.followup.location.wizard,state:0
20971#: selection:job.in_progress,state:020979#: selection:job.in_progress,state:0
20980#: view:account.subscription:0
20972msgid "Done"20981msgid "Done"
20973msgstr "Cloturé"20982msgstr "Cloturé"
2097420983
@@ -23186,9 +23195,10 @@
23186msgid "Dest. Address"23195msgid "Dest. Address"
23187msgstr "Dest. Address"23196msgstr "Dest. Address"
2318823197
23189#. modules: delivery_mechanism, stock_override23198#. modules: delivery_mechanism, stock_override, account
23190#: view:stock.picking.processing.info:023199#: view:stock.picking.processing.info:0
23191#: view:change.dest.location:023200#: view:change.dest.location:0
23201#: view:account.period:0
23192msgid "Close"23202msgid "Close"
23193msgstr "Fermé"23203msgstr "Fermé"
2319423204
@@ -29972,7 +29982,7 @@
29972msgid "Certificate attached ?"29982msgid "Certificate attached ?"
29973msgstr "Certificat attaché ?"29983msgstr "Certificat attaché ?"
2997429984
29975#. modules: msf_supply_doc_export, sourcing, consumption_calculation, sale, sales_followup, msf_supply_doc_export, purchase, account_override, account, register_accounting, stock_override, purchase_override, tender_flow29985#. modules: msf_supply_doc_export, sourcing, consumption_calculation, sale, sales_followup, msf_supply_doc_export, purchase, account_override, account, register_accounting, stock_override, purchase_override, tender_flow, base
29976#: field:po.follow.up,closed_ok:029986#: field:po.follow.up,closed_ok:0
29977#: selection:real.average.consumption,state:029987#: selection:real.average.consumption,state:0
29978#: selection:po.follow.up,state:029988#: selection:po.follow.up,state:0
@@ -29988,6 +29998,7 @@
29988#: selection:wizard.account.invoice,state:029998#: selection:wizard.account.invoice,state:0
29989#: selection:account.invoice,counterpart_inv_status:029999#: selection:account.invoice,counterpart_inv_status:0
29990#: code:addons/stock_override/report/delivery_order.py:6430000#: code:addons/stock_override/report/delivery_order.py:64
30001#: view:res.request:0
29991msgid "Closed"30002msgid "Closed"
29992msgstr "Fermé"30003msgstr "Fermé"
2999330004
@@ -31584,6 +31595,7 @@
31584#: selection:account.account.template,type:031595#: selection:account.account.template,type:0
31585#: selection:account.entries.report,type:031596#: selection:account.entries.report,type:0
31586#: selection:account.partner.balance.tree,account_type:031597#: selection:account.partner.balance.tree,account_type:0
31598#: view:account.account:0
31587msgid "Payable"31599msgid "Payable"
31588msgstr "Fournisseur"31600msgstr "Fournisseur"
3158931601
@@ -36901,14 +36913,12 @@
36901msgstr "L'Identité de l'enregistrement est attachée à ce(t)"36913msgstr "L'Identité de l'enregistrement est attachée à ce(t)"
3690236914
36903#. modules: account, finance36915#. modules: account, finance
36904#: view:account.account:0
36905#: selection:account.aged.trial.balance,result_selection:036916#: selection:account.aged.trial.balance,result_selection:0
36906#: selection:account.common.partner.report,result_selection:036917#: selection:account.common.partner.report,result_selection:0
36907#: selection:account.partner.balance,result_selection:036918#: selection:account.partner.balance,result_selection:0
36908#: selection:account.partner.ledger,result_selection:036919#: selection:account.partner.ledger,result_selection:0
36909#: code:addons/account/report/account_partner_ledger.py:29436920#: code:addons/account/report/account_partner_ledger.py:294
36910#: model:ir.actions.act_window,name:account.action_aged_receivable36921#: model:ir.actions.act_window,name:account.action_aged_receivable
36911#: view:account.account:0
36912#: selection:wizard.account.partner.balance.tree,result_selection:036922#: selection:wizard.account.partner.balance.tree,result_selection:0
36913#: code:addons/finance/report/account_partner_balance_tree.py:9036923#: code:addons/finance/report/account_partner_balance_tree.py:90
36914#, python-format36924#, python-format
@@ -38991,6 +39001,7 @@
38991#: field:purchase.order.merged.line,create_date:039001#: field:purchase.order.merged.line,create_date:0
38992#: field:internal.request.import,in_creation_date:039002#: field:internal.request.import,in_creation_date:0
38993#: field:purchase.order.line,create_date:039003#: field:purchase.order.line,create_date:0
39004#: field:internal.request.import,in_creation_date:0
38994#, python-format39005#, python-format
38995msgid "Creation date"39006msgid "Creation date"
38996msgstr "Date de création"39007msgstr "Date de création"
@@ -48117,6 +48128,7 @@
48117#: view:account.bank.statement:048128#: view:account.bank.statement:0
48118#: view:account.bank.statement.line:048129#: view:account.bank.statement.line:0
48119#: view:sale.order.line:048130#: view:sale.order.line:0
48131#: view:free.allocation.wizard:0
48120msgid "Delete"48132msgid "Delete"
48121msgstr "Supprimer"48133msgstr "Supprimer"
4812248134
@@ -51584,12 +51596,15 @@
51584" Creates automatically Purchase Orders after choosing.\n"51596" Creates automatically Purchase Orders after choosing.\n"
51585" "51597" "
5158651598
51587#. modules: financing_contract, msf_homere_interface, analytic_distribution51599#. modules: financing_contract, msf_homere_interface, analytic_distribution, msf_partner, supplier_catalogue, kit
51588#: view:account.destination.link:051600#: view:account.destination.link:0
51589#: view:financing.contract.account.quadruplet:051601#: view:financing.contract.account.quadruplet:0
51590#: view:hr.employee:051602#: view:hr.employee:0
51603#: view:res.partner:0
51604#: view:composition.kit:0
51605#: view:supplier.catalogue:0
51591msgid "Show Active"51606msgid "Show Active"
51592msgstr "Montrer Actif"51607msgstr "Montrer les Actifs"
5159351608
51594#. module: account51609#. module: account
51595#: field:account.installer.modules,account_payment:051610#: field:account.installer.modules,account_payment:0
@@ -53103,6 +53118,7 @@
53103#: selection:cash.request.liquidity.cheque,type:053118#: selection:cash.request.liquidity.cheque,type:0
53104#: selection:account.journal.fake,type:053119#: selection:account.journal.fake,type:0
53105#: selection:wizard.register.opening.confirmation,register_type:053120#: selection:wizard.register.opening.confirmation,register_type:0
53121#: view:account.account:0
53106msgid "Accrual"53122msgid "Accrual"
53107msgstr "Accrual"53123msgstr "Accrual"
5310853124
@@ -57377,10 +57393,12 @@
57377msgid "Parent shipment"57393msgid "Parent shipment"
57378msgstr "Expédition Parent "57394msgstr "Expédition Parent "
5737957395
57380#. modules: sourcing, analytic_distribution, account_mcdb57396#. modules: sourcing, analytic_distribution, account_mcdb, account
57381#: view:analytic.distribution.wizard:057397#: view:analytic.distribution.wizard:0
57382#: view:multiple.sourcing.wizard:057398#: view:multiple.sourcing.wizard:0
57383#: view:account.mcdb:057399#: view:account.mcdb:0
57400#: view:account.common.report:0
57401#: view:free.allocation.wizard:0
57384msgid "Save"57402msgid "Save"
57385msgstr "Sauver"57403msgstr "Sauver"
5738657404
@@ -66225,6 +66243,7 @@
6622566243
66226#. module: account66244#. module: account
66227#: selection:report.account.receivable,type:066245#: selection:report.account.receivable,type:0
66246#: view:account.account:0
66228msgid "Income"66247msgid "Income"
66229msgstr "Income"66248msgstr "Income"
6623066249
@@ -72256,7 +72275,7 @@
72256msgid "Navajo"72275msgid "Navajo"
72257msgstr "Navajo"72276msgstr "Navajo"
7225872277
72259#. modules: product_nomenclature, process, financing_contract, mission_stock, procurement_cycle, sync_client, supplier_catalogue, analytic_distribution, product, finance, hr, msf_instance, kit, base, msf_tools, res_currency_functional, procurement_report, threshold_value, purchase, account, resource, msf_partner, procurement_auto, msf_field_access_rights, sale, procurement, msf_button_access_rights, stock, product_attributes, account_period_closing_level, account_mcdb72278#. modules: product_nomenclature, process, financing_contract, mission_stock, procurement_cycle, sync_client, supplier_catalogue, analytic_distribution, product, finance, hr, msf_instance, kit, base, msf_tools, res_currency_functional, procurement_report, threshold_value, purchase, account, resource, msf_partner, procurement_auto, msf_field_access_rights, sale, procurement, msf_button_access_rights, stock, product_attributes, account_period_closing_level, account_mcdb, msf_profile
72260#: field:account.account,active:072279#: field:account.account,active:0
72261#: field:account.analytic.journal,active:072280#: field:account.analytic.journal,active:0
72262#: field:account.journal.period,active:072281#: field:account.journal.period,active:0
@@ -72327,6 +72346,10 @@
72327#: field:sync.client.message_rule,active:072346#: field:sync.client.message_rule,active:0
72328#: selection:sync.version.instance.monitor,instance_state:072347#: selection:sync.version.instance.monitor,instance_state:0
72329#: field:product.mass.update,active_product:072348#: field:product.mass.update,active_product:0
72349#: view:composition.kit:0
72350#: view:res.users:0
72351#: view:product.product:0
72352#: view:res.request:0
72330#, python-format72353#, python-format
72331msgid "Active"72354msgid "Active"
72332msgstr "Actif"72355msgstr "Actif"
@@ -76083,6 +76106,7 @@
7608376106
76084#. module: account76107#. module: account
76085#: selection:report.account.receivable,type:076108#: selection:report.account.receivable,type:0
76109#: view:account.account:0
76086msgid "Expense"76110msgid "Expense"
76087msgstr "Expense"76111msgstr "Expense"
7608876112
@@ -77705,7 +77729,7 @@
77705msgid "Indicative Total Value"77729msgid "Indicative Total Value"
77706msgstr "Valeur totale"77730msgstr "Valeur totale"
7770777731
77708#. modules: tender_flow, account_voucher, account_override, purchase_allocation_report, register_accounting, msf_accrual, stock_forecast, analytic, msf_supply_doc_export, stock, msf_order_date, account_payment, sales_followup, consumption_calculation, purchase_override, specific_rules, kit, out_step, base, purchase, account, msf_outgoing, sale, procurement, sourcing, stock_override77732#. modules: tender_flow, account_voucher, account_override, purchase_allocation_report, register_accounting, msf_accrual, stock_forecast, analytic, msf_supply_doc_export, stock, msf_order_date, account_payment, sales_followup, consumption_calculation, purchase_override, specific_rules, kit, out_step, base, purchase, account, msf_outgoing, sale, procurement, sourcing, stock_override, procurement_request
77709#: selection:account.invoice,state:077733#: selection:account.invoice,state:0
77710#: selection:account.invoice.report,state:077734#: selection:account.invoice.report,state:0
77711#: selection:report.invoice.created,state:077735#: selection:report.invoice.created,state:0
@@ -77775,6 +77799,10 @@
77775#: selection:wizard.account.invoice,counterpart_inv_status:077799#: selection:wizard.account.invoice,counterpart_inv_status:0
77776#: field:po.follow.up,cancel_ok:077800#: field:po.follow.up,cancel_ok:0
77777#: code:addons/stock_override/report/delivery_order.py:6577801#: code:addons/stock_override/report/delivery_order.py:65
77802#: view:real.average.consumption:0
77803#: view:shipment:0
77804#: view:stock.picking:0
77805#: view:sale.order:0
77778#, python-format77806#, python-format
77779msgid "Cancelled"77807msgid "Cancelled"
77780msgstr "Annulé"77808msgstr "Annulé"
@@ -79191,6 +79219,7 @@
7919179219
79192#. module: base79220#. module: base
79193#: field:ir.model.access,perm_unlink:079221#: field:ir.model.access,perm_unlink:0
79222#: field:ir.model.access.empty,perm_unlink:0
79194msgid "Delete Access"79223msgid "Delete Access"
79195msgstr "Supprimer Accès"79224msgstr "Supprimer Accès"
7919679225
@@ -85039,14 +85068,12 @@
85039msgstr "Ajouter un en-tête RML"85068msgstr "Ajouter un en-tête RML"
8504085069
85041#. modules: account, finance85070#. modules: account, finance
85042#: view:account.account:0
85043#: view:account.account.template:085071#: view:account.account.template:0
85044#: selection:account.aged.trial.balance,result_selection:085072#: selection:account.aged.trial.balance,result_selection:0
85045#: selection:account.common.partner.report,result_selection:085073#: selection:account.common.partner.report,result_selection:0
85046#: selection:account.partner.balance,result_selection:085074#: selection:account.partner.balance,result_selection:0
85047#: selection:account.partner.ledger,result_selection:085075#: selection:account.partner.ledger,result_selection:0
85048#: code:addons/account/report/account_partner_ledger.py:29685076#: code:addons/account/report/account_partner_ledger.py:296
85049#: view:account.account:0
85050#: code:addons/finance/report/account_partner_balance_tree.py:9285077#: code:addons/finance/report/account_partner_balance_tree.py:92
85051#: selection:wizard.account.partner.balance.tree,result_selection:085078#: selection:wizard.account.partner.balance.tree,result_selection:0
85052#, python-format85079#, python-format
@@ -88676,6 +88703,7 @@
8867688703
88677#. modules: sales_followup, msf_outgoing88704#. modules: sales_followup, msf_outgoing
88678#: code:addons/sales_followup/sale_followup.py:52588705#: code:addons/sales_followup/sale_followup.py:525
88706#: view:shipment:0
88679#, python-format88707#, python-format
88680msgid "Packed"88708msgid "Packed"
88681msgstr "Emballé"88709msgstr "Emballé"
@@ -89112,6 +89140,7 @@
89112#: selection:account.account.template,type:089140#: selection:account.account.template,type:0
89113#: selection:account.entries.report,type:089141#: selection:account.entries.report,type:0
89114#: selection:account.partner.balance.tree,account_type:089142#: selection:account.partner.balance.tree,account_type:0
89143#: view:account.account:0
89115msgid "Receivable"89144msgid "Receivable"
89116msgstr "Créditeurs"89145msgstr "Créditeurs"
8911789146
@@ -93252,6 +93281,7 @@
93252#: field:internal.request.import,imp_creation_date:093281#: field:internal.request.import,imp_creation_date:0
93253#: report:addons/stock/report/products_situation_report_xls.mako:22193282#: report:addons/stock/report/products_situation_report_xls.mako:221
93254#: report:addons/stock/report/stock_delivery_report_xls.mako:22593283#: report:addons/stock/report/stock_delivery_report_xls.mako:225
93284#: field:internal.request.import,imp_creation_date:0
93255msgid "Creation Date"93285msgid "Creation Date"
93256msgstr "Date de Création"93286msgstr "Date de Création"
9325793287
@@ -107625,6 +107655,7 @@
107625#: view:sync.version.instance.monitor:0107655#: view:sync.version.instance.monitor:0
107626msgid "Late jobs"107656msgid "Late jobs"
107627msgstr "Tâches en retard"107657msgstr "Tâches en retard"
107658<<<<<<< TREE
107628107659
107629#. module: product107660#. module: product
107630#: model:ir.actions.report.xml,name:product.product_ed_bn_mass_update_export_xls107661#: model:ir.actions.report.xml,name:product.product_ed_bn_mass_update_export_xls
@@ -107657,3 +107688,11 @@
107657#: field:product.ed_bn.mass.update.history,old_ed:0107688#: field:product.ed_bn.mass.update.history,old_ed:0
107658msgid "Old ED"107689msgid "Old ED"
107659msgstr "Ancien EXP"107690msgstr "Ancien EXP"
107691=======
107692
107693#. module: product_attributes
107694#: code:addons/product_attributes/product_attributes.py:1026
107695#, python-format
107696msgid "Only not forbidden"
107697msgstr "Produits autorisés"
107698>>>>>>> MERGE-SOURCE
107660107699
=== modified file 'bin/addons/msf_profile/msf_profile.py'
--- bin/addons/msf_profile/msf_profile.py 2019-10-02 08:24:26 +0000
+++ bin/addons/msf_profile/msf_profile.py 2019-10-30 13:23:31 +0000
@@ -1922,7 +1922,7 @@
1922 select res_id from ir_model_data d1922 select res_id from ir_model_data d
1923 where d.module='sd'1923 where d.module='sd'
1924 and d.model='res.partner'1924 and d.model='res.partner'
1925 and name not in ('msf_doc_import_supplier_tbd', 'order_types_res_partner_local_market')1925 and name != 'order_types_res_partner_local_market'
1926 and name not like '%s%%'1926 and name not like '%s%%'
1927 ) """ % (identifier, )) # not_a_user_entry1927 ) """ % (identifier, )) # not_a_user_entry
1928 self._logger.warn('%s non local partners updated' % (cr.rowcount,))1928 self._logger.warn('%s non local partners updated' % (cr.rowcount,))
19291929
=== modified file 'bin/addons/msf_profile/user_access_configurator_view.xml'
--- bin/addons/msf_profile/user_access_configurator_view.xml 2019-04-02 13:37:23 +0000
+++ bin/addons/msf_profile/user_access_configurator_view.xml 2019-10-30 13:23:31 +0000
@@ -360,7 +360,7 @@
360 <field name="priority" eval="99" />360 <field name="priority" eval="99" />
361 <field name="arch" type="xml">361 <field name="arch" type="xml">
362 <search string="Groups">362 <search string="Groups">
363 <filter name="show_active" string="Only inactive" icon="gtk-cancel" domain="[('visible_res_groups', '=', False)]" context="{'show_invisible': True}" />363 <filter name="only_inactive" string="Only inactive" icon="gtk-cancel" domain="[('visible_res_groups', '=', False)]" context="{'show_invisible': True}" />
364 <filter name="show_good_level" string="All Levels" icon="gtk-cancel" context="{'show_all_level': True}" />364 <filter name="show_good_level" string="All Levels" icon="gtk-cancel" context="{'show_all_level': True}" />
365 <field name="name" />365 <field name="name" />
366 <field name="is_an_admin_profile" />366 <field name="is_an_admin_profile" />
@@ -387,7 +387,9 @@
387 <field name="priority" eval="99" />387 <field name="priority" eval="99" />
388 <field name="arch" type="xml">388 <field name="arch" type="xml">
389 <search string="Users">389 <search string="Users">
390 <filter name="show_inactive" string="Show inactive" icon="gtk-ok" domain="[('active', '=', False)]" />390 <filter name="active" string="Active" icon="terp-personal+" domain="[('active', '=', True)]" />
391 <filter name="inactive" string="Inactive" icon="terp-personal-" domain="[('active', '=', False)]" />
392 <separator orientation="vertical"/>
391 <filter name="show_synchronized" string="Show synchronized" icon="gtk-ok" domain="[('synchronize', '=', True)]"/>393 <filter name="show_synchronized" string="Show synchronized" icon="gtk-ok" domain="[('synchronize', '=', True)]"/>
392 <field name="name" />394 <field name="name" />
393 <field name="login" />395 <field name="login" />
394396
=== modified file 'bin/addons/out_step/out_step_view.xml'
--- bin/addons/out_step/out_step_view.xml 2019-06-18 07:28:19 +0000
+++ bin/addons/out_step/out_step_view.xml 2019-10-30 13:23:31 +0000
@@ -36,12 +36,11 @@
36 <field name="inherit_id" ref="stock.view_picking_out_search" />36 <field name="inherit_id" ref="stock.view_picking_out_search" />
37 <field name="arch" type="xml">37 <field name="arch" type="xml">
38 <data>38 <data>
39
40 <filter name="done" position="replace">39 <filter name="done" position="replace">
41 <!-- <separator orientation="vertical"/> -->40 <!-- <separator orientation="vertical"/> -->
42 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" help="Delivery orders already processed"/>41 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" help="Delivery orders already processed"/>
43 <filter icon="gtk-yes" name="delivered" string="Delivered" domain="[('state', '=', 'delivered')]" help="Delivered Delivery Orders" />42 <filter icon="gtk-yes" name="delivered" string="Delivered" domain="[('state', '=', 'delivered')]" help="Delivered Delivery Orders" />
44 <!-- <filter icon="gtk-no" name="not_delivered" string="Not Delivered" domain="[('state', '=', 'done'), ('delivered', '=', False)]" help="Not Delivered Delivery Orders" /> -->43 <filter icon="gtk-cancel" name="cancel" string="Cancelled" domain="[('state','=','cancel')]" />
45 <separator orientation="vertical"/>44 <separator orientation="vertical"/>
46 </filter>45 </filter>
47 46
@@ -50,4 +49,4 @@
50 </record>49 </record>
51 50
52 </data>51 </data>
53</openerp>
54\ No newline at end of file52\ No newline at end of file
53</openerp>
5554
=== modified file 'bin/addons/procurement/procurement_view.xml'
--- bin/addons/procurement/procurement_view.xml 2017-10-04 05:23:42 +0000
+++ bin/addons/procurement/procurement_view.xml 2019-10-30 13:23:31 +0000
@@ -107,8 +107,8 @@
107 help="Procurement started late" />107 help="Procurement started late" />
108 <separator orientation="vertical"/>108 <separator orientation="vertical"/>
109 <filter icon="terp-emblem-important" string="Exceptions" name="exceptions" domain="[('state','=','exception')]" help="Procurement Exceptions"/>109 <filter icon="terp-emblem-important" string="Exceptions" name="exceptions" domain="[('state','=','exception')]" help="Procurement Exceptions"/>
110 <filter icon="terp-emblem-important" string="To Fix" name="perm_exceptions" domain="[('state','=','exception'),('message', '!=', '')]" help="Permanent Procurement Exceptions"/>110 <filter icon="terp-emblem-important" string="To Fix" name="perm_exceptions" domain="['&amp;', ('state','=','exception'),('message', '!=', '')]" help="Permanent Procurement Exceptions"/>
111 <filter icon="terp-emblem-important" string="Temporary" name="temp_exceptions" domain="[('state','=','exception'),('message', '=', '')]" help="Temporary Procurement Exceptions"/>111 <filter icon="terp-emblem-important" string="Temporary" name="temp_exceptions" domain="['&amp;', ('state','=','exception'),('message', '=', '')]" help="Temporary Procurement Exceptions"/>
112 <separator orientation="vertical"/>112 <separator orientation="vertical"/>
113 <field name="origin"/>113 <field name="origin"/>
114 <field name="product_id" />114 <field name="product_id" />
115115
=== modified file 'bin/addons/procurement_request/procurement_request_view.xml'
--- bin/addons/procurement_request/procurement_request_view.xml 2019-07-30 09:18:07 +0000
+++ bin/addons/procurement_request/procurement_request_view.xml 2019-10-30 13:23:31 +0000
@@ -175,9 +175,11 @@
175 <search string="Internal Requests">175 <search string="Internal Requests">
176 <group string="Filters" expand="1">176 <group string="Filters" expand="1">
177 <filter name="state_proc" string="Draft" icon="terp-document-new" domain="[('state', 'in', ['draft','draft_p'])]" />177 <filter name="state_proc" string="Draft" icon="terp-document-new" domain="[('state', 'in', ['draft','draft_p'])]" />
178 <filter name="state_valid" string="Validated" icon="terp-camera_test" domain="[('state', 'in', ['validated','validated_p'])]" />178 <filter name="state_valid" string="Validated" icon="terp-check" domain="[('state', 'in', ['validated','validated_p'])]" />
179 <filter name="state_proc_progress" string="Confirmed" icon="terp-stage" domain="[('state', 'in', ('confirmed', 'confirmed_p'))]" />179 <filter name="sourced" string="Sourced" icon="gtk-paste-v" domain="[('state','in',['sourced','sourced_p'])]" />
180 <filter name="state_proc_progress" string="Confirmed" icon="terp-camera_test" domain="[('state', 'in', ('confirmed', 'confirmed_p'))]" />
180 <filter name="state_done" string="Closed" icon="terp-dialog-close" domain="[('state', '=', 'done')]" />181 <filter name="state_done" string="Closed" icon="terp-dialog-close" domain="[('state', '=', 'done')]" />
182 <filter name="cancelled" string="Cancelled" icon="gtk-cancel" domain="[('state', '=', 'cancel')]" />
181 <separator orientation="vertical" />183 <separator orientation="vertical" />
182 <field name="name" />184 <field name="name" />
183 <field name="origin" />185 <field name="origin" />
184186
=== modified file 'bin/addons/product/product_view.xml'
--- bin/addons/product/product_view.xml 2019-01-30 08:28:30 +0000
+++ bin/addons/product/product_view.xml 2019-10-30 13:23:31 +0000
@@ -10,6 +10,7 @@
10 <field name="arch" type="xml">10 <field name="arch" type="xml">
11 <search string="Product">11 <search string="Product">
12 <filter string="Stock>0" icon="terp-accessories-archiver" domain="[('postive_qty','=',True)]"/>12 <filter string="Stock>0" icon="terp-accessories-archiver" domain="[('postive_qty','=',True)]"/>
13 <separator orientation="vertical"/>
13 <filter string="Services" icon="terp-accessories-archiver" domain="[('type','=','service')]"/>14 <filter string="Services" icon="terp-accessories-archiver" domain="[('type','=','service')]"/>
14 <filter string="Stockable" icon="terp-accessories-archiver" domain="['|',('type','=','product'),('type','=','consu')]"/>15 <filter string="Stockable" icon="terp-accessories-archiver" domain="['|',('type','=','product'),('type','=','consu')]"/>
15 <separator orientation="vertical"/>16 <separator orientation="vertical"/>
@@ -194,6 +195,8 @@
194 <field name="view_type">form</field>195 <field name="view_type">form</field>
195 <field name="view_id" ref="product_product_tree_view"/>196 <field name="view_id" ref="product_product_tree_view"/>
196 <field name="search_view_id" ref="product_search_form_view"/>197 <field name="search_view_id" ref="product_search_form_view"/>
198 <field name="context">{'display_active_filter':1}</field>
199 <field name="domain">[('default_code', '!=', 'TBD')]</field>
197 <field name="help">You must define a Product for everything you buy or sell. Products can be raw materials, stockable products, consumables or services. The Product form contains detailed information about your products related to procurement logistics, sales price, product category, suppliers and so on.</field>200 <field name="help">You must define a Product for everything you buy or sell. Products can be raw materials, stockable products, consumables or services. The Product form contains detailed information about your products related to procurement logistics, sales price, product category, suppliers and so on.</field>
198 </record>201 </record>
199202
200203
=== modified file 'bin/addons/product_attributes/product_attributes.py'
--- bin/addons/product_attributes/product_attributes.py 2019-10-28 16:42:13 +0000
+++ bin/addons/product_attributes/product_attributes.py 2019-10-30 13:23:31 +0000
@@ -1000,22 +1000,31 @@
10001000
1001 res = super(product_attributes, self).fields_view_get(cr, uid, view_id, view_type, context=context, toolbar=toolbar, submenu=submenu)1001 res = super(product_attributes, self).fields_view_get(cr, uid, view_id, view_type, context=context, toolbar=toolbar, submenu=submenu)
10021002
1003<<<<<<< TREE
1003 if view_type == 'search' and context.get('display_batch_attr'):1004 if view_type == 'search' and context.get('display_batch_attr'):
1004 root = etree.fromstring(res['arch'])1005 root = etree.fromstring(res['arch'])
1005 for field in root.xpath('//group[@name="batch_attr"]'):1006 for field in root.xpath('//group[@name="batch_attr"]'):
1006 field.set('invisible', '0')1007 field.set('invisible', '0')
1007 res['arch'] = etree.tostring(root)1008 res['arch'] = etree.tostring(root)
1009=======
1010 if view_type == 'search' and context.get('display_active_filter'):
1011 root = etree.fromstring(res['arch'])
1012 for field in root.xpath('//group[@name="display_active_filter"]'):
1013 field.set('invisible', '0')
1014 res['arch'] = etree.tostring(root)
1015
1016>>>>>>> MERGE-SOURCE
1008 if view_type == 'search' and context.get('available_for_restriction'):1017 if view_type == 'search' and context.get('available_for_restriction'):
1009 context.update({'search_default_not_restricted': 1})1018 context.update({'search_default_not_restricted': 1})
1010 root = etree.fromstring(res['arch'])1019 root = etree.fromstring(res['arch'])
1011 # xpath of fields to be modified1020 # xpath of fields to be modified
1012 xpath = '//filter[@string="Service with Reception"]'1021 xpath = '//filter[@name="service_with_reception"]'
1013 fields = root.xpath(xpath)1022 fields = root.xpath(xpath)
10141023
1015 if not fields:1024 if not fields:
1016 return res1025 return res
10171026
1018 state_index = root.index(fields[0])1027 parent_node = fields[0].getparent()
1019 new_separator = """<separator orientation="vertical" />"""1028 new_separator = """<separator orientation="vertical" />"""
1020 sep_form = etree.fromstring(new_separator)1029 sep_form = etree.fromstring(new_separator)
1021 arg = context.get('available_for_restriction')1030 arg = context.get('available_for_restriction')
@@ -1030,12 +1039,13 @@
1030 context=context)1039 context=context)
1031 else:1040 else:
1032 filter_domain = "[('available_for_restriction','=',%s)]" % arg1041 filter_domain = "[('available_for_restriction','=',%s)]" % arg
1033 new_filter = """<filter string="Only not forbidden" name="not_restricted" icon="terp-accessories-archiver-minus" domain="%s" />""" % filter_domain1042 new_filter = """<filter string="%s" name="not_restricted" icon="terp-accessories-archiver-minus" domain="%s" />""" % (_('Only not forbidden'), filter_domain)
1034 #generate new xml form$1043 #generate new xml form$
1035 new_form = etree.fromstring(new_filter)1044 new_form = etree.fromstring(new_filter)
1036 # instert new form just after state index position1045 # instert new form just after state index position
1037 root.insert(state_index+1, new_form)1046 state_index = parent_node.index(fields[0])
1038 root.insert(state_index+1, sep_form)1047 parent_node.insert(state_index+1, new_form)
1048 parent_node.insert(state_index+1, sep_form)
1039 # generate xml back to string1049 # generate xml back to string
1040 res['arch'] = etree.tostring(root)1050 res['arch'] = etree.tostring(root)
10411051
10421052
=== modified file 'bin/addons/product_attributes/product_attributes_view.xml'
--- bin/addons/product_attributes/product_attributes_view.xml 2019-10-28 16:42:13 +0000
+++ bin/addons/product_attributes/product_attributes_view.xml 2019-10-30 13:23:31 +0000
@@ -463,9 +463,10 @@
463 <field name="arch" type="xml">463 <field name="arch" type="xml">
464 <search string="Product">464 <search string="Product">
465 <filter string="Stock>0" icon="terp-accessories-archiver" domain="[('postive_qty','=',True)]"/>465 <filter string="Stock>0" icon="terp-accessories-archiver" domain="[('postive_qty','=',True)]"/>
466 <separator orientation="vertical"/>
466 <filter string="Stockable" icon="terp-accessories-archiver" domain="[('type','=','product')]"/>467 <filter string="Stockable" icon="terp-accessories-archiver" domain="[('type','=','product')]"/>
467 <filter string="Non-Stockable" icon="terp-accessories-archiver" domain="[('type','=','consu')]"/>468 <filter string="Non-Stockable" icon="terp-accessories-archiver" domain="[('type','=','consu')]"/>
468 <filter string="Service with Reception" icon="terp-accessories-archiver" domain="[('type','=','service_recep')]" />469 <filter string="Service with Reception" name="service_with_reception" icon="terp-accessories-archiver" domain="[('type','=','service_recep')]" />
469 <separator orientation="vertical"/>470 <separator orientation="vertical"/>
470 <field name="default_code" string="Code"/>471 <field name="default_code" string="Code"/>
471 <field name="name" string="Description"/>472 <field name="name" string="Description"/>
@@ -473,12 +474,25 @@
473 <field name="uf_create_date" string="Creation" widget="date" />474 <field name="uf_create_date" string="Creation" widget="date" />
474 <field name="uf_write_date" string="Modification" widget="date" />475 <field name="uf_write_date" string="Modification" widget="date" />
475 <newline/>476 <newline/>
477<<<<<<< TREE
476 <filter string="Single Item" icon="terp-accessories-archiver" domain="[('subtype','=','single')]"/>478 <filter string="Single Item" icon="terp-accessories-archiver" domain="[('subtype','=','single')]"/>
477 <filter string="Kit/Module" icon="terp-accessories-archiver" domain="[('subtype','=','kit')]"/>479 <filter string="Kit/Module" icon="terp-accessories-archiver" domain="[('subtype','=','kit')]"/>
478 <filter string="Asset" icon="terp-accessories-archiver" domain="[('subtype','=','asset')]"/>480 <filter string="Asset" icon="terp-accessories-archiver" domain="[('subtype','=','asset')]"/>
479 <group name="batch_attr" invisible="1">481 <group name="batch_attr" invisible="1">
480 <field name="batch_attributes" />482 <field name="batch_attributes" />
481 </group>483 </group>
484=======
485 <group>
486 <filter string="Single Item" icon="terp-accessories-archiver" domain="[('subtype','=','single')]"/>
487 <filter string="Kit/Module" icon="terp-accessories-archiver" domain="[('subtype','=','kit')]"/>
488 <filter string="Asset" icon="terp-accessories-archiver" domain="[('subtype','=','asset')]"/>
489 <group name="display_active_filter" invisible="1">
490 <label />
491 <filter name="active" string="Active" domain="[('active', '=', True)]" icon="terp-check" />
492 <filter name="inactive" string="Inactive" domain="[('active', '=', False)]" icon="gtk-dialog-error"/>
493 </group>
494 </group>
495>>>>>>> MERGE-SOURCE
482 <newline/>496 <newline/>
483 <group expand="0" string="Extended Filters..." />497 <group expand="0" string="Extended Filters..." />
484 <newline/>498 <newline/>
485499
=== modified file 'bin/addons/product_list/product_list_view.xml'
--- bin/addons/product_list/product_list_view.xml 2019-08-12 15:10:42 +0000
+++ bin/addons/product_list/product_list_view.xml 2019-10-30 13:23:31 +0000
@@ -32,6 +32,7 @@
32 <filter string="Sublist" name="only_sublist" domain="[('type', '=', 'sublist')]" icon="gtk-copy" />32 <filter string="Sublist" name="only_sublist" domain="[('type', '=', 'sublist')]" icon="gtk-copy" />
33 <separator orientation="vertical" />33 <separator orientation="vertical" />
34 <filter string="Standard" name="standard" domain="[('standard_list_ok', '=', True)]" icon="terp-rating-rated" />34 <filter string="Standard" name="standard" domain="[('standard_list_ok', '=', True)]" icon="terp-rating-rated" />
35 <separator orientation="vertical" />
35 <filter string="Order list print" name="print_list" domain="[('order_list_print_ok', '=', True)]" icon="gtk-print" />36 <filter string="Order list print" name="print_list" domain="[('order_list_print_ok', '=', True)]" icon="gtk-print" />
36 <field name="ref" />37 <field name="ref" />
37 <field name="name" />38 <field name="name" />
3839
=== modified file 'bin/addons/product_nomenclature/product_nomenclature_view.xml'
--- bin/addons/product_nomenclature/product_nomenclature_view.xml 2019-02-28 15:19:06 +0000
+++ bin/addons/product_nomenclature/product_nomenclature_view.xml 2019-10-30 13:23:31 +0000
@@ -196,19 +196,6 @@
196 </field>196 </field>
197 </record>197 </record>
198198
199 <!--<record id="product_nomenclature_action" model="ir.actions.act_window">
200 <field name="name">Products by Nomenclature</field>
201 <field name="type">ir.actions.act_window</field>
202 <field name="res_model">product.nomenclature</field>
203 <field name="domain">[('parent_id','=',False)]</field>
204 <field name="view_type">tree</field>
205 <field name="view_id" ref="product_nomenclature_tree_view" />
206 <field name="help">Here is a list of all your products classified by
207 nomenclature.</field>
208 </record>
209 <menuitem action="product_nomenclature_action" id="menu_products_nomenclature_sales"
210 parent="base.menu_product" sequence="4" />-->
211
212 <record id="product_nomenclature_action_form" model="ir.actions.act_window">199 <record id="product_nomenclature_action_form" model="ir.actions.act_window">
213 <field name="name">Products Nomenclature</field>200 <field name="name">Products Nomenclature</field>
214 <field name="type">ir.actions.act_window</field>201 <field name="type">ir.actions.act_window</field>
215202
=== modified file 'bin/addons/purchase/purchase_view.xml'
--- bin/addons/purchase/purchase_view.xml 2019-10-28 14:42:19 +0000
+++ bin/addons/purchase/purchase_view.xml 2019-10-30 13:23:31 +0000
@@ -435,14 +435,12 @@
435 <search string="Search Purchase Orders">435 <search string="Search Purchase Orders">
436 <group col="8" colspan="4">436 <group col="8" colspan="4">
437 <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state', 'in', ['draft', 'draft_p'])]" separator="1" help="Purchase orders which are in draft state"/>437 <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state', 'in', ['draft', 'draft_p'])]" separator="1" help="Purchase orders which are in draft state"/>
438 <filter icon="terp-check" name="approved" string="Validated" domain="[('state', 'in', ['validated', 'validated_p'])]" separator="1" help="Purchase orders which are in approved state."/>438 <filter icon="terp-check" name="validated" string="Validated" domain="[('state', 'in', ['validated', 'validated_p'])]" separator="1" help="Purchase orders which are in approved state."/>
439 <filter icon="gtk-paste-v" name="sourced" string="Sourced" domain="[('state','in',['sourced','sourced_p'])]" separator="1"/>439 <filter icon="gtk-paste-v" name="sourced" string="Sourced" domain="[('state','in',['sourced','sourced_p'])]" separator="1"/>
440 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','in',['confirmed','confirmed_p'])]" separator="1" help="Purchase orders which are in validated state."/>440 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','in',['confirmed','confirmed_p'])]" separator="1" help="Purchase orders which are in validated state."/>
441 <filter icon="gtk-close" name="done" string="Closed" domain="[('state', 'in', ['done'])]" separator="1" help="Purchase orders which are in done state."/>441 <filter icon="gtk-close" name="done" string="Closed" domain="[('state', 'in', ['done'])]" separator="1" help="Purchase orders which are in done state."/>
442 <separator orientation="vertical"/>
443 <filter icon="gtk-cancel" name="cancelled" string="Cancelled" domain="[('state', 'in', ['cancel'])]" separator="1" help="Purchase orders which are in cancelled state."/>442 <filter icon="gtk-cancel" name="cancelled" string="Cancelled" domain="[('state', 'in', ['cancel'])]" separator="1" help="Purchase orders which are in cancelled state."/>
444 <separator orientation="vertical"/>443 <separator orientation="vertical"/>
445 <filter icon="terp-emblem-important" name="exception" string="Exception" domain="[('state', 'in', ['except_invoice', 'except_picking'])]" separator="1" help="Purchase orders which are in the exception state."/>
446 <separator orientation="vertical"/>444 <separator orientation="vertical"/>
447 <field name="name" select="1" string="Reference"/>445 <field name="name" select="1" string="Reference"/>
448 <field name="partner_id" select="1" string="Supplier"/>446 <field name="partner_id" select="1" string="Supplier"/>
@@ -547,7 +545,7 @@
547 <field name="type">ir.actions.act_window</field>545 <field name="type">ir.actions.act_window</field>
548 <field name="res_model">purchase.order</field>546 <field name="res_model">purchase.order</field>
549 <field name="view_mode">tree,form,graph,calendar</field>547 <field name="view_mode">tree,form,graph,calendar</field>
550 <field name="context">{'purchase_order': True}</field>548 <field name="context">{'purchase_order': True, 'search_default_draft': 1, 'search_default_validated': 1, 'search_default_sourced': 1}</field>
551 <field name="domain">[('tender_id', '=', False), ('rfq_ok', '=', False)]</field>549 <field name="domain">[('tender_id', '=', False), ('rfq_ok', '=', False)]</field>
552 <field name="search_view_id" ref="purchase.view_purchase_order_filter"/>550 <field name="search_view_id" ref="purchase.view_purchase_order_filter"/>
553 <field name="help">Use this menu to search within your purchase orders by references, supplier, products, etc. For each purchase order, you can track the products received, and control the supplier invoices.</field>551 <field name="help">Use this menu to search within your purchase orders by references, supplier, products, etc. For each purchase order, you can track the products received, and control the supplier invoices.</field>
554552
=== modified file 'bin/addons/purchase/report/purchase_report_view.xml'
--- bin/addons/purchase/report/purchase_report_view.xml 2018-12-07 08:43:21 +0000
+++ bin/addons/purchase/report/purchase_report_view.xml 2019-10-30 13:23:31 +0000
@@ -56,16 +56,16 @@
56 <search string="Purchase Orders">56 <search string="Purchase Orders">
57 <group colspan="10" col="12">57 <group colspan="10" col="12">
58 <filter icon="terp-go-year" string=" Year "58 <filter icon="terp-go-year" string=" Year "
59 domain="[('date','&lt;=', time.strftime('%%Y-%%m-%%d')),('date','&gt;=',time.strftime('%%Y-01-01'))]"59 domain="['&amp;', ('date','&lt;=', time.strftime('%%Y-%%m-%%d')),('date','&gt;=',time.strftime('%%Y-01-01'))]"
60 help="Order in current year"/>60 help="Order in current year"/>
61 <filter icon="terp-go-month" string=" Month "61 <filter icon="terp-go-month" string=" Month "
62 name="month"62 name="month"
63 domain="[('date','&lt;=',(datetime.date.today()+relativedelta(day=31)).strftime('%%Y-%%m-%%d')),('date','&gt;=',(datetime.date.today()-relativedelta(day=1)).strftime('%%Y-%%m-%%d'))]"63 domain="['&amp;', ('date','&lt;=',(datetime.date.today()+relativedelta(day=31)).strftime('%%Y-%%m-%%d')),('date','&gt;=',(datetime.date.today()-relativedelta(day=1)).strftime('%%Y-%%m-%%d'))]"
64 help="Order in current month"/>64 help="Order in current month"/>
65 <filter icon="terp-go-month"65 <filter icon="terp-go-month"
66 string=" Month-1 "66 string=" Month-1 "
67 separator="1"67 separator="1"
68 domain="[('date','&lt;=', (datetime.date.today() - relativedelta(day=31, months=1)).strftime('%%Y-%%m-%%d')),('date','&gt;=',(datetime.date.today() - relativedelta(day=1,months=1)).strftime('%%Y-%%m-%%d'))]"68 domain="['&amp;', ('date','&lt;=', (datetime.date.today() - relativedelta(day=31, months=1)).strftime('%%Y-%%m-%%d')),('date','&gt;=',(datetime.date.today() - relativedelta(day=1,months=1)).strftime('%%Y-%%m-%%d'))]"
69 help="Order in last month"/>69 help="Order in last month"/>
70 <separator orientation="vertical"/>70 <separator orientation="vertical"/>
71 <filter icon="terp-document-new"71 <filter icon="terp-document-new"
@@ -75,7 +75,7 @@
75 <filter icon="terp-gtk-jump-to-rtl"75 <filter icon="terp-gtk-jump-to-rtl"
76 string="Orders"76 string="Orders"
77 name="orders"77 name="orders"
78 domain="[('state','&lt;&gt;','draft'),('state','&lt;&gt;','cancel')]"/>78 domain="['&amp;', ('state','&lt;&gt;','draft'),('state','&lt;&gt;','cancel')]"/>
79 <separator orientation="vertical"/>79 <separator orientation="vertical"/>
80 <field name="partner_id"/>80 <field name="partner_id"/>
81 <field name="product_id"/>81 <field name="product_id"/>
8282
=== modified file 'bin/addons/reason_types_moves/stock_view.xml'
--- bin/addons/reason_types_moves/stock_view.xml 2019-04-09 09:14:46 +0000
+++ bin/addons/reason_types_moves/stock_view.xml 2019-10-30 13:23:31 +0000
@@ -1,25 +1,25 @@
1<?xml version="1.0" encoding="utf-8" ?>1<?xml version="1.0" encoding="utf-8" ?>
2<openerp>2<openerp>
3 <data>3 <data>
4 4
5 <!-- Override Stock Moves -->5 <!-- Override Stock Moves -->
6 <record id="stock_move_tree2_type_id" model="ir.ui.view">6 <record id="stock_move_tree2_type_id" model="ir.ui.view">
7 <field name="name">stock.move.tree2.type.id</field>7 <field name="name">stock.move.tree2.type.id</field>
8 <field name="model">stock.move</field>8 <field name="model">stock.move</field>
9 <field name="type">tree</field>9 <field name="type">tree</field>
10 <field name="priority">20</field>10 <field name="priority">20</field>
11 <field name="inherit_id" ref="stock.stock_move_tree2" />11 <field name="inherit_id" ref="stock.stock_move_tree2" />
12 <field name="arch" type="xml">12 <field name="arch" type="xml">
13 <data>13 <data>
14 <xpath expr="/tree/field[@name='location_dest_id']" position="replace">14 <xpath expr="/tree/field[@name='location_dest_id']" position="replace">
15 <field name="location_dest_id" on_change="location_dest_change(location_dest_id, location_id)" domain="[('id', '!=', location_id)]"/>15 <field name="location_dest_id" on_change="location_dest_change(location_dest_id, location_id)" domain="[('id', '!=', location_id)]"/>
16 </xpath>16 </xpath>
1717
18 <xpath expr="/tree/field[@name='product_uom']" position="after">18 <xpath expr="/tree/field[@name='product_uom']" position="after">
19 <field name="reason_type_id" attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}" />19 <field name="reason_type_id" attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}" />
20 <field name="comment" />20 <field name="comment" />
21 </xpath>21 </xpath>
22 </data>22 </data>
23 </field>23 </field>
24 </record>24 </record>
2525
@@ -31,18 +31,17 @@
31 <field name="priority">25</field>31 <field name="priority">25</field>
32 <field name="inherit_id" ref="stock.view_move_search" />32 <field name="inherit_id" ref="stock.view_move_search" />
33 <field name="arch" type="xml">33 <field name="arch" type="xml">
34 <data>34 <data>
35 <xpath expr="/search//filter[@string='Done']" position="attributes">35 <xpath expr="/search//filter[@string='Done']" position="attributes">
36 <attribute name="string">Closed</attribute>36 <attribute name="string">Closed</attribute>
37 </xpath>37 </xpath>
38 <xpath expr="/search/group[@string='Group By...']/filter[@string='Destination']" position="after">38 <xpath expr="/search/group[@string='Group By...']/filter[@string='Destination']" position="after">
39 <separator />39 <separator />
40 <filter string="Reason Type" name="groupby_reason_type_id" icon="terp-purchase" domain="[]" context="{'group_by':'reason_type_id'}"/>40 <filter string="Reason Type" name="groupby_reason_type_id" icon="terp-purchase" domain="[]" context="{'group_by':'reason_type_id'}"/>
41 </xpath>41 </xpath>
42 </data>42 </data>
43 </field>43 </field>
44 </record>44 </record>
45
4645
47 <record id="inherit_view_move_search_reception_incoming_picking" model="ir.ui.view">46 <record id="inherit_view_move_search_reception_incoming_picking" model="ir.ui.view">
48 <field name="name">inherit.view.move.search.reception.incoming.picking</field>47 <field name="name">inherit.view.move.search.reception.incoming.picking</field>
@@ -51,24 +50,24 @@
51 <field name="priority">20</field>50 <field name="priority">20</field>
52 <field name="inherit_id" ref="stock.view_move_search_reception_incoming_picking" />51 <field name="inherit_id" ref="stock.view_move_search_reception_incoming_picking" />
53 <field name="arch" type="xml">52 <field name="arch" type="xml">
54 <data>53 <data>
55 <xpath expr="/search//filter[@string='Done']" position="attributes">54 <xpath expr="/search//filter[@string='Done']" position="attributes">
56 <attribute name="string">Closed</attribute>55 <attribute name="string">Closed</attribute>
57 </xpath>56 </xpath>
58 57
59 <xpath expr="/search/group/field[@name='origin']" position="before">58 <xpath expr="/search/group/field[@name='origin']" position="before">
60 <field name="picking_id" />59 <field name="picking_id" />
61 <field name="reason_type_id" widget="selection" domain="[('incoming_ok', '=', True)]" />60 <field name="reason_type_id" widget="selection" domain="[('incoming_ok', '=', True)]" />
62 </xpath>61 </xpath>
63 <xpath expr="/search//field[@name='product_id']" position="after">62 <xpath expr="/search//field[@name='product_id']" position="after">
64 <field name="order_category" />63 <field name="order_category" />
65 <field name="state" />64 <field name="state" />
66 </xpath>65 </xpath>
67 <xpath expr="/search//filter[@string='Supplier']" position="after">66 <xpath expr="/search//filter[@string='Supplier']" position="after">
68 <filter string="Reason Type" icon="terp-purchase" domain="[]" context="{'group_by':'reason_type_id'}"/>67 <filter string="Reason Type" icon="terp-purchase" domain="[]" context="{'group_by':'reason_type_id'}"/>
69 <separator orientation="vertical" />68 <separator orientation="vertical" />
70 </xpath>69 </xpath>
71 70
72 </data>71 </data>
73 </field>72 </field>
74 </record>73 </record>
@@ -80,69 +79,72 @@
80 <field name="priority">20</field>79 <field name="priority">20</field>
81 <field name="inherit_id" ref="stock.view_move_search_reception_outcoming_picking" />80 <field name="inherit_id" ref="stock.view_move_search_reception_outcoming_picking" />
82 <field name="arch" type="xml">81 <field name="arch" type="xml">
83 <data>82 <data>
84 <xpath expr="/search//filter[@string='To Do']" position="attributes">83 <xpath expr="/search//filter[@string='To Do']" position="attributes">
85 <attribute name="string">In Progress</attribute>84 <attribute name="string">In Progress</attribute>
86 </xpath>85 </xpath>
87 <xpath expr="/search//filter[@string='Done']" position="attributes">86 <xpath expr="/search//filter[@string='Done']" position="attributes">
88 <attribute name="string">Closed</attribute>87 <attribute name="string">Closed</attribute>
89 </xpath>88 </xpath>
90 89
91 <xpath expr="/search//field[@name='origin']" position="before">90 <xpath expr="/search//field[@name='origin']" position="before">
92 <field name="picking_id" />91 <field name="picking_id" />
93 <field name="reason_type_id" widget="selection" domain="[('outgoing_ok', '=', True)]" />92 <field name="reason_type_id" widget="selection" domain="[('outgoing_ok', '=', True)]" />
94 </xpath>93 </xpath>
95 94
96 <xpath expr="/search/group/field[@name='product_id']" position="after">95 <xpath expr="/search/group/field[@name='product_id']" position="after">
97 <newline />96 <newline />
98 <field name="order_category" />97 <field name="order_category" />
99 <field name="state" />98 <field name="state" />
100 </xpath>99 </xpath>
101 100
102 <xpath expr="/search//filter[@string='Customer']" position="after">101 <xpath expr="/search//filter[@string='Customer']" position="after">
103 <separator orientation="vertical" />102 <separator orientation="vertical" />
104 <filter string="Reason Type" icon="terp-purchase" domain="[]" context="{'group_by':'reason_type_id'}"/>103 <filter string="Reason Type" icon="terp-purchase" domain="[]" context="{'group_by':'reason_type_id'}"/>
105 </xpath>104 </xpath>
106 105
107 <xpath expr="/search/group[@string='Extended Filters...']/field[@name='tracking_id']" position="replace" />106 <xpath expr="/search/group[@string='Extended Filters...']/field[@name='tracking_id']" position="replace" />
108 </data>107 </data>
109 </field>108 </field>
110 </record>109 </record>
111110
112111
113 <record id="inherit_view_move_tree_reception_picking_board" model="ir.ui.view">112 <record id="inherit_view_move_tree_reception_picking_board" model="ir.ui.view">
114 <field name="name">inherit.view.move.tree.reception.picking.board</field>113 <field name="name">inherit.view.move.tree.reception.picking.board</field>
115 <field name="model">stock.move</field>114 <field name="model">stock.move</field>
116 <field name="type">tree</field>115 <field name="type">tree</field>
117 <field name="priority">20</field>116 <field name="priority">20</field>
118 <field name="inherit_id" ref="stock.view_move_tree_reception_picking_board" />117 <field name="inherit_id" ref="stock.view_move_tree_reception_picking_board" />
119 <field name="arch" type="xml">118 <field name="arch" type="xml">
120 <data>119 <data>
121 <xpath expr="/tree/field[@name='product_uom']" position="after">120 <xpath expr="/tree/field[@name='product_uom']" position="after">
122 <field name="reason_type_id" />121 <field name="reason_type_id" />
123 </xpath>122 </xpath>
124 123
125 <button name="action_done" position="attributes">124 <button name="action_done" position="attributes">
126 <attribute name="invisible">1</attribute>125 <attribute name="invisible">1</attribute>
127 </button>126 </button>
128 </data>127 </data>
129 </field>128 </field>
130 </record>129 </record>
131130
132 <!-- id: inherit_view_picking_in_form, name: inherit.view.picking.in.form, inherit_id: stock.view_picking_in_form was here -->131 <!-- id: inherit_view_picking_in_form, name: inherit.view.picking.in.form, inherit_id: stock.view_picking_in_form was here -->
133 <!-- id: inherit_view_picking_form, name: inherit.view.picking.form, inherit_id: stock.view_picking_form was here -->132 <!-- id: inherit_view_picking_form, name: inherit.view.picking.form, inherit_id: stock.view_picking_form was here -->
134 <!-- id: inherit_view_picking_out_form, name: inherit.view.picking.out.form, inherit_id: stock.view_picking_out_form was here -->133 <!-- id: inherit_view_picking_out_form, name: inherit.view.picking.out.form, inherit_id: stock.view_picking_out_form was here -->
135134
136 <record id="stock.view_picking_in_search" model="ir.ui.view">135 <record id="stock.view_picking_in_search" model="ir.ui.view">
137 <field name="name">unifield.stock.picking.in.search</field>136 <field name="name">unifield.stock.picking.in.search</field>
138 <field name="model">stock.picking</field>137 <field name="model">stock.picking</field>
139 <field name="type">search</field>138 <field name="type">search</field>
140 <field name="priority">24</field>139 <field name="priority">24</field>
141 <field name="arch" type="xml">140 <field name="arch" type="xml">
142 <search string="Incoming Shipments">141 <search string="Incoming Shipments">
143 <group col="8" colspan="4">142 <group col="8" colspan="4">
143 <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state', '=', 'draft')]" />
144 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state', '=', 'confirmed')]" />
144 <filter icon="terp-check" name="available" string="Available" domain="[('state','in',('assigned','shipped','updated'))]" help="Incoming Shipments Available" />145 <filter icon="terp-check" name="available" string="Available" domain="[('state','in',('assigned','shipped','updated'))]" help="Incoming Shipments Available" />
145 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" help="Incoming Shipments already processed"/>146 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" help="Incoming Shipments already processed"/>
147 <filter icon="gtk-cancel" name="cancel" string="Cancelled" domain="[('state','=','cancel')]" />
146 <separator orientation="vertical" />148 <separator orientation="vertical" />
147 <filter icon="terp-accessories-archiver-minus" string="Back Orders" domain="[('backorder_id', '!=', False)]" help="Is a Back Order" />149 <filter icon="terp-accessories-archiver-minus" string="Back Orders" domain="[('backorder_id', '!=', False)]" help="Is a Back Order" />
148 <separator orientation="vertical"/>150 <separator orientation="vertical"/>
@@ -169,10 +171,10 @@
169 <filter string="Reason type" icon="terp-purchase" domain="[]" context="{'group_by': 'reason_type_id'}" />171 <filter string="Reason type" icon="terp-purchase" domain="[]" context="{'group_by': 'reason_type_id'}" />
170 </group>172 </group>
171 </search>173 </search>
172 </field>174 </field>
173 </record>175 </record>
174 176
175 <record id="stock.view_picking_in_tree" model="ir.ui.view">177 <record id="stock.view_picking_in_tree" model="ir.ui.view">
176 <field name="name">unifield.stock.picking.in.tree</field>178 <field name="name">unifield.stock.picking.in.tree</field>
177 <field name="model">stock.picking</field>179 <field name="model">stock.picking</field>
178 <field name="type">tree</field>180 <field name="type">tree</field>
@@ -195,13 +197,13 @@
195 </tree>197 </tree>
196 </field>198 </field>
197 </record>199 </record>
198 200
199 <record id="stock.action_picking_tree4" model="ir.actions.act_window">201 <record id="stock.action_picking_tree4" model="ir.actions.act_window">
200 <field name="context">{'contact_display': 'partner_address',202 <field name="context">{'contact_display': 'partner_address',
201 'subtype': 'in',203 'subtype': 'in',
202 'picking_type': 'incoming_shipment',204 'picking_type': 'incoming_shipment',
203 'search_default_available':1}</field>205 'search_default_available':1}</field>
204 </record>206 </record>
205 </data>207 </data>
206</openerp>208</openerp>
207209
208210
=== modified file 'bin/addons/res_currency_functional/res_currency_functional_view.xml'
--- bin/addons/res_currency_functional/res_currency_functional_view.xml 2016-11-04 12:57:37 +0000
+++ bin/addons/res_currency_functional/res_currency_functional_view.xml 2019-10-30 13:23:31 +0000
@@ -57,7 +57,8 @@
57 <field name="arch" type="xml">57 <field name="arch" type="xml">
58 <search string="Currencies">58 <search string="Currencies">
59 <group>59 <group>
60 <filter name="active" icon="terp-check" string="Active" domain="[('active','=', True)]" />60 <filter name="active" icon="terp-check" string="Active" domain="[('active','=', True)]" />
61 <filter name="inactive" icon="gtk-dialog-error" string="Inactive" domain="[('active','=', False)]" />
61 <separator orientation="vertical"/>62 <separator orientation="vertical"/>
62 <field name="name"/>63 <field name="name"/>
63 </group>64 </group>
6465
=== modified file 'bin/addons/return_claim/return_claim_view.xml'
--- bin/addons/return_claim/return_claim_view.xml 2017-12-01 15:24:26 +0000
+++ bin/addons/return_claim/return_claim_view.xml 2019-10-30 13:23:31 +0000
@@ -205,8 +205,6 @@
205 <filter icon="terp-personal" name="customer" string="Customer" domain="[('type_return_claim','=', 'customer')]" separator="1" />205 <filter icon="terp-personal" name="customer" string="Customer" domain="[('type_return_claim','=', 'customer')]" separator="1" />
206 <filter icon="terp-personal" name="transport" string="Transport" domain="[('type_return_claim','=','transport')]" />206 <filter icon="terp-personal" name="transport" string="Transport" domain="[('type_return_claim','=','transport')]" />
207 <separator orientation="vertical" />207 <separator orientation="vertical" />
208 <filter icon="gtk-missing-image" name="inactive" string="Show Inactive" domain="[]" context="{'active_test': False}" separator="1" />
209 <separator orientation="vertical" />
210 <field name="name" />208 <field name="name" />
211 <field name="type_return_claim" />209 <field name="type_return_claim" />
212 <newline />210 <newline />
213211
=== modified file 'bin/addons/sale/report/sale_report_view.xml'
--- bin/addons/sale/report/sale_report_view.xml 2017-06-14 13:55:43 +0000
+++ bin/addons/sale/report/sale_report_view.xml 2019-10-30 13:23:31 +0000
@@ -59,16 +59,16 @@
59 domain="[('invoiced','=', False)]" />59 domain="[('invoiced','=', False)]" />
60 <separator orientation="vertical"/>60 <separator orientation="vertical"/>
61 <filter icon="terp-go-year" string=" Year "61 <filter icon="terp-go-year" string=" Year "
62 domain="[('date','&lt;=', time.strftime('%%Y-%%m-%%d')),('date','&gt;=',time.strftime('%%Y-01-01'))]"62 domain="['&amp;', ('date','&lt;=', time.strftime('%%Y-%%m-%%d')),('date','&gt;=',time.strftime('%%Y-01-01'))]"
63 help="Field order created in current year"/>63 help="Field order created in current year"/>
64 <filter icon="terp-go-month" string=" Month "64 <filter icon="terp-go-month" string=" Month "
65 name="month"65 name="month"
66 domain="[('date','&lt;=',(datetime.date.today()+relativedelta(day=31)).strftime('%%Y-%%m-%%d')),('date','&gt;=',(datetime.date.today()-relativedelta(day=1)).strftime('%%Y-%%m-%%d'))]"66 domain="['&amp;', ('date','&lt;=',(datetime.date.today()+relativedelta(day=31)).strftime('%%Y-%%m-%%d')),('date','&gt;=',(datetime.date.today()-relativedelta(day=1)).strftime('%%Y-%%m-%%d'))]"
67 help="Field order created in current month"/>67 help="Field order created in current month"/>
68 <filter icon="terp-go-month"68 <filter icon="terp-go-month"
69 string=" Month-1 "69 string=" Month-1 "
70 separator="1"70 separator="1"
71 domain="[('date','&lt;=', (datetime.date.today() - relativedelta(day=31, months=1)).strftime('%%Y-%%m-%%d')),('date','&gt;=',(datetime.date.today() - relativedelta(day=1,months=1)).strftime('%%Y-%%m-%%d'))]"71 domain="['&amp;', ('date','&lt;=', (datetime.date.today() - relativedelta(day=31, months=1)).strftime('%%Y-%%m-%%d')),('date','&gt;=',(datetime.date.today() - relativedelta(day=1,months=1)).strftime('%%Y-%%m-%%d'))]"
72 help="Field order created in last month"/>72 help="Field order created in last month"/>
73 <separator orientation="vertical"/>73 <separator orientation="vertical"/>
74 <filter icon="terp-document-new"74 <filter icon="terp-document-new"
7575
=== modified file 'bin/addons/sale/sale_view.xml'
--- bin/addons/sale/sale_view.xml 2019-10-28 14:42:19 +0000
+++ bin/addons/sale/sale_view.xml 2019-10-30 13:23:31 +0000
@@ -446,10 +446,11 @@
446 <field name="arch" type="xml">446 <field name="arch" type="xml">
447 <search string="Search Sales Order">447 <search string="Search Sales Order">
448 <filter icon="terp-document-new" string="Draft" domain="[('state','in',['draft','draft_p'])]" help="Field Order that haven't yet been confirmed" />448 <filter icon="terp-document-new" string="Draft" domain="[('state','in',['draft','draft_p'])]" help="Field Order that haven't yet been confirmed" />
449 <filter icon="terp-camera_test" string="Validated" domain="[('state','in',['validated','validated_p'])]" help="Field Order validated"/>449 <filter icon="terp-check" string="Validated" domain="[('state','in',['validated','validated_p'])]" help="Field Order validated"/>
450 <filter icon="gtk-paste-v" name="sourced" string="Sourced" domain="[('state','in',['sourced','sourced_p'])]" separator="1" />450 <filter icon="gtk-paste-v" name="sourced" string="Sourced" domain="[('state','in',['sourced','sourced_p'])]" separator="1" />
451 <filter icon="terp-check" string="Confirmed" domain="[('state','in',('confirmed','confirmed_p'))]"/>451 <filter icon="terp-camera_test" string="Confirmed" domain="[('state','in',('confirmed','confirmed_p'))]"/>
452 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]"/>452 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]"/>
453 <filter icon="gtk-cancel" name="cancelled" string="Cancelled" domain="[('state','=','cancel')]"/>
453 <separator orientation="vertical"/>454 <separator orientation="vertical"/>
454 <filter icon="terp-dolar_ok!" string="To Invoice" domain="[('state','=','manual')]" help="Sales Order ready to be invoiced"/>455 <filter icon="terp-dolar_ok!" string="To Invoice" domain="[('state','=','manual')]" help="Sales Order ready to be invoiced"/>
455456
@@ -656,7 +657,7 @@
656 <field name="type">search</field>657 <field name="type">search</field>
657 <field name="arch" type="xml">658 <field name="arch" type="xml">
658 <search string="Search Sales Order">659 <search string="Search Sales Order">
659 <filter icon="terp-dolar_ok!" string="To Invoice" domain="[('invoiced','&lt;&gt;', 1),('state','=','done')]" separator="1" help="Sale Order Lines ready to be invoiced"/>660 <filter icon="terp-dolar_ok!" string="To Invoice" domain="['&amp;', ('invoiced','&lt;&gt;', 1),('state','=','done')]" separator="1" help="Sale Order Lines ready to be invoiced"/>
660 <separator orientation="vertical"/>661 <separator orientation="vertical"/>
661 <field name="order_id"/>662 <field name="order_id"/>
662 <field name="order_partner_id"/>663 <field name="order_partner_id"/>
@@ -1072,7 +1073,7 @@
1072 <field name="arch" type="xml">1073 <field name="arch" type="xml">
1073 <search string="Sourcing progress">1074 <search string="Sourcing progress">
1074 <filter string="Done" name="done" domain="[('end_date', '!=', False)]" icon="terp-check" />1075 <filter string="Done" name="done" domain="[('end_date', '!=', False)]" icon="terp-check" />
1075 <filter string="In Progress" name="progress" domain="[('end_date', '=', False), ('start_date', '!=', False)]" icon="gtk-execute" />1076 <filter string="In Progress" name="progress" domain="['&amp;', ('end_date', '=', False), ('start_date', '!=', False)]" icon="gtk-execute" />
1076 <field name="order_id" context="{'procurement_order': True, 'active_test': False}"1077 <field name="order_id" context="{'procurement_order': True, 'active_test': False}"
1077 domain="[('state', '!=', 'draft'), '|', ('procurement_request', '=', True), ('split_type_sale_order', '=', 'original_sale_order')]"/>1078 domain="[('state', '!=', 'draft'), '|', ('procurement_request', '=', True), ('split_type_sale_order', '=', 'original_sale_order')]"/>
1078 <field name="start_date" />1079 <field name="start_date" />
10791080
=== modified file 'bin/addons/stock/stock_view.xml'
--- bin/addons/stock/stock_view.xml 2019-10-29 09:27:27 +0000
+++ bin/addons/stock/stock_view.xml 2019-10-30 13:23:31 +0000
@@ -988,9 +988,11 @@
988 <field name="arch" type="xml">988 <field name="arch" type="xml">
989 <search string="Internal Picking List">989 <search string="Internal Picking List">
990 <group col="8" colspan="4">990 <group col="8" colspan="4">
991 <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state', '=', 'draft')]" />
992 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','=','confirmed')]" help="Confirmed Internal Moves" />
991 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" help="Assigned Internal Moves"/>993 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" help="Assigned Internal Moves"/>
992 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','=','confirmed')]" help="Confirmed Internal Moves" />
993 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" help="Internal Moves already processed"/>994 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" help="Internal Moves already processed"/>
995 <filter icon="gtk-cancel" name="cancel" string="Cancelled" domain="[('state','=','cancel')]" />
994 <separator orientation="vertical"/>996 <separator orientation="vertical"/>
995 <filter icon="gtk-execute" name="sysint" string="System INT" domain="[('subtype', '!=', 'sysint')]" help="System internal moves"/>997 <filter icon="gtk-execute" name="sysint" string="System INT" domain="[('subtype', '!=', 'sysint')]" help="System internal moves"/>
996 <separator orientation="vertical"/>998 <separator orientation="vertical"/>
@@ -1166,7 +1168,7 @@
1166 <field name="arch" type="xml">1168 <field name="arch" type="xml">
1167 <search string="Stock Moves">1169 <search string="Stock Moves">
1168 <group col="14" colspan="4">1170 <group col="14" colspan="4">
1169 <filter icon="terp-go-today" string="Today" domain="[('date','&lt;=',time.strftime('%%Y-%%m-%%d 23:59:59')),('date','&gt;=',time.strftime('%%Y-%%m-%%d 00:00:00'))]" help="Orders processed Today or planned for Today"/>1171 <filter icon="terp-go-today" string="Today" domain="['&amp;', ('date','&lt;=',time.strftime('%%Y-%%m-%%d 23:59:59')),('date','&gt;=',time.strftime('%%Y-%%m-%%d 00:00:00'))]" help="Orders processed Today or planned for Today"/>
1170 <separator orientation="vertical"/>1172 <separator orientation="vertical"/>
1171 <filter icon="terp-dialog-close" string="Done" name="done" domain="[('state','=','done')]" help="Stock moves that have been processed"/>1173 <filter icon="terp-dialog-close" string="Done" name="done" domain="[('state','=','done')]" help="Stock moves that have been processed"/>
1172 <filter icon="terp-stock" string="Future" name="future" domain="[('state','in',('assigned','confirmed','waiting'))]" help="Stock moves that are Confirmed, Available or Waiting"/>1174 <filter icon="terp-stock" string="Future" name="future" domain="[('state','in',('assigned','confirmed','waiting'))]" help="Stock moves that are Confirmed, Available or Waiting"/>
@@ -1359,7 +1361,7 @@
1359 <field name="arch" type="xml">1361 <field name="arch" type="xml">
1360 <search string="Stock Moves">1362 <search string="Stock Moves">
1361 <group col="8" colspan="4">1363 <group col="8" colspan="4">
1362 <filter icon="terp-go-today" string="Today" domain="[('date','&lt;=',time.strftime('%%Y-%%m-%%d 23:59:59')),('date','&gt;=',time.strftime('%%Y-%%m-%%d 00:00:00'))]" help="Orders planned for today"/>1364 <filter icon="terp-go-today" string="Today" domain="['&amp;', ('date','&lt;=',time.strftime('%%Y-%%m-%%d 23:59:59')),('date','&gt;=',time.strftime('%%Y-%%m-%%d 00:00:00'))]" help="Orders planned for today"/>
1363 <separator orientation="vertical"/>1365 <separator orientation="vertical"/>
1364 <filter icon="terp-gtk-go-back-rtl" name="receive" string="To Do" domain="[('state','in',('confirmed','assigned'))]" help="Stock to be received"/>1366 <filter icon="terp-gtk-go-back-rtl" name="receive" string="To Do" domain="[('state','in',('confirmed','assigned'))]" help="Stock to be received"/>
1365 <filter icon="terp-dialog-close" name="received" string="Done" domain="[('state','=','done')]"/>1367 <filter icon="terp-dialog-close" name="received" string="Done" domain="[('state','=','done')]"/>
@@ -1395,7 +1397,7 @@
1395 <field name="arch" type="xml">1397 <field name="arch" type="xml">
1396 <search string="Stock Moves">1398 <search string="Stock Moves">
1397 <group col="8" colspan="4">1399 <group col="8" colspan="4">
1398 <filter icon="terp-go-today" string="Today" domain="[('date','&lt;=',time.strftime('%%Y-%%m-%%d 23:59:59')),('date','&gt;=',time.strftime('%%Y-%%m-%%d 00:00:00'))]" help="Orders planned for today"/>1400 <filter icon="terp-go-today" string="Today" domain="['&amp;', ('date','&lt;=',time.strftime('%%Y-%%m-%%d 23:59:59')),('date','&gt;=',time.strftime('%%Y-%%m-%%d 00:00:00'))]" help="Orders planned for today"/>
1399 <separator orientation="vertical"/>1401 <separator orientation="vertical"/>
1400 <filter icon="terp-gtk-go-back-rtl" name="receive" string="To Do" domain="[('state','in',('confirmed','assigned'))]" help="Stock to be delivered (available or not)"/>1402 <filter icon="terp-gtk-go-back-rtl" name="receive" string="To Do" domain="[('state','in',('confirmed','assigned'))]" help="Stock to be delivered (available or not)"/>
1401 <filter icon="terp-check" name="available" string="Available" domain="[('state','in',('assigned',))]" help="Stock available to be delivered"/>1403 <filter icon="terp-check" name="available" string="Available" domain="[('state','in',('assigned',))]" help="Stock available to be delivered"/>
14021404
=== modified file 'bin/addons/stock_override/stock_view.xml'
--- bin/addons/stock_override/stock_view.xml 2019-08-22 10:11:24 +0000
+++ bin/addons/stock_override/stock_view.xml 2019-10-30 13:23:31 +0000
@@ -660,7 +660,7 @@
660 <field name="arch" type="xml">660 <field name="arch" type="xml">
661 <search string="Stock Moves">661 <search string="Stock Moves">
662 <group col="14" colspan="4">662 <group col="14" colspan="4">
663 <filter icon="terp-go-today" string="Today" domain="[('date','&lt;=',time.strftime('%%Y-%%m-%%d 23:59:59')),('date','&gt;=',time.strftime('%%Y-%%m-%%d 00:00:00'))]" help="Orders processed Today or planned for Today"/>663 <filter icon="terp-go-today" string="Today" domain="['&amp;', ('date','&lt;=',time.strftime('%%Y-%%m-%%d 23:59:59')),('date','&gt;=',time.strftime('%%Y-%%m-%%d 00:00:00'))]" help="Orders processed Today or planned for Today"/>
664 <separator orientation="vertical"/>664 <separator orientation="vertical"/>
665 <filter icon="terp-dialog-close" string="Done" name="done" domain="[('state','=','done')]" help="Stock moves that have been processed"/>665 <filter icon="terp-dialog-close" string="Done" name="done" domain="[('state','=','done')]" help="Stock moves that have been processed"/>
666 <filter icon="terp-stock" string="Future" name="future" domain="[('state','in',('assigned','confirmed','waiting'))]" help="Stock moves that are Confirmed, Available or Waiting"/>666 <filter icon="terp-stock" string="Future" name="future" domain="[('state','in',('assigned','confirmed','waiting'))]" help="Stock moves that are Confirmed, Available or Waiting"/>
667667
=== modified file 'bin/addons/supplier_catalogue/supplier_catalogue_view.xml'
--- bin/addons/supplier_catalogue/supplier_catalogue_view.xml 2018-09-13 08:44:17 +0000
+++ bin/addons/supplier_catalogue/supplier_catalogue_view.xml 2019-10-30 13:23:31 +0000
@@ -13,7 +13,8 @@
13 <field name="type">search</field>13 <field name="type">search</field>
14 <field name="arch" type="xml">14 <field name="arch" type="xml">
15 <search string="Supplier catalogues">15 <search string="Supplier catalogues">
16 <filter name="active" domain="[('active', '=', False)]" string="Inactive" icon="gtk-undo" />16 <filter icon="terp-personal+" name="active" string="Show Active" domain="[('active', '=', True)]" default="1" />
17 <filter icon="gtk-missing-image" name="inactive" string="Show Inactive" domain="[('active', '=', False)]" />
17 <field name="partner_id" />18 <field name="partner_id" />
18 <field name="name" />19 <field name="name" />
19 <field name="period_from" />20 <field name="period_from" />
2021
=== modified file 'bin/addons/tender_flow/report/purchase_report_view.xml'
--- bin/addons/tender_flow/report/purchase_report_view.xml 2017-05-10 12:47:14 +0000
+++ bin/addons/tender_flow/report/purchase_report_view.xml 2019-10-30 13:23:31 +0000
@@ -52,16 +52,16 @@
52 domain="[('invoiced','=', False)]" />52 domain="[('invoiced','=', False)]" />
53 <separator orientation="vertical"/>53 <separator orientation="vertical"/>
54 <filter icon="terp-go-year" string=" Year "54 <filter icon="terp-go-year" string=" Year "
55 domain="[('date','&lt;=', time.strftime('%%Y-%%m-%%d')),('date','&gt;=',time.strftime('%%Y-01-01'))]"55 domain="['&amp;', ('date','&lt;=', time.strftime('%%Y-%%m-%%d')),('date','&gt;=',time.strftime('%%Y-01-01'))]"
56 help="Order in current year"/>56 help="Order in current year"/>
57 <filter icon="terp-go-month" string=" Month "57 <filter icon="terp-go-month" string=" Month "
58 name="month"58 name="month"
59 domain="[('date','&lt;=',(datetime.date.today()+relativedelta(day=31)).strftime('%%Y-%%m-%%d')),('date','&gt;=',(datetime.date.today()-relativedelta(day=1)).strftime('%%Y-%%m-%%d'))]"59 domain="['&amp;', ('date','&lt;=',(datetime.date.today()+relativedelta(day=31)).strftime('%%Y-%%m-%%d')),('date','&gt;=',(datetime.date.today()-relativedelta(day=1)).strftime('%%Y-%%m-%%d'))]"
60 help="Order in current month"/>60 help="Order in current month"/>
61 <filter icon="terp-go-month"61 <filter icon="terp-go-month"
62 string=" Month-1 "62 string=" Month-1 "
63 separator="1"63 separator="1"
64 domain="[('date','&lt;=', (datetime.date.today() - relativedelta(day=31, months=1)).strftime('%%Y-%%m-%%d')),('date','&gt;=',(datetime.date.today() - relativedelta(day=1,months=1)).strftime('%%Y-%%m-%%d'))]"64 domain="['&amp;', ('date','&lt;=', (datetime.date.today() - relativedelta(day=31, months=1)).strftime('%%Y-%%m-%%d')),('date','&gt;=',(datetime.date.today() - relativedelta(day=1,months=1)).strftime('%%Y-%%m-%%d'))]"
65 help="Order in last month"/>65 help="Order in last month"/>
66 <separator orientation="vertical"/>66 <separator orientation="vertical"/>
67 <field name="order_name" />67 <field name="order_name" />
6868
=== modified file 'bin/addons/useability_dashboard_and_menu/menu/partner_menu.xml'
--- bin/addons/useability_dashboard_and_menu/menu/partner_menu.xml 2013-02-07 15:27:53 +0000
+++ bin/addons/useability_dashboard_and_menu/menu/partner_menu.xml 2019-10-30 13:23:31 +0000
@@ -53,7 +53,7 @@
53 <field name="res_model">res.partner</field>53 <field name="res_model">res.partner</field>
54 <field name="view_type">form</field>54 <field name="view_type">form</field>
55 <field name="search_view_id" ref="base.view_res_partner_filter"/>55 <field name="search_view_id" ref="base.view_res_partner_filter"/>
56 <field name="context">{"search_default_manufacturer":1, 'show_button_show_inactive':1}</field>56 <field name="context">{"search_default_manufacturer":1, 'show_button_show_inactive':1, 'search_default_active': 1, 'active_test': 0}</field>
57 <field name="help">You see here Other/Manufacturer who can be both Customer and Supplier.</field>57 <field name="help">You see here Other/Manufacturer who can be both Customer and Supplier.</field>
58 </record>58 </record>
59 59
@@ -65,18 +65,6 @@
65 sequence="13"65 sequence="13"
66 />66 />
6767
68 <!-- The 3 records below enable the user to see the button "Show inactive" -->
69 <record id="base.action_partner_supplier_form" model="ir.actions.act_window">
70 <field name="context">{'default_customer':0, 'search_default_supplier': 1, 'default_supplier':1, 'show_button_show_inactive':1}</field>
71 </record>
72
73 <record id="base.action_partner_customer_form" model="ir.actions.act_window">
74 <field name="context">{'default_customer':1, 'search_default_customer':1, 'show_button_show_inactive':1}</field>
75 </record>
76
77 <record id="base.action_partner_form" model="ir.actions.act_window">
78 <field name="context">{"search_default_customer":1, 'show_button_show_inactive':1}</field>
79 </record>
8068
81 </data>69 </data>
82</openerp>
83\ No newline at end of file70\ No newline at end of file
71</openerp>

Subscribers

People subscribed via source and target branches