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

Proposed by jftempo
Status: Merged
Merged at revision: 5552
Proposed branch: lp:~jfb-tempo-consulting/unifield-server/US-1019
Merge into: lp:unifield-server
Diff against target: 1888 lines (+313/-453) (has conflicts)
46 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 (+0/-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 (+15/-42)
bin/addons/base/res/res_request_view.xml (+3/-3)
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_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 (+57/-11)
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 (+7/-2)
bin/addons/procurement/procurement_view.xml (+2/-2)
bin/addons/procurement_request/procurement_request_view.xml (+4/-2)
bin/addons/product/product_view.xml (+1/-0)
bin/addons/product_attributes/product_attributes_view.xml (+1/-0)
bin/addons/product_list/product_list_view.xml (+1/-0)
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 (+96/-93)
bin/addons/res_currency_functional/res_currency_functional_view.xml (+18/-46)
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/product_view.xml (+1/-1)
bin/addons/supplier_catalogue/supplier_catalogue_view.xml (+1/-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/out_step/out_step_view.xml
To merge this branch: bzr merge lp:~jfb-tempo-consulting/unifield-server/US-1019
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+370756@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/addons/account/account_view.xml'
2--- bin/addons/account/account_view.xml 2019-01-31 14:39:54 +0000
3+++ bin/addons/account/account_view.xml 2019-07-30 10:05:10 +0000
4@@ -135,7 +135,8 @@
5 <field name="arch" type="xml">
6 <search string="Search Period">
7 <group>
8- <filter string="To Close" name="draft" domain="[('state','=','draft')]" icon="terp-dialog-close"/>
9+ <filter string="To Close" name="draft" domain="[('state','in',['created', 'draft'])]" icon="terp-camera_test"/>
10+ <filter string="Close" name="close" domain="[('state','not in',['created', 'draft'])]" icon="terp-dialog-close"/>
11 <separator orientation="vertical"/>
12 <field name="name"/>
13 <field name="code"/>
14@@ -205,21 +206,33 @@
15 <field name="type">search</field>
16 <field name="arch" type="xml">
17 <search string="Accounts">
18- <group col="10" colspan="4">
19- <filter icon="terp-sale" string="Receivable Accounts" domain="[('type','=','receivable')]"/>
20- <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
21- <separator orientation="vertical"/>
22- <field name="code"/>
23- <field name="name"/>
24+ <group col="12" colspan="4">
25+ <filter name="active" string="Active" domain="[('filter_active', '=', True)]" icon="terp-check" />
26+ <filter name="inactive" string="Inactive" domain="[('filter_active', '=', False)]" icon="gtk-dialog-error"/>
27+ <separator orientation="vertical"/>
28+ <filter name="receivable" string="Receivable" domain="[('type','=','receivable')]" icon="terp-sale"/>
29+ <filter name="payable" string="Payable" domain="[('type','=','payable')]" icon="terp-purchase"/>
30+ <filter name="accrual_account" string="Accrual" domain="[('accrual_account','=',True)]" />
31+ <filter name="expense_account" string="Expense" domain="[('user_type.code','=', 'expense')]" icon="terp-stock_symbol-selection"/>
32+ <filter name="income_account" string="Income" domain="[('user_type.code','=', 'income')]" icon="gtk-go-forward"/>
33+ <separator orientation="vertical"/>
34+ <newline/>
35+
36+ <group col="6" colspan="4">
37+ <field name="code"/>
38+ <field name="name"/>
39+ <field name="is_not_hq_correctible"/>
40+ </group>
41+ <newline/>
42+
43 <field name="user_type"/>
44 <field name="type"/>
45+ <field name="type_for_register"/>
46+
47 </group>
48 <newline/>
49 <group expand="0" string="Group By...">
50- <filter string="Parent Account" icon="terp-folder-orange" domain="" context="{'group_by':'parent_id'}"/>
51- <separator orientation="vertical"/>
52- <filter string="Account Type" icon="terp-stock_symbol-selection" domain="" context="{'group_by':'user_type'}"/>
53- <filter string="Internal Type" icon="terp-stock_symbol-selection" domain="" context="{'group_by':'type'}"/>
54+ <filter string="Internal Type" icon="terp-stock_symbol-selection" context="{'group_by':'type'}"/>
55 </group>
56 </search>
57 </field>
58@@ -1231,14 +1244,14 @@
59 <filter
60 icon="terp-dolar_ok!"
61 string="Unreconciled"
62- domain="[('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help="Unreconciled Journal Items"
63+ domain="['&amp;', ('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help="Unreconciled Journal Items"
64 name="unreconciled"/>
65 <separator orientation="vertical"/>
66 <field name="move_id" select="1" string="Number (Move)"/>
67 <field name="date" select='1'/>
68 <field name="account_id" select='1'/>
69 <field name="partner_id" select='1'>
70- <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)]"/>
71+ <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)]"/>
72 </field>
73 </group>
74 <newline/>
75@@ -1888,8 +1901,9 @@
76 <field name="arch" type="xml">
77 <search string="Entry Subscription">
78 <group col="8" colspan="4">
79- <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Subscription"/>
80- <filter icon="terp-camera_test" string="Running" domain="[('state','=','running')]" help="Running Subscription"/>
81+ <filter icon="terp-document-new" string="Draft" name="draft" domain="[('state','=','draft')]" help="Draft Subscription"/>
82+ <filter icon="terp-camera_test" string="Running" name="running" domain="[('state','=','running')]" help="Running Subscription"/>
83+ <filter icon="terp-dialog-close" string="Done" name="done" domain="[('state','=','done')]" />
84 <separator orientation="vertical"/>
85 <field name="name"/>
86 <field name="model_id"/>
87@@ -1950,6 +1964,7 @@
88 <field name="view_type">form</field>
89 <field name="view_mode">tree,form</field>
90 <field name="search_view_id" ref="view_subscription_search"/>
91+ <field name="context">{'search_default_draft': 1, 'search_default_running': 1}</field>
92 <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>
93 </record>
94 <menuitem
95@@ -1963,7 +1978,8 @@
96 <field name="res_model">account.subscription</field>
97 <field name="view_type">form</field>
98 <field name="view_mode">tree,form</field>
99- <field name="domain">[('state','=','running')]</field>
100+ <field name="domain">[('state', '=', 'running')]</field>
101+ <field name="context">{}</field>
102 <field name="filter" eval="True"/>
103 </record>
104
105
106=== modified file 'bin/addons/account/report/account_entries_report_view.xml'
107--- bin/addons/account/report/account_entries_report_view.xml 2017-05-10 12:47:14 +0000
108+++ bin/addons/account/report/account_entries_report_view.xml 2019-07-30 10:05:10 +0000
109@@ -82,7 +82,7 @@
110 <filter string="Unposted" icon="terp-document-new" domain="[('move_state','=','draft')]" help = "entries"/>
111 <filter string="Posted" icon="terp-camera_test" domain="[('move_state','=','posted')]" help = "Posted entries"/>
112 <separator orientation="vertical"/>
113- <filter string="Unreconciled" icon="terp-dolar_ok!" domain="[('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help = "Unreconciled entries"/>
114+ <filter string="Unreconciled" icon="terp-dolar_ok!" domain="['&amp;', ('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help = "Unreconciled entries"/>
115 <filter string="Reconciled" icon="terp-dolar" domain="[('reconcile_id','!=',False)]" help = "Reconciled entries"/>
116 <separator orientation="vertical"/>
117 <field name="account_id"/>
118
119=== modified file 'bin/addons/account_mcdb/account_view.xml'
120--- bin/addons/account_mcdb/account_view.xml 2018-08-16 12:38:52 +0000
121+++ bin/addons/account_mcdb/account_view.xml 2019-07-30 10:05:10 +0000
122@@ -143,8 +143,9 @@
123 <filter
124 icon="terp-dolar_ok!"
125 string="Unreconciled"
126- domain="[('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help="Unreconciled Journal Items"
127+ domain="['&amp;', ('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help="Unreconciled Journal Items"
128 name="unreconciled"/>
129+ <separator orientation="vertical"/>
130 <filter icon="terp-personal" string="Employee" domain="[('employee_id', '!=', False)]" context="{'identification': 1}" />
131 <field name="document_date"/>
132 <field name="date" select='1'/>
133
134=== modified file 'bin/addons/account_override/account.py'
135--- bin/addons/account_override/account.py 2019-05-24 15:09:28 +0000
136+++ bin/addons/account_override/account.py 2019-07-30 10:05:10 +0000
137@@ -67,6 +67,7 @@
138 cmp_date = context.get('date')
139 for x in args:
140 if x[0] == 'filter_active' and x[2] == True:
141+ arg.append('&')
142 arg.append(('activation_date', '<=', cmp_date))
143 arg.append('|')
144 arg.append(('inactivation_date', '>', cmp_date))
145
146=== modified file 'bin/addons/account_override/account_view.xml'
147--- bin/addons/account_override/account_view.xml 2019-05-06 12:42:32 +0000
148+++ bin/addons/account_override/account_view.xml 2019-07-30 10:05:10 +0000
149@@ -121,23 +121,6 @@
150 </field>
151 </record>
152
153- <record model="ir.ui.view" id="view_account_activable_search">
154- <field name="name">account.account_activable.search</field>
155- <field name="model">account.account</field>
156- <field name="type">search</field>
157- <field name="field_parent">child_id</field>
158- <field name="inherit_id" ref="account.view_account_search"/>
159- <field name="arch" type="xml">
160- <data>
161- <group string="Group By..." position="replace">
162- <group expand="0" string="Group By...">
163- <filter string="Internal Type" icon="terp-stock_symbol-selection" context="{'group_by':'type'}"/>
164- </group>
165- </group>
166- </data>
167- </field>
168- </record>
169-
170 <!-- Tree view for default tree view of accounts -->
171 <record id="account.view_account_list" model="ir.ui.view">
172 <field name="name">account.account_activable.list</field>
173
174=== modified file 'bin/addons/account_period_closing_level/account_period_closing_level_view.xml'
175--- bin/addons/account_period_closing_level/account_period_closing_level_view.xml 2017-10-04 05:23:42 +0000
176+++ bin/addons/account_period_closing_level/account_period_closing_level_view.xml 2019-07-30 10:05:10 +0000
177@@ -182,18 +182,6 @@
178 </field>
179 </record>
180
181- <record id="view_account_period_closing_level_search" model="ir.ui.view">
182- <field name="name">account.period_closing_level.search</field>
183- <field name="model">account.period</field>
184- <field name="type">search</field>
185- <field name="inherit_id" ref="account.view_account_period_search"/>
186- <field name="arch" type="xml">
187- <filter name="draft" position="replace">
188- <filter string="To Close" name="draft" domain="[('state','!=','done')]" icon="terp-dialog-close"/>
189- </filter>
190- </field>
191- </record>
192-
193 <record id="view_account_period_closing_level_tree" model="ir.ui.view">
194 <field name="name">account.period_closing_level.tree</field>
195 <field name="model">account.period</field>
196
197=== modified file 'bin/addons/analytic_override/analytic_account.py'
198--- bin/addons/analytic_override/analytic_account.py 2019-05-14 15:12:35 +0000
199+++ bin/addons/analytic_override/analytic_account.py 2019-07-30 10:05:10 +0000
200@@ -59,6 +59,7 @@
201 cmp_date = context.get('date')
202 for x in args:
203 if x[0] == 'filter_active' and x[2] == True:
204+ arg.append('&')
205 arg.append(('date_start', '<=', cmp_date))
206 arg.append('|')
207 arg.append(('date', '>', cmp_date))
208
209=== modified file 'bin/addons/base/ir/ir.xml'
210--- bin/addons/base/ir/ir.xml 2019-04-04 14:25:27 +0000
211+++ bin/addons/base/ir/ir.xml 2019-07-30 10:05:10 +0000
212@@ -726,6 +726,7 @@
213 <field name="view_type">form</field>
214 <field name="view_id" ref="view_users_tree"/>
215 <field name="search_view_id" ref="view_users_search"/>
216+ <field name="context">{'default_search_active': 1, 'active_test': 0}</field>
217 <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>
218 </record>
219 <record id="action_res_users_view1" model="ir.actions.act_window.view">
220@@ -1690,7 +1691,7 @@
221 <group>
222 <filter string="Global" icon="terp-stage" domain="[('group_id','=',False)]"/>
223 <separator orientation="vertical"/>
224- <filter string="Full Access" icon="terp-gtk-select-all" domain="[('perm_read','=',True),('perm_write','=',True),('perm_create','=',True),('perm_unlink','=',True)]"/>
225+ <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)]"/>
226 <filter string="Read Access" icon="terp-stock_align_left_24" domain="[('perm_read','=',True)]"/>
227 <filter string="Write Access" icon="terp-tools" domain="[('perm_write','=',True)]"/>
228 <separator orientation="vertical"/>
229@@ -1783,7 +1784,7 @@
230 <group>
231 <filter string="Global" icon="terp-stage" domain="[('global','=',True)]"/>
232 <separator orientation="vertical"/>
233- <filter string="Full Access" icon="terp-gtk-select-all" domain="[('perm_read','=',True),('perm_write','=',True),('perm_create','=',True),('perm_unlink','=',True)]"/>
234+ <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)]"/>
235 <filter string="Read Access" icon="terp-stock_align_left_24" domain="[('perm_read','=',True)]"/>
236 <filter string="Write Access" icon="terp-tools" domain="[('perm_write','=',True)]"/>
237 <separator orientation="vertical"/>
238
239=== modified file 'bin/addons/base/res/partner/partner_view.xml'
240--- bin/addons/base/res/partner/partner_view.xml 2019-02-05 15:23:11 +0000
241+++ bin/addons/base/res/partner/partner_view.xml 2019-07-30 10:05:10 +0000
242@@ -358,7 +358,7 @@
243 <field name="type">ir.actions.act_window</field>
244 <field name="res_model">res.partner</field>
245 <field name="view_type">form</field>
246- <field name="context">{"search_default_customer":1}</field>
247+ <field name="context">{'search_default_customer':1, 'show_button_show_inactive': 1, 'search_default_active': 1, 'active_test': 0}</field>
248 <field name="search_view_id" ref="view_res_partner_filter"/>
249 <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>
250 </record>
251@@ -386,7 +386,7 @@
252 <field name="res_model">res.partner</field>
253 <field name="view_type">form</field>
254 <field name="domain">[('customer','=',1)]</field>
255- <field name="context">{'default_customer':1, 'search_default_customer':1}</field>
256+ <field name="context">{'default_customer':1, 'search_default_customer':1, 'search_default_active': 1, 'active_test': 0, 'show_button_show_inactive': 1}</field>
257 <field name="filter" eval="True"/>
258 </record>
259
260@@ -396,7 +396,7 @@
261 <field name="res_model">res.partner</field>
262 <field name="view_type">form</field>
263 <field name="domain">[]</field>
264- <field name="context">{'default_customer':0, 'search_default_supplier': 1, 'default_supplier':1}</field>
265+ <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>
266 <field name="filter" eval="True"/>
267 <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>
268 </record>
269
270=== modified file 'bin/addons/base/res/res_currency_view.xml'
271--- bin/addons/base/res/res_currency_view.xml 2015-01-19 13:13:38 +0000
272+++ bin/addons/base/res/res_currency_view.xml 2019-07-30 10:05:10 +0000
273@@ -2,61 +2,34 @@
274 <openerp>
275 <data>
276
277- <record id="view_currency_tree" model="ir.ui.view">
278- <field name="name">res.currency.tree</field>
279- <field name="model">res.currency</field>
280- <field name="type">tree</field>
281- <field name="arch" type="xml">
282- <tree string="Currencies">
283- <field name="name"/>
284- <field name="company_id" select="2" />
285- <field name="rate_ids" invisible="1"/>
286- <field name="date"/>
287- <field name="rate"/>
288- <field name="rounding"/>
289- <field name="accuracy"/>
290- <field name="active"/>
291- </tree>
292- </field>
293- </record>
294- <record id="view_currency_form" model="ir.ui.view">
295- <field name="name">res.currency.form</field>
296+ <record id="view_currency_functional_form" model="ir.ui.view">
297+ <field name="name">res.currency_functional.form</field>
298 <field name="model">res.currency</field>
299 <field name="type">form</field>
300+ <field name="priority">20</field>
301 <field name="arch" type="xml">
302- <form string="Currency" hide_duplicate_button="1">
303- <group col="6" colspan="6">
304- <field name="name" select="1"/>
305- <field name="rate"/>
306- <field name="company_id" select="2" groups="base.group_multi_company" />
307- <field name="symbol"/>
308- </group>
309-
310- <group col="2" colspan="2">
311- <separator string="Price Accuracy" colspan="2"/>
312- <field name="rounding"/>
313- <field name="accuracy"/>
314- </group>
315-
316- <group col="2" colspan="2">
317- <separator string="Miscelleanous" colspan="2"/>
318- <field name="base"/>
319- <field name="active" select="1"/>
320- </group>
321-
322- <field colspan="4" mode="tree,form" name="rate_ids" nolabel="1" attrs="{'readonly':[('base','=',True)]}">
323+ <data>
324+ <field name="company_id" position="replace">
325+ <field name="currency_name"/>
326+ </field>
327+ <field name="base" position="replace">
328+ </field>
329+ <form string="Rates" position="replace">
330 <form string="Rates">
331 <field name="name"/>
332 <field name="rate"/>
333 </form>
334+ </form>
335+ <tree string="Rates" position="replace">
336 <tree string="Rates">
337 <field name="name"/>
338 <field name="rate"/>
339 </tree>
340- </field>
341- </form>
342+ </tree>
343+ </data>
344 </field>
345 </record>
346+
347 <record id="action_currency_form" model="ir.actions.act_window">
348 <field name="name">Currencies</field>
349 <field name="res_model">res.currency</field>
350
351=== modified file 'bin/addons/base/res/res_request_view.xml'
352--- bin/addons/base/res/res_request_view.xml 2018-12-03 10:43:35 +0000
353+++ bin/addons/base/res/res_request_view.xml 2019-07-30 10:05:10 +0000
354@@ -79,10 +79,10 @@
355 <field name="type">search</field>
356 <field name="arch" type="xml">
357 <search string="Requests">
358- <filter string="Current" icon="terp-camera_test" domain="['|',('state','=','draft'),('state','=','active')]"
359- help="Draft and Active"/>
360- <separator orientation="vertical"/>
361+ <filter string="Draft" icon="terp-document-new" name="draft" domain="[('state', '=', 'draft')]" />
362+ <filter string="Current" icon="terp-camera_test" domain="[('state','=','active')]" />
363 <filter string="Waiting" icon="terp-gtk-media-pause" domain="[('state','=','waiting')]"/>
364+ <filter string="Closed" icon="gtk-close" domain="[('state','=','closed')]"/>
365 <separator orientation="vertical"/>
366 <field name="act_from"/>
367 <field name="act_to" select="1"/>
368
369=== modified file 'bin/addons/consumption_calculation/consumption_view.xml'
370--- bin/addons/consumption_calculation/consumption_view.xml 2019-04-04 14:25:27 +0000
371+++ bin/addons/consumption_calculation/consumption_view.xml 2019-07-30 10:05:10 +0000
372@@ -134,7 +134,9 @@
373 <field name="arch" type="xml">
374 <search string="Real consumption reports">
375 <group col="10" colspan="4">
376+ <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state', '=', 'draft')]" />
377 <filter icon="terp-check" string="Closed" domain="[('created_ok','=',True)]"/>
378+ <filter icon="gtk-cancel" name="cancel" string="Cancelled" domain="[('state','=','cancel')]" />
379 <separator orientation="vertical"/>
380 <field name="name"/>
381 <field name="cons_location_id"/>
382
383=== modified file 'bin/addons/finance/account_view.xml'
384--- bin/addons/finance/account_view.xml 2017-10-31 08:06:46 +0000
385+++ bin/addons/finance/account_view.xml 2019-07-30 10:05:10 +0000
386@@ -21,41 +21,6 @@
387 </field>
388 </record>
389
390- <record id="inherit_view_account_search_pma" model="ir.ui.view">
391- <field name="name">inherit.view.account.search.pma</field>
392- <field name="model">account.account</field>
393- <field name="type">search</field>
394- <field name="inherit_id" ref="account.view_account_search"/>
395- <field name="priority">25</field>
396- <field name="arch" type="xml">
397- <xpath expr="/search/group[1]" position="replace">
398- <group col="12" colspan="4">
399-
400- <filter name="active" icon="terp-check" string="Active" domain="[('filter_active', '=', True)]" />
401- <filter name="inactive" icon="gtk-dialog-error" string="Inactive" domain="[('filter_active', '=', False)]"/>
402- <separator orientation="vertical"/>
403- <filter icon="terp-sale" string="Receivable Accounts" domain="[('type','=','receivable')]"/>
404- <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
405- <filter name="accrual_account" string="Accrual Account" domain="[('accrual_account','=',True)]"/>
406- <separator orientation="vertical"/>
407- <newline/>
408-
409- <group col="6" colspan="4">
410- <field name="code"/>
411- <field name="name"/>
412- <field name="is_not_hq_correctible"/>
413- </group>
414- <newline/>
415-
416- <field name="user_type"/>
417- <field name="type"/>
418- <field name="type_for_register"/>
419-
420- </group>
421- </xpath>
422- </field>
423- </record>
424-
425 <!--
426 Journal Entries
427 -->
428
429=== modified file 'bin/addons/hr/hr_view.xml'
430--- bin/addons/hr/hr_view.xml 2018-08-21 19:39:57 +0000
431+++ bin/addons/hr/hr_view.xml 2019-07-30 10:05:10 +0000
432@@ -101,21 +101,26 @@
433 <field name="type">search</field>
434 <field name="arch" type="xml">
435 <search string="Employees">
436- <filter icon="terp-personal+" domain="[('active','=',True)]" name="active" string="Active" groups="base.group_extended"/>
437+ <filter icon="terp-personal+" domain="[('active','=',True)]" name="active" string="Active" />
438+ <filter icon="terp-personal-" domain="[('active','=',False)]" name="inactive" string="Inactive" />
439+ <separator orientation="vertical" />
440+ <filter icon="gtk-leave-fullscreen" domain="[('employee_type','=','local')]" name="employee_type_local" string="Local" />
441+ <filter icon="gtk-quit" domain="[('employee_type','=','ex')]" name="employee_type_expatriate" string="Expat'" />
442+
443 <separator orientation="vertical" />
444 <field name="name"/>
445 <field name="identification_id"/>
446- <field name="department_id" widget="selection">
447- <filter icon="terp-personal+" domain="[('department_id','=',context.get('department_id',False))]" string="My Departments Employee"/>
448- </field>
449 <field name="job_id"/>
450+ <newline/>
451+ <group>
452+ <field name="destination_id" domain="[('category','=','DEST'), ('type', '!=', 'view'), ('state', '=', 'open')]"/>
453+ <field name="cost_center_id" domain="[('category','=','OC'), ('type', '!=', 'view'), ('state', '=', 'open')]"/>
454+ <field name="funding_pool_id" domain="[('type', '!=', 'view'), ('category', '=', 'FUNDING'), ('state', '=', 'open')]"/>
455+ </group>
456 <newline />
457 <group expand="0" string="Group By...">
458- <filter string="Coach" icon="terp-personal" domain="[]" context="{'group_by':'coach_id'}" groups="base.group_extended"/>
459 <separator orientation="vertical" />
460- <filter string="Department" icon="terp-personal+" domain="[]" context="{'group_by':'department_id'}"/>
461 <filter string="Job" icon="terp-gtk-select-all" domain="[]" context="{'group_by':'job_id'}"/>
462- <filter string="Company" icon="terp-go-home" domain="[]" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
463 </group>
464 </search>
465 </field>
466
467=== modified file 'bin/addons/kit/kit_view.xml'
468--- bin/addons/kit/kit_view.xml 2017-10-04 06:36:54 +0000
469+++ bin/addons/kit/kit_view.xml 2019-07-30 10:05:10 +0000
470@@ -140,10 +140,10 @@
471 <field name="arch" type="xml">
472 <search string="Search Theoretical Kit Composition">
473 <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state','=','draft')]" separator="1" />
474- <filter icon="terp-camera_test" name="completed" string="Completed" domain="[('state','=', 'completed')]" separator="1" />
475 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" />
476 <filter icon="gtk-cancel" name="cancel" string="Canceled" domain="[('state','=', 'cancel')]" separator="1" />
477 <separator orientation="vertical" />
478+ <filter icon="gtk-ok" name="active" string="Active" domain="[('active', '=', True)]" separator="1" />
479 <filter icon="gtk-missing-image" name="inactive" string="Show Inactive" domain="[('active', '=', False)]" separator="1" />
480 <separator orientation="vertical" />
481 <field name="composition_product_id" domain="[('type', '=', 'product'), ('subtype', '=', 'kit')]" select="1" />
482@@ -188,7 +188,6 @@
483 <search string="Search Real Kit Composition">
484 <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state','=','draft')]" separator="1" />
485 <filter icon="gtk-execute" name="in_production" string="In Production" domain="[('state','=', 'in_production')]" separator="1" />
486- <filter icon="terp-camera_test" name="completed" string="Completed" domain="[('state','=', 'completed')]" separator="1" />
487 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" />
488 <filter icon="gtk-cancel" name="cancel" string="Canceled" domain="[('state','=', 'cancel')]" separator="1" />
489 <separator orientation="vertical" />
490@@ -334,8 +333,8 @@
491 <field name="res_model">composition.kit</field>
492 <field name="view_type">form</field>
493 <field name="view_mode">tree,form</field>
494- <field name="domain">[('composition_type', '=', 'theoretical')]</field>
495- <field name="context">{'search_default_completed': True, 'composition_type':'theoretical'}</field>
496+ <field name="domain">['&amp;', ('composition_type', '=', 'theoretical'), ('active', 'in', ['t', 'f'])]</field>
497+ <field name="context">{'composition_type':'theoretical', 'search_default_active': 1}</field>
498 <field name="search_view_id" ref="view_composition_kit_theoretical_filter" />
499 </record>
500
501@@ -355,7 +354,7 @@
502 <field name="view_type">form</field>
503 <field name="view_mode">tree,form</field>
504 <field name="domain">[('composition_type', '=', 'real')]</field>
505- <field name="context">{'search_default_completed': True, 'composition_type':'real'}</field>
506+ <field name="context">{'composition_type':'real'}</field>
507 <field name="search_view_id" ref="view_composition_kit_real_filter" />
508 </record>
509
510
511=== modified file 'bin/addons/msf_budget/msf_budget_view.xml'
512--- bin/addons/msf_budget/msf_budget_view.xml 2017-06-13 15:20:13 +0000
513+++ bin/addons/msf_budget/msf_budget_view.xml 2019-07-30 10:05:10 +0000
514@@ -31,6 +31,7 @@
515 <group col="20" colspan="4">
516 <filter string="Draft" icon="terp-document-new" domain="[('state','=','draft')]" help="Draft Budgets"/>
517 <filter name="validated" string="Validated" icon="terp-camera_test" domain="[('state','=','valid')]" help="Validated Budgets" />
518+ <filter name="Done" string="Done" icon="terp-dialog-close" domain="[('state','=','done')]" />
519 <separator orientation="vertical"/>
520 <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"/>
521 <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"/>
522
523=== modified file 'bin/addons/msf_currency_revaluation/res_currency_view.xml'
524--- bin/addons/msf_currency_revaluation/res_currency_view.xml 2013-12-16 08:18:07 +0000
525+++ bin/addons/msf_currency_revaluation/res_currency_view.xml 2019-07-30 10:05:10 +0000
526@@ -6,7 +6,7 @@
527 <field name="name">res.currency.form</field>
528 <field name="model">res.currency</field>
529 <field name="type">form</field>
530- <field name="inherit_id" ref="base.view_currency_form"/>
531+ <field name="inherit_id" ref="base.view_currency_functional_form"/>
532 <field name="arch" type="xml">
533 <xpath expr="//form[@string='Rates']/field[@name='rate']" position="after">
534 <field name="currency_rate_type_id"/>
535
536=== modified file 'bin/addons/msf_doc_import/data/msf_doc_import_data.xml'
537--- bin/addons/msf_doc_import/data/msf_doc_import_data.xml 2014-10-28 13:29:46 +0000
538+++ bin/addons/msf_doc_import/data/msf_doc_import_data.xml 2019-07-30 10:05:10 +0000
539@@ -76,33 +76,5 @@
540 <field name="international_status" ref="product_attributes.int_5"/>
541 </record>
542
543- <!-- Partner to be defined -->
544- <record id="supplier_tbd" model="res.partner">
545- <field name="name">To be defined</field>
546- <field name="active" eval="False" />
547- </record>
548-
549- <!-- Partner address to be defined -->
550- <record id="address_tbd" model="res.partner.address">
551- <field name="type">default</field>
552- <field name="street">To be defined</field>
553- <field name="zip">To be defined</field>
554- <field name="city">To be defined</field>
555- <field name="partner_id" ref="supplier_tbd"/>
556- <field name="active" eval="False" />
557- </record>
558-
559- <!-- SupplierInfo to be defined -->
560- <record id="supplierinfo_tbd" model="product.supplierinfo">
561- <field name="name" ref="supplier_tbd"/>
562- <field name="product_id" ref="product_tbd"/>
563- <field name="active" eval="False" />
564- <!--
565- <field name="uom_id" ref="uom_tbd"/>
566- <field name="uom_po_id" ref="uom_tbd"/>
567- <field name="categ_id" ref="cat_tbd"/>
568- -->
569- </record>
570-
571 </data>
572 </openerp>
573
574=== modified file 'bin/addons/msf_doc_import/purchase_order.py'
575--- bin/addons/msf_doc_import/purchase_order.py 2019-07-26 15:17:15 +0000
576+++ bin/addons/msf_doc_import/purchase_order.py 2019-07-30 10:05:10 +0000
577@@ -657,13 +657,8 @@
578 ids = [ids]
579 message = ''
580 plural = ''
581- obj_data = self.pool.get('ir.model.data')
582
583 for var in self.browse(cr, uid, ids, context=context):
584- # we check the supplier and the address
585- if var.partner_id.id == obj_data.get_object_reference(cr, uid, 'msf_doc_import', 'supplier_tbd')[1] \
586- or var.partner_address_id.id == obj_data.get_object_reference(cr, uid, 'msf_doc_import', 'address_tbd')[1]:
587- raise osv.except_osv(_('Warning !'), _("\n You can't have a supplier or an address 'To Be Defined', please select a consistent supplier."))
588 # we check the lines that need to be fixed
589 if var.order_line:
590 for var in var.order_line:
591
592=== modified file 'bin/addons/msf_homere_interface/hr_view.xml'
593--- bin/addons/msf_homere_interface/hr_view.xml 2019-04-05 14:45:58 +0000
594+++ bin/addons/msf_homere_interface/hr_view.xml 2019-07-30 10:05:10 +0000
595@@ -154,40 +154,6 @@
596 </field>
597 </record>
598
599- <!--
600- Employee Search
601- -->
602- <record id="inherit_view_employee_filter" model="ir.ui.view">
603- <field name="name">inherit.view.employee.filter</field>
604- <field name="model">hr.employee</field>
605- <field name="type">search</field>
606- <field name="inherit_id" ref="hr.view_employee_filter"/>
607- <field name="arch" type="xml">
608- <data>
609- <xpath expr="/search/filter[@name='active']" position="after">
610- <separator orientation="vertical" />
611- <filter icon="gtk-leave-fullscreen" domain="[('employee_type','=','local')]" name="employee_type_local" string="Local" />
612- <filter icon="gtk-quit" domain="[('employee_type','=','ex')]" name="employee_type_expatriate" string="Expat'" />
613- </xpath>
614- <xpath expr="/search/field[@name='department_id']" position="replace">
615- </xpath>
616- <xpath expr="//filter[@string='Coach']" position="replace">
617- </xpath>
618- <xpath expr="//filter[@string='Department']" position="replace">
619- </xpath>
620- <xpath expr="//filter[@string='Company']" position="replace">
621- </xpath>
622- <xpath expr="//field[@name='job_id']" position="after">
623- <newline/>
624- <group>
625- <field name="destination_id" domain="[('category','=','DEST'), ('type', '!=', 'view'), ('state', '=', 'open')]"/>
626- <field name="cost_center_id" domain="[('category','=','OC'), ('type', '!=', 'view'), ('state', '=', 'open')]"/>
627- <field name="funding_pool_id" domain="[('type', '!=', 'view'), ('category', '=', 'FUNDING'), ('state', '=', 'open')]"/>
628- </group>
629- </xpath>
630- </data>
631- </field>
632- </record>
633
634 <record id="view_employee_filter_2" model="ir.ui.view">
635 <field name="name">view.employee.filter.2</field>
636
637=== modified file 'bin/addons/msf_outgoing/msf_outgoing_view.xml'
638--- bin/addons/msf_outgoing/msf_outgoing_view.xml 2019-06-17 09:06:48 +0000
639+++ bin/addons/msf_outgoing/msf_outgoing_view.xml 2019-07-30 10:05:10 +0000
640@@ -395,6 +395,7 @@
641 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" />
642 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','=','confirmed')]" />
643 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" />
644+ <filter icon="gtk-cancel" name="cancel" string="Cancelled" domain="[('state','=','cancel')]" />
645 <separator orientation="vertical"/>
646 <filter icon="terp-accessories-archiver-minus" string="Back Orders" domain="[('backorder_id', '!=', False)]" help="Is a Back Order" />
647 <separator orientation="vertical"/>
648@@ -451,6 +452,7 @@
649 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" />
650 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','=','confirmed')]" />
651 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" />
652+ <filter icon="gtk-cancel" name="cancel" string="Cancelled" domain="[('state','=','cancel')]" />
653 <separator orientation="vertical"/>
654 <filter icon="terp-accessories-archiver-minus" string="Back Orders" domain="[('backorder_id', '!=', False)]" help="Is a Back Order" />
655 <separator orientation="vertical"/>
656@@ -768,8 +770,11 @@
657 <field name="arch" type="xml">
658 <search string="Pre-Packing List">
659 <group col="8" colspan="4">
660+ <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state', '=', 'draft')]" />
661+ <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','=','confirmed')]" />
662 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" help="Assigned Delivery Orders"/>
663 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" help="Delivery orders already processed"/>
664+ <filter icon="gtk-cancel" name="cancel" string="Cancelled" domain="[('state','=','cancel')]" />
665 <separator orientation="vertical"/>
666 <field name="name"/>
667 <field name="partner_id2" />
668@@ -1429,9 +1434,11 @@
669 <search string="Shipment">
670 <group col="8" colspan="4">
671 <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state','=','draft')]" />
672+ <filter icon="terp-accessories-archiver" name="packed" string="Packed" domain="[('state','=','packed')]" />
673 <filter icon="terp-check" name="shipped" string="Ready to ship" domain="[('state','=','shipped')]" />
674 <filter icon="terp-dialog-close" name="closed" string="Dispatched" domain="[('state','=','done')]" />
675 <filter icon="gtk-yes" name="delivered" string="Received" domain="[('state','=','delivered')]" />
676+ <filter icon="gtk-cancel" name="cancel" string="Cancelled" domain="[('state','=','cancel')]" />
677 <separator orientation="vertical"/>
678 <filter icon="terp-folder-orange" name="empty" string="Empty" domain="[('num_of_packs','=', 0)]" />
679 <filter icon="terp-folder-green" name="not_empty" string="Not Empty" domain="[('num_of_packs','!=', 0)]" />
680
681=== modified file 'bin/addons/msf_partner/partner.py'
682--- bin/addons/msf_partner/partner.py 2019-02-08 16:27:30 +0000
683+++ bin/addons/msf_partner/partner.py 2019-07-30 10:05:10 +0000
684@@ -351,26 +351,8 @@
685 """
686 Check if the deleted partner is not a system one
687 """
688- data_obj = self.pool.get('ir.model.data')
689 property_obj = self.pool.get('ir.property')
690
691- partner_data_id = [
692- 'supplier_tbd',
693- ]
694-
695- for data_id in partner_data_id:
696- try:
697- part_id = data_obj.get_object_reference(
698- cr, uid, 'msf_doc_import', data_id)[1]
699- if part_id in ids:
700- part_name = self.read(cr, uid, part_id, ['name'])['name']
701- raise osv.except_osv(
702- _('Error'),
703- _('''The partner '%s' is an Unifield internal partner, so you can't remove it''') % part_name,
704- )
705- except ValueError:
706- pass
707-
708
709 #US-1344: treat deletion of partner
710 address_obj = self.pool.get('res.partner.address')
711@@ -967,7 +949,7 @@
712 if view_type == 'search':
713 if not context or not context.get('show_button_show_inactive', False):
714 tree = etree.fromstring(view['arch'])
715- fields = tree.xpath('//filter[@name="inactive"]')
716+ fields = tree.xpath('//filter[@name="inactive"]|//filter[@name="active"]')
717 for field in fields:
718 field.set('invisible', "1")
719 view['arch'] = etree.tostring(tree)
720@@ -990,24 +972,7 @@
721 """
722 Check if the deleted address is not a system one
723 """
724- data_obj = self.pool.get('ir.model.data')
725-
726- addr_data_id = [
727- 'address_tbd',
728- ]
729-
730- for data_id in addr_data_id:
731- try:
732- addr_id = data_obj.get_object_reference(
733- cr, uid, 'msf_doc_import', data_id)[1]
734- if addr_id in ids:
735- addr_name = self.read(cr, uid, addr_id, ['name'])['name']
736- raise osv.except_osv(
737- _('Error'),
738- _('''The Address '%s' is an Unifield internal address, so you can't remove it''') % addr_name,
739- )
740- except ValueError:
741- pass
742+
743 res = super(res_partner_address, self).unlink(cr, uid, ids, context=context)
744
745 #US-1344: treat deletion of partner
746
747=== modified file 'bin/addons/msf_partner/partner_view.xml'
748--- bin/addons/msf_partner/partner_view.xml 2019-03-29 16:33:48 +0000
749+++ bin/addons/msf_partner/partner_view.xml 2019-07-30 10:05:10 +0000
750@@ -82,7 +82,8 @@
751 <filter string="ESC" name="esc" icon="gtk-ok" domain="[('partner_type','=','esc')]" help="ESC Partners"/>
752 <filter string="Intermission" name="intermission" icon="gtk-ok" domain="[('partner_type','=','intermission')]" help="Intermission Partners"/>
753 <separator orientation="vertical" />
754- <filter icon="gtk-missing-image" name="inactive" string="Show Inactive" domain="[('name', '!=', 'To be defined'), ('active', '=', False)]" separator="1" />
755+ <filter icon="terp-personal+" name="active" string="Show Active" domain="[('active', '=', True)]" default="1" />
756+ <filter icon="gtk-missing-image" name="inactive" string="Show Inactive" domain="['&amp;', ('name', '!=', 'To be defined'), ('active', '=', False)]" separator="1" />
757 <newline />
758 <field name="name" select="1"/>
759 <field name="address" select="1"/>
760@@ -259,6 +260,7 @@
761 <field name="type">ir.actions.act_window</field>
762 <field name="res_model">res.partner</field>
763 <field name="view_type">form</field>
764+ <field name="context">{'show_button_show_inactive': True, 'default_search_active': 1, 'active_test': 0}</field>
765 <field name="view_id" ref="msf_view_partner_tree"/>
766 <field name="search_view_id" ref="msf_view_res_partner_filter"/>
767 </record>
768
769=== modified file 'bin/addons/msf_profile/data.xml'
770--- bin/addons/msf_profile/data.xml 2017-10-27 08:30:22 +0000
771+++ bin/addons/msf_profile/data.xml 2019-07-30 10:05:10 +0000
772@@ -83,9 +83,6 @@
773 <record id="order_types.res_partner_local_market" model="res.partner">
774 <field name="lang">en_MF</field>
775 </record>
776- <record id="msf_doc_import.supplier_tbd" model="res.partner">
777- <field name="lang">en_MF</field>
778- </record>
779
780 <record id="smtp_config" model="email.configuration">
781 <field name="smtp_server">127.0.0.1</field>
782
783=== modified file 'bin/addons/msf_profile/i18n/fr_MF.po'
784--- bin/addons/msf_profile/i18n/fr_MF.po 2019-07-26 15:23:04 +0000
785+++ bin/addons/msf_profile/i18n/fr_MF.po 2019-07-30 10:05:10 +0000
786@@ -8768,6 +8768,7 @@
787 #: selection:wizard.import.product.line,state:0
788 #: selection:product.mass.update,state:0
789 #: selection:stock.expired.damaged.report,state:0
790+#: view:res.request:0
791 #, python-format
792 msgid "Draft"
793 msgstr "Brouillon"
794@@ -11621,7 +11622,7 @@
795 msgid "Creation Month"
796 msgstr "Creation Month"
797
798-#. modules: resource, finance, supplier_catalogue, msf_field_access_rights, msf_instance, msf_button_access_rights, msf_tools, analytic_distribution, financing_contract, sync_client
799+#. 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
800 #: view:financing.contract.donor:0
801 #: view:msf.instance:0
802 #: selection:msf.instance.cloud,state:0
803@@ -11637,6 +11638,9 @@
804 #: report:addons/msf_tools/report/report_inconsistencies_xls.mako:106
805 #: view:resource.resource:0
806 #: view:supplier.catalogue:0
807+#: view:hr.employee:0
808+#: view:res.users:0
809+#: view:res.currency:0
810 msgid "Inactive"
811 msgstr "Inactif"
812
813@@ -17762,6 +17766,7 @@
814
815 #. module: base
816 #: field:ir.model.access,perm_create:0
817+#: field:ir.model.access.empty,perm_create:0
818 msgid "Create Access"
819 msgstr "Créer l'Accès "
820
821@@ -21170,8 +21175,9 @@
822 msgid "Etc/GMT-11"
823 msgstr "Etc/GMT-11"
824
825-#. module: sales_followup
826+#. module: sales_followup, account
827 #: selection:ir.followup.location.wizard,state:0
828+#: view:account.subscription:0
829 msgid "Done"
830 msgstr "Cloturé"
831
832@@ -23409,9 +23415,10 @@
833 msgid "Dest. Address"
834 msgstr "Dest. Address"
835
836-#. modules: delivery_mechanism, stock_override
837+#. modules: delivery_mechanism, stock_override, account
838 #: view:stock.picking.processing.info:0
839 #: view:change.dest.location:0
840+#: view:account.period:0
841 msgid "Close"
842 msgstr "Fermé"
843
844@@ -30251,15 +30258,23 @@
845 msgid "Certificate attached ?"
846 msgstr "Certificat attaché ?"
847
848+<<<<<<< TREE
849 #. modules: msf_supply_doc_export, sourcing, consumption_calculation, sale, sales_followup, msf_supply_doc_export, purchase
850+=======
851+#. modules: msf_supply_doc_export, sourcing, consumption_calculation, sale, sales_followup, msf_supply_doc_export, base
852+>>>>>>> MERGE-SOURCE
853 #: field:po.follow.up,closed_ok:0
854 #: selection:real.average.consumption,state:0
855 #: selection:po.follow.up,state:0
856 #: selection:sale.order.leave.close,order_state:0
857 #: field:ir.followup.location.wizard,closed_ok:0
858 #: selection:sale.order.line,sale_order_state:0
859+<<<<<<< TREE
860 #: selection:sale.order.line,state_to_display:0
861 #: selection:purchase.order.line,state_to_display:0
862+=======
863+#: view:res.request:0
864+>>>>>>> MERGE-SOURCE
865 msgid "Closed"
866 msgstr "Fermé"
867
868@@ -31871,6 +31886,7 @@
869 #: selection:account.account.template,type:0
870 #: selection:account.entries.report,type:0
871 #: selection:account.partner.balance.tree,account_type:0
872+#: view:account.account:0
873 msgid "Payable"
874 msgstr "Fournisseur"
875
876@@ -37240,14 +37256,12 @@
877 msgstr "L'Identité de l'enregistrement est attachée à ce(t)"
878
879 #. modules: account, finance
880-#: view:account.account:0
881 #: selection:account.aged.trial.balance,result_selection:0
882 #: selection:account.common.partner.report,result_selection:0
883 #: selection:account.partner.balance,result_selection:0
884 #: selection:account.partner.ledger,result_selection:0
885 #: code:addons/account/report/account_partner_ledger.py:294
886 #: model:ir.actions.act_window,name:account.action_aged_receivable
887-#: view:account.account:0
888 #: selection:wizard.account.partner.balance.tree,result_selection:0
889 #: code:addons/finance/report/account_partner_balance_tree.py:90
890 #, python-format
891@@ -39341,6 +39355,7 @@
892 #: field:purchase.order.merged.line,create_date:0
893 #: field:internal.request.import,in_creation_date:0
894 #: field:purchase.order.line,create_date:0
895+#: field:internal.request.import,in_creation_date:0
896 #, python-format
897 msgid "Creation date"
898 msgstr "Date de création"
899@@ -48509,6 +48524,7 @@
900 #: view:account.bank.statement:0
901 #: view:account.bank.statement.line:0
902 #: view:sale.order.line:0
903+#: view:free.allocation.wizard:0
904 msgid "Delete"
905 msgstr "Supprimer"
906
907@@ -51986,10 +52002,11 @@
908 " Creates automatically Purchase Orders after choosing.\n"
909 " "
910
911-#. modules: financing_contract, msf_homere_interface, analytic_distribution
912+#. modules: financing_contract, msf_homere_interface, analytic_distribution, msf_partner
913 #: view:account.destination.link:0
914 #: view:financing.contract.account.quadruplet:0
915 #: view:hr.employee:0
916+#: view:res.partner:0
917 msgid "Show Active"
918 msgstr "Montrer Actif"
919
920@@ -53510,6 +53527,7 @@
921 #: selection:cash.request.liquidity.cheque,type:0
922 #: selection:account.journal.fake,type:0
923 #: selection:wizard.register.opening.confirmation,register_type:0
924+#: view:account.account:0
925 msgid "Accrual"
926 msgstr "Accrual"
927
928@@ -57810,10 +57828,12 @@
929 msgid "Parent shipment"
930 msgstr "Expédition Parent "
931
932-#. modules: sourcing, analytic_distribution, account_mcdb
933+#. modules: sourcing, analytic_distribution, account_mcdb, account
934 #: view:analytic.distribution.wizard:0
935 #: view:multiple.sourcing.wizard:0
936 #: view:account.mcdb:0
937+#: view:account.common.report:0
938+#: view:free.allocation.wizard:0
939 msgid "Save"
940 msgstr "Sauver"
941
942@@ -66705,6 +66725,7 @@
943
944 #. module: account
945 #: selection:report.account.receivable,type:0
946+#: view:account.account:0
947 msgid "Income"
948 msgstr "Income"
949
950@@ -72810,7 +72831,7 @@
951 msgid "Navajo"
952 msgstr "Navajo"
953
954-#. 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
955+#. 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, msf_profile
956 #: field:account.account,active:0
957 #: field:account.analytic.journal,active:0
958 #: field:account.journal.period,active:0
959@@ -72880,6 +72901,8 @@
960 #: field:sync.client.message_rule,active:0
961 #: selection:sync.version.instance.monitor,instance_state:0
962 #: field:product.mass.update,active_product:0
963+#: view:composition.kit:0
964+#: view:res.users:0
965 #, python-format
966 msgid "Active"
967 msgstr "Actif"
968@@ -76618,6 +76641,7 @@
969
970 #. module: account
971 #: selection:report.account.receivable,type:0
972+#: view:account.account:0
973 msgid "Expense"
974 msgstr "Expense"
975
976@@ -78241,7 +78265,7 @@
977 msgid "Indicative Total Value"
978 msgstr "Valeur totale"
979
980-#. 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
981+#. 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, procurement_request
982 #: selection:account.invoice,state:0
983 #: selection:account.invoice.report,state:0
984 #: selection:report.invoice.created,state:0
985@@ -78308,6 +78332,10 @@
986 #: selection:sale.order.line,state_to_display:0
987 #: selection:purchase.order.line,state_to_display:0
988 #: field:po.follow.up,cancel_ok:0
989+#: view:real.average.consumption:0
990+#: view:shipment:0
991+#: view:stock.picking:0
992+#: view:sale.order:0
993 #, python-format
994 msgid "Cancelled"
995 msgstr "Annulé"
996@@ -79736,6 +79764,7 @@
997
998 #. module: base
999 #: field:ir.model.access,perm_unlink:0
1000+#: field:ir.model.access.empty,perm_unlink:0
1001 msgid "Delete Access"
1002 msgstr "Supprimer Accès"
1003
1004@@ -85642,14 +85671,12 @@
1005 msgstr "Ajouter un en-tête RML"
1006
1007 #. modules: account, finance
1008-#: view:account.account:0
1009 #: view:account.account.template:0
1010 #: selection:account.aged.trial.balance,result_selection:0
1011 #: selection:account.common.partner.report,result_selection:0
1012 #: selection:account.partner.balance,result_selection:0
1013 #: selection:account.partner.ledger,result_selection:0
1014 #: code:addons/account/report/account_partner_ledger.py:296
1015-#: view:account.account:0
1016 #: code:addons/finance/report/account_partner_balance_tree.py:92
1017 #: selection:wizard.account.partner.balance.tree,result_selection:0
1018 #, python-format
1019@@ -89323,6 +89350,7 @@
1020 #. modules: sales_followup, msf_outgoing
1021 #: selection:shipment,state:0
1022 #: code:addons/sales_followup/sale_followup.py:525
1023+#: view:shipment:0
1024 #, python-format
1025 msgid "Packed"
1026 msgstr "Emballé"
1027@@ -89764,6 +89792,7 @@
1028 #: selection:account.account.template,type:0
1029 #: selection:account.entries.report,type:0
1030 #: selection:account.partner.balance.tree,account_type:0
1031+#: view:account.account:0
1032 msgid "Receivable"
1033 msgstr "Créditeurs"
1034
1035@@ -93947,6 +93976,7 @@
1036 #: report:addons/stock/report/stock_expired_damaged_report_xls.mako:229
1037 #: field:internal.request.import,imp_creation_date:0
1038 #: report:addons/stock/report/products_situation_report_xls.mako:221
1039+#: field:internal.request.import,imp_creation_date:0
1040 msgid "Creation Date"
1041 msgstr "Date de Création"
1042
1043@@ -102451,10 +102481,18 @@
1044 msgid "A.D"
1045 msgstr "D.A"
1046
1047+<<<<<<< TREE
1048 #. modules: purchase, sale
1049+=======
1050+#. module: purchase, sale
1051+>>>>>>> MERGE-SOURCE
1052 #: view:purchase.order.line:0
1053+<<<<<<< TREE
1054 #: view:sale.order.line:0
1055 #: view:sale.order:0
1056+=======
1057+#: view:sale.order:0
1058+>>>>>>> MERGE-SOURCE
1059 msgid "Changes"
1060 msgstr "Modifications"
1061
1062@@ -107371,6 +107409,7 @@
1063 msgid "Stop report"
1064 msgstr "Arrêter le rapport"
1065
1066+<<<<<<< TREE
1067 #. module: stock
1068 #: code:addons/stock/stock.py:1780
1069 #, python-format
1070@@ -107481,3 +107520,10 @@
1071 #: report:addons/sale/report/sale_loan_stock_moves_report_xls.mako:175
1072 msgid "Line State"
1073 msgstr "État de la Ligne"
1074+=======
1075+#. modules: sale, procurement_request
1076+#: view:sale.order:0
1077+#: view:sale.order:0
1078+msgid "Add Line"
1079+msgstr "Ajouter La ligne"
1080+>>>>>>> MERGE-SOURCE
1081
1082=== modified file 'bin/addons/msf_profile/msf_profile.py'
1083--- bin/addons/msf_profile/msf_profile.py 2019-07-24 09:13:25 +0000
1084+++ bin/addons/msf_profile/msf_profile.py 2019-07-30 10:05:10 +0000
1085@@ -1781,7 +1781,7 @@
1086 select res_id from ir_model_data d
1087 where d.module='sd'
1088 and d.model='res.partner'
1089- and name not in ('msf_doc_import_supplier_tbd', 'order_types_res_partner_local_market')
1090+ and name != 'order_types_res_partner_local_market'
1091 and name not like '%s%%'
1092 ) """ % (identifier, )) # not_a_user_entry
1093 self._logger.warn('%s non local partners updated' % (cr.rowcount,))
1094
1095=== modified file 'bin/addons/msf_profile/user_access_configurator_view.xml'
1096--- bin/addons/msf_profile/user_access_configurator_view.xml 2019-04-02 13:37:23 +0000
1097+++ bin/addons/msf_profile/user_access_configurator_view.xml 2019-07-30 10:05:10 +0000
1098@@ -360,7 +360,7 @@
1099 <field name="priority" eval="99" />
1100 <field name="arch" type="xml">
1101 <search string="Groups">
1102- <filter name="show_active" string="Only inactive" icon="gtk-cancel" domain="[('visible_res_groups', '=', False)]" context="{'show_invisible': True}" />
1103+ <filter name="only_inactive" string="Only inactive" icon="gtk-cancel" domain="[('visible_res_groups', '=', False)]" context="{'show_invisible': True}" />
1104 <filter name="show_good_level" string="All Levels" icon="gtk-cancel" context="{'show_all_level': True}" />
1105 <field name="name" />
1106 <field name="is_an_admin_profile" />
1107@@ -387,7 +387,9 @@
1108 <field name="priority" eval="99" />
1109 <field name="arch" type="xml">
1110 <search string="Users">
1111- <filter name="show_inactive" string="Show inactive" icon="gtk-ok" domain="[('active', '=', False)]" />
1112+ <filter name="active" string="Active" icon="terp-personal+" domain="[('active', '=', True)]" />
1113+ <filter name="inactive" string="Inactive" icon="terp-personal-" domain="[('active', '=', False)]" />
1114+ <separator orientation="vertical"/>
1115 <filter name="show_synchronized" string="Show synchronized" icon="gtk-ok" domain="[('synchronize', '=', True)]"/>
1116 <field name="name" />
1117 <field name="login" />
1118
1119=== modified file 'bin/addons/out_step/out_step_view.xml'
1120--- bin/addons/out_step/out_step_view.xml 2019-06-18 07:28:19 +0000
1121+++ bin/addons/out_step/out_step_view.xml 2019-07-30 10:05:10 +0000
1122@@ -36,12 +36,17 @@
1123 <field name="inherit_id" ref="stock.view_picking_out_search" />
1124 <field name="arch" type="xml">
1125 <data>
1126-
1127 <filter name="done" position="replace">
1128+<<<<<<< TREE
1129 <!-- <separator orientation="vertical"/> -->
1130 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" help="Delivery orders already processed"/>
1131 <filter icon="gtk-yes" name="delivered" string="Delivered" domain="[('state', '=', 'delivered')]" help="Delivered Delivery Orders" />
1132 <!-- <filter icon="gtk-no" name="not_delivered" string="Not Delivered" domain="[('state', '=', 'done'), ('delivered', '=', False)]" help="Not Delivered Delivery Orders" /> -->
1133+=======
1134+ <filter icon="terp-dialog-close" name="done" string="Closed" domain="['&amp;', ('state','=','done'), ('delivered', '=', False)]" help="Delivery orders already processed"/>
1135+ <filter icon="gtk-yes" name="delivered" string="Delivered" domain="['&amp;', ('state', '=', 'done'), ('delivered', '=', True)]" help="Delivered Delivery Orders" />
1136+ <filter icon="gtk-cancel" name="cancel" string="Cancelled" domain="[('state','=','cancel')]" />
1137+>>>>>>> MERGE-SOURCE
1138 <separator orientation="vertical"/>
1139 </filter>
1140
1141@@ -50,4 +55,4 @@
1142 </record>
1143
1144 </data>
1145-</openerp>
1146\ No newline at end of file
1147+</openerp>
1148
1149=== modified file 'bin/addons/procurement/procurement_view.xml'
1150--- bin/addons/procurement/procurement_view.xml 2017-10-04 05:23:42 +0000
1151+++ bin/addons/procurement/procurement_view.xml 2019-07-30 10:05:10 +0000
1152@@ -107,8 +107,8 @@
1153 help="Procurement started late" />
1154 <separator orientation="vertical"/>
1155 <filter icon="terp-emblem-important" string="Exceptions" name="exceptions" domain="[('state','=','exception')]" help="Procurement Exceptions"/>
1156- <filter icon="terp-emblem-important" string="To Fix" name="perm_exceptions" domain="[('state','=','exception'),('message', '!=', '')]" help="Permanent Procurement Exceptions"/>
1157- <filter icon="terp-emblem-important" string="Temporary" name="temp_exceptions" domain="[('state','=','exception'),('message', '=', '')]" help="Temporary Procurement Exceptions"/>
1158+ <filter icon="terp-emblem-important" string="To Fix" name="perm_exceptions" domain="['&amp;', ('state','=','exception'),('message', '!=', '')]" help="Permanent Procurement Exceptions"/>
1159+ <filter icon="terp-emblem-important" string="Temporary" name="temp_exceptions" domain="['&amp;', ('state','=','exception'),('message', '=', '')]" help="Temporary Procurement Exceptions"/>
1160 <separator orientation="vertical"/>
1161 <field name="origin"/>
1162 <field name="product_id" />
1163
1164=== modified file 'bin/addons/procurement_request/procurement_request_view.xml'
1165--- bin/addons/procurement_request/procurement_request_view.xml 2019-03-18 16:21:17 +0000
1166+++ bin/addons/procurement_request/procurement_request_view.xml 2019-07-30 10:05:10 +0000
1167@@ -168,9 +168,11 @@
1168 <search string="Internal Requests">
1169 <group string="Filters" expand="1">
1170 <filter name="state_proc" string="Draft" icon="terp-document-new" domain="[('state', 'in', ['draft','draft_p'])]" />
1171- <filter name="state_valid" string="Validated" icon="terp-camera_test" domain="[('state', 'in', ['validated','validated_p'])]" />
1172- <filter name="state_proc_progress" string="Confirmed" icon="terp-stage" domain="[('state', 'in', ('confirmed', 'confirmed_p'))]" />
1173+ <filter name="state_valid" string="Validated" icon="terp-check" domain="[('state', 'in', ['validated','validated_p'])]" />
1174+ <filter name="sourced" string="Sourced" icon="gtk-paste-v" domain="[('state','in',['sourced','sourced_p'])]" />
1175+ <filter name="state_proc_progress" string="Confirmed" icon="terp-camera_test" domain="[('state', 'in', ('confirmed', 'confirmed_p'))]" />
1176 <filter name="state_done" string="Closed" icon="terp-dialog-close" domain="[('state', '=', 'done')]" />
1177+ <filter name="cancelled" string="Cancelled" icon="gtk-cancel" domain="[('state', '=', 'cancel')]" />
1178 <separator orientation="vertical" />
1179 <field name="name" />
1180 <field name="origin" />
1181
1182=== modified file 'bin/addons/product/product_view.xml'
1183--- bin/addons/product/product_view.xml 2019-01-30 08:28:30 +0000
1184+++ bin/addons/product/product_view.xml 2019-07-30 10:05:10 +0000
1185@@ -10,6 +10,7 @@
1186 <field name="arch" type="xml">
1187 <search string="Product">
1188 <filter string="Stock>0" icon="terp-accessories-archiver" domain="[('postive_qty','=',True)]"/>
1189+ <separator orientation="vertical"/>
1190 <filter string="Services" icon="terp-accessories-archiver" domain="[('type','=','service')]"/>
1191 <filter string="Stockable" icon="terp-accessories-archiver" domain="['|',('type','=','product'),('type','=','consu')]"/>
1192 <separator orientation="vertical"/>
1193
1194=== modified file 'bin/addons/product_attributes/product_attributes_view.xml'
1195--- bin/addons/product_attributes/product_attributes_view.xml 2019-05-03 13:44:52 +0000
1196+++ bin/addons/product_attributes/product_attributes_view.xml 2019-07-30 10:05:10 +0000
1197@@ -464,6 +464,7 @@
1198 <field name="arch" type="xml">
1199 <search string="Product">
1200 <filter string="Stock>0" icon="terp-accessories-archiver" domain="[('postive_qty','=',True)]"/>
1201+ <separator orientation="vertical"/>
1202 <filter string="Stockable" icon="terp-accessories-archiver" domain="[('type','=','product')]"/>
1203 <filter string="Non-Stockable" icon="terp-accessories-archiver" domain="[('type','=','consu')]"/>
1204 <filter string="Service with Reception" icon="terp-accessories-archiver" domain="[('type','=','service_recep')]" />
1205
1206=== modified file 'bin/addons/product_list/product_list_view.xml'
1207--- bin/addons/product_list/product_list_view.xml 2017-01-11 14:07:57 +0000
1208+++ bin/addons/product_list/product_list_view.xml 2019-07-30 10:05:10 +0000
1209@@ -32,6 +32,7 @@
1210 <filter string="Sublist" name="only_sublist" domain="[('type', '=', 'sublist')]" icon="gtk-copy" />
1211 <separator orientation="vertical" />
1212 <filter string="Standard" name="standard" domain="[('standard_list_ok', '=', True)]" icon="terp-rating-rated" />
1213+ <separator orientation="vertical" />
1214 <filter string="Order list print" name="print_list" domain="[('order_list_print_ok', '=', True)]" icon="gtk-print" />
1215 <field name="ref" />
1216 <field name="name" />
1217
1218=== modified file 'bin/addons/purchase/purchase_view.xml'
1219--- bin/addons/purchase/purchase_view.xml 2019-07-25 13:52:35 +0000
1220+++ bin/addons/purchase/purchase_view.xml 2019-07-30 10:05:10 +0000
1221@@ -435,14 +435,12 @@
1222 <search string="Search Purchase Orders">
1223 <group col="8" colspan="4">
1224 <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"/>
1225- <filter icon="terp-check" name="approved" string="Validated" domain="[('state', 'in', ['validated', 'validated_p'])]" separator="1" help="Purchase orders which are in approved state."/>
1226+ <filter icon="terp-check" name="validated" string="Validated" domain="[('state', 'in', ['validated', 'validated_p'])]" separator="1" help="Purchase orders which are in approved state."/>
1227 <filter icon="gtk-paste-v" name="sourced" string="Sourced" domain="[('state','in',['sourced','sourced_p'])]" separator="1"/>
1228 <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."/>
1229 <filter icon="gtk-close" name="done" string="Closed" domain="[('state', 'in', ['done'])]" separator="1" help="Purchase orders which are in done state."/>
1230- <separator orientation="vertical"/>
1231 <filter icon="gtk-cancel" name="cancelled" string="Cancelled" domain="[('state', 'in', ['cancel'])]" separator="1" help="Purchase orders which are in cancelled state."/>
1232 <separator orientation="vertical"/>
1233- <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."/>
1234 <separator orientation="vertical"/>
1235 <field name="name" select="1" string="Reference"/>
1236 <field name="partner_id" select="1" string="Supplier"/>
1237@@ -547,7 +545,7 @@
1238 <field name="type">ir.actions.act_window</field>
1239 <field name="res_model">purchase.order</field>
1240 <field name="view_mode">tree,form,graph,calendar</field>
1241- <field name="context">{'purchase_order': True}</field>
1242+ <field name="context">{'purchase_order': True, 'search_default_draft': 1, 'search_default_validated': 1, 'search_default_sourced': 1}</field>
1243 <field name="domain">[('tender_id', '=', False), ('rfq_ok', '=', False)]</field>
1244 <field name="search_view_id" ref="purchase.view_purchase_order_filter"/>
1245 <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>
1246
1247=== modified file 'bin/addons/purchase/report/purchase_report_view.xml'
1248--- bin/addons/purchase/report/purchase_report_view.xml 2018-12-07 08:43:21 +0000
1249+++ bin/addons/purchase/report/purchase_report_view.xml 2019-07-30 10:05:10 +0000
1250@@ -56,16 +56,16 @@
1251 <search string="Purchase Orders">
1252 <group colspan="10" col="12">
1253 <filter icon="terp-go-year" string=" Year "
1254- domain="[('date','&lt;=', time.strftime('%%Y-%%m-%%d')),('date','&gt;=',time.strftime('%%Y-01-01'))]"
1255+ domain="['&amp;', ('date','&lt;=', time.strftime('%%Y-%%m-%%d')),('date','&gt;=',time.strftime('%%Y-01-01'))]"
1256 help="Order in current year"/>
1257 <filter icon="terp-go-month" string=" Month "
1258 name="month"
1259- 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'))]"
1260+ 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'))]"
1261 help="Order in current month"/>
1262 <filter icon="terp-go-month"
1263 string=" Month-1 "
1264 separator="1"
1265- 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'))]"
1266+ 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'))]"
1267 help="Order in last month"/>
1268 <separator orientation="vertical"/>
1269 <filter icon="terp-document-new"
1270@@ -75,7 +75,7 @@
1271 <filter icon="terp-gtk-jump-to-rtl"
1272 string="Orders"
1273 name="orders"
1274- domain="[('state','&lt;&gt;','draft'),('state','&lt;&gt;','cancel')]"/>
1275+ domain="['&amp;', ('state','&lt;&gt;','draft'),('state','&lt;&gt;','cancel')]"/>
1276 <separator orientation="vertical"/>
1277 <field name="partner_id"/>
1278 <field name="product_id"/>
1279
1280=== modified file 'bin/addons/reason_types_moves/stock_view.xml'
1281--- bin/addons/reason_types_moves/stock_view.xml 2018-03-12 16:27:29 +0000
1282+++ bin/addons/reason_types_moves/stock_view.xml 2019-07-30 10:05:10 +0000
1283@@ -1,25 +1,25 @@
1284 <?xml version="1.0" encoding="utf-8" ?>
1285 <openerp>
1286- <data>
1287-
1288- <!-- Override Stock Moves -->
1289- <record id="stock_move_tree2_type_id" model="ir.ui.view">
1290+ <data>
1291+
1292+ <!-- Override Stock Moves -->
1293+ <record id="stock_move_tree2_type_id" model="ir.ui.view">
1294 <field name="name">stock.move.tree2.type.id</field>
1295 <field name="model">stock.move</field>
1296 <field name="type">tree</field>
1297 <field name="priority">20</field>
1298 <field name="inherit_id" ref="stock.stock_move_tree2" />
1299 <field name="arch" type="xml">
1300- <data>
1301- <xpath expr="/tree/field[@name='location_dest_id']" position="replace">
1302- <field name="location_dest_id" on_change="location_dest_change(location_dest_id, location_id)" domain="[('id', '!=', location_id)]"/>
1303- </xpath>
1304+ <data>
1305+ <xpath expr="/tree/field[@name='location_dest_id']" position="replace">
1306+ <field name="location_dest_id" on_change="location_dest_change(location_dest_id, location_id)" domain="[('id', '!=', location_id)]"/>
1307+ </xpath>
1308
1309 <xpath expr="/tree/field[@name='product_uom']" position="after">
1310- <field name="reason_type_id" attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}" />
1311+ <field name="reason_type_id" attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}" />
1312 <field name="comment" />
1313 </xpath>
1314- </data>
1315+ </data>
1316 </field>
1317 </record>
1318
1319@@ -30,16 +30,16 @@
1320 <field name="priority">30</field>
1321 <field name="inherit_id" ref="stock.view_move_tree" />
1322 <field name="arch" type="xml">
1323- <data>
1324- <xpath expr="/tree/field[@name='location_dest_id']" position="replace">
1325- <field name="location_dest_id" on_change="location_dest_change(location_dest_id, location_id)" domain="[('id', '!=', location_id)]" />
1326- </xpath>
1327+ <data>
1328+ <xpath expr="/tree/field[@name='location_dest_id']" position="replace">
1329+ <field name="location_dest_id" on_change="location_dest_change(location_dest_id, location_id)" domain="[('id', '!=', location_id)]" />
1330+ </xpath>
1331
1332- <xpath expr="/tree/field[@name='create_date']" position="after">
1333- <field name="reason_type_id" attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}" />
1334- <field name="comment" />
1335- </xpath>
1336- </data>
1337+ <xpath expr="/tree/field[@name='create_date']" position="after">
1338+ <field name="reason_type_id" attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}" />
1339+ <field name="comment" />
1340+ </xpath>
1341+ </data>
1342 </field>
1343 </record>
1344
1345@@ -51,9 +51,9 @@
1346 <field name="inherit_id" ref="stock.view_move_form" />
1347 <field name="arch" type="xml">
1348 <xpath expr="/form//field[@name='tracking_id']" position="before">
1349- <field name="reason_type_id" widget="selection"
1350- domain="[('internal_ok', '=', True)]"
1351- attrs="{'readonly': [('state', 'not in', ('draft', 'waiting', 'confirmed', 'assigned'))]}" />
1352+ <field name="reason_type_id" widget="selection"
1353+ domain="[('internal_ok', '=', True)]"
1354+ attrs="{'readonly': [('state', 'not in', ('draft', 'waiting', 'confirmed', 'assigned'))]}" />
1355 <field name="comment" attrs="{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}" />
1356 </xpath>
1357 </field>
1358@@ -66,8 +66,8 @@
1359 <field name="priority">35</field>
1360 <field name="inherit_id" ref="stock.view_move_form_reception_picking" />
1361 <field name="arch" type="xml">
1362- <data>
1363- <xpath expr="/form//field[@name='tracking_id']" position="before">
1364+ <data>
1365+ <xpath expr="/form//field[@name='tracking_id']" position="before">
1366 <field name="reason_type_id" widget="selection"
1367 domain="[('incoming_ok', '=', True)]"
1368 attrs="{'readonly': [('state', 'not in', ('draft', 'waiting', 'confirmed', 'assigned'))]}" />
1369@@ -83,18 +83,18 @@
1370 <field name="priority">25</field>
1371 <field name="inherit_id" ref="stock.view_move_search" />
1372 <field name="arch" type="xml">
1373- <data>
1374+ <data>
1375 <xpath expr="/search//filter[@string='Done']" position="attributes">
1376 <attribute name="string">Closed</attribute>
1377 </xpath>
1378- <xpath expr="/search/group[@string='Group By...']/filter[@string='Destination']" position="after">
1379+ <xpath expr="/search/group[@string='Group By...']/filter[@string='Destination']" position="after">
1380 <separator />
1381 <filter string="Reason Type" name="groupby_reason_type_id" icon="terp-purchase" domain="[]" context="{'group_by':'reason_type_id'}"/>
1382 </xpath>
1383- </data>
1384+ </data>
1385 </field>
1386 </record>
1387-
1388+
1389 <record id="inherit_view_move_tree_reception_picking" model="ir.ui.view">
1390 <field name="name">inherit.view.move.tree.reception.picking</field>
1391 <field name="model">stock.move</field>
1392@@ -102,12 +102,12 @@
1393 <field name="priority">30</field>
1394 <field name="inherit_id" ref="stock.view_move_tree_reception_picking" />
1395 <field name="arch" type="xml">
1396- <data>
1397- <xpath expr="/tree/field[@name='picking_id']" position="after">
1398+ <data>
1399+ <xpath expr="/tree/field[@name='picking_id']" position="after">
1400 <field name="reason_type_id" domain="[('incoming_ok', '=', True)]" />
1401 </xpath>
1402
1403- <xpath expr="/tree" position="attributes">
1404+ <xpath expr="/tree" position="attributes">
1405 <attribute name="hide_new_button">True</attribute>
1406 <attribute name="hide_delete_button">True</attribute>
1407 <attribute name="editable">top</attribute>
1408@@ -125,24 +125,24 @@
1409 <field name="priority">20</field>
1410 <field name="inherit_id" ref="stock.view_move_search_reception_incoming_picking" />
1411 <field name="arch" type="xml">
1412- <data>
1413+ <data>
1414 <xpath expr="/search//filter[@string='Done']" position="attributes">
1415 <attribute name="string">Closed</attribute>
1416 </xpath>
1417-
1418- <xpath expr="/search/group/field[@name='origin']" position="before">
1419- <field name="picking_id" />
1420- <field name="reason_type_id" widget="selection" domain="[('incoming_ok', '=', True)]" />
1421- </xpath>
1422- <xpath expr="/search//field[@name='product_id']" position="after">
1423- <field name="order_category" />
1424- <field name="state" />
1425- </xpath>
1426- <xpath expr="/search//filter[@string='Supplier']" position="after">
1427- <filter string="Reason Type" icon="terp-purchase" domain="[]" context="{'group_by':'reason_type_id'}"/>
1428- <separator orientation="vertical" />
1429- </xpath>
1430-
1431+
1432+ <xpath expr="/search/group/field[@name='origin']" position="before">
1433+ <field name="picking_id" />
1434+ <field name="reason_type_id" widget="selection" domain="[('incoming_ok', '=', True)]" />
1435+ </xpath>
1436+ <xpath expr="/search//field[@name='product_id']" position="after">
1437+ <field name="order_category" />
1438+ <field name="state" />
1439+ </xpath>
1440+ <xpath expr="/search//filter[@string='Supplier']" position="after">
1441+ <filter string="Reason Type" icon="terp-purchase" domain="[]" context="{'group_by':'reason_type_id'}"/>
1442+ <separator orientation="vertical" />
1443+ </xpath>
1444+
1445 </data>
1446 </field>
1447 </record>
1448@@ -154,69 +154,72 @@
1449 <field name="priority">20</field>
1450 <field name="inherit_id" ref="stock.view_move_search_reception_outcoming_picking" />
1451 <field name="arch" type="xml">
1452- <data>
1453- <xpath expr="/search//filter[@string='To Do']" position="attributes">
1454- <attribute name="string">In Progress</attribute>
1455- </xpath>
1456+ <data>
1457+ <xpath expr="/search//filter[@string='To Do']" position="attributes">
1458+ <attribute name="string">In Progress</attribute>
1459+ </xpath>
1460 <xpath expr="/search//filter[@string='Done']" position="attributes">
1461 <attribute name="string">Closed</attribute>
1462 </xpath>
1463-
1464+
1465 <xpath expr="/search//field[@name='origin']" position="before">
1466- <field name="picking_id" />
1467- <field name="reason_type_id" widget="selection" domain="[('outgoing_ok', '=', True)]" />
1468- </xpath>
1469-
1470- <xpath expr="/search/group/field[@name='product_id']" position="after">
1471- <newline />
1472- <field name="order_category" />
1473- <field name="state" />
1474- </xpath>
1475-
1476+ <field name="picking_id" />
1477+ <field name="reason_type_id" widget="selection" domain="[('outgoing_ok', '=', True)]" />
1478+ </xpath>
1479+
1480+ <xpath expr="/search/group/field[@name='product_id']" position="after">
1481+ <newline />
1482+ <field name="order_category" />
1483+ <field name="state" />
1484+ </xpath>
1485+
1486 <xpath expr="/search//filter[@string='Customer']" position="after">
1487 <separator orientation="vertical" />
1488 <filter string="Reason Type" icon="terp-purchase" domain="[]" context="{'group_by':'reason_type_id'}"/>
1489- </xpath>
1490-
1491- <xpath expr="/search/group[@string='Extended Filters...']/field[@name='tracking_id']" position="replace" />
1492- </data>
1493+ </xpath>
1494+
1495+ <xpath expr="/search/group[@string='Extended Filters...']/field[@name='tracking_id']" position="replace" />
1496+ </data>
1497 </field>
1498 </record>
1499
1500
1501- <record id="inherit_view_move_tree_reception_picking_board" model="ir.ui.view">
1502- <field name="name">inherit.view.move.tree.reception.picking.board</field>
1503- <field name="model">stock.move</field>
1504- <field name="type">tree</field>
1505+ <record id="inherit_view_move_tree_reception_picking_board" model="ir.ui.view">
1506+ <field name="name">inherit.view.move.tree.reception.picking.board</field>
1507+ <field name="model">stock.move</field>
1508+ <field name="type">tree</field>
1509 <field name="priority">20</field>
1510- <field name="inherit_id" ref="stock.view_move_tree_reception_picking_board" />
1511- <field name="arch" type="xml">
1512- <data>
1513- <xpath expr="/tree/field[@name='product_uom']" position="after">
1514- <field name="reason_type_id" />
1515- </xpath>
1516-
1517- <button name="action_done" position="attributes">
1518- <attribute name="invisible">1</attribute>
1519- </button>
1520- </data>
1521- </field>
1522- </record>
1523+ <field name="inherit_id" ref="stock.view_move_tree_reception_picking_board" />
1524+ <field name="arch" type="xml">
1525+ <data>
1526+ <xpath expr="/tree/field[@name='product_uom']" position="after">
1527+ <field name="reason_type_id" />
1528+ </xpath>
1529+
1530+ <button name="action_done" position="attributes">
1531+ <attribute name="invisible">1</attribute>
1532+ </button>
1533+ </data>
1534+ </field>
1535+ </record>
1536
1537 <!-- id: inherit_view_picking_in_form, name: inherit.view.picking.in.form, inherit_id: stock.view_picking_in_form was here -->
1538 <!-- id: inherit_view_picking_form, name: inherit.view.picking.form, inherit_id: stock.view_picking_form was here -->
1539 <!-- id: inherit_view_picking_out_form, name: inherit.view.picking.out.form, inherit_id: stock.view_picking_out_form was here -->
1540
1541 <record id="stock.view_picking_in_search" model="ir.ui.view">
1542- <field name="name">unifield.stock.picking.in.search</field>
1543- <field name="model">stock.picking</field>
1544- <field name="type">search</field>
1545+ <field name="name">unifield.stock.picking.in.search</field>
1546+ <field name="model">stock.picking</field>
1547+ <field name="type">search</field>
1548 <field name="priority">24</field>
1549- <field name="arch" type="xml">
1550- <search string="Incoming Shipments">
1551+ <field name="arch" type="xml">
1552+ <search string="Incoming Shipments">
1553 <group col="8" colspan="4">
1554+ <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state', '=', 'draft')]" />
1555+ <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state', '=', 'confirmed')]" />
1556 <filter icon="terp-check" name="available" string="Available" domain="[('state','in',('assigned','shipped','updated'))]" help="Incoming Shipments Available" />
1557 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" help="Incoming Shipments already processed"/>
1558+ <filter icon="gtk-cancel" name="cancel" string="Cancelled" domain="[('state','=','cancel')]" />
1559 <separator orientation="vertical" />
1560 <filter icon="terp-accessories-archiver-minus" string="Back Orders" domain="[('backorder_id', '!=', False)]" help="Is a Back Order" />
1561 <separator orientation="vertical"/>
1562@@ -243,10 +246,10 @@
1563 <filter string="Reason type" icon="terp-purchase" domain="[]" context="{'group_by': 'reason_type_id'}" />
1564 </group>
1565 </search>
1566- </field>
1567- </record>
1568-
1569- <record id="stock.view_picking_in_tree" model="ir.ui.view">
1570+ </field>
1571+ </record>
1572+
1573+ <record id="stock.view_picking_in_tree" model="ir.ui.view">
1574 <field name="name">unifield.stock.picking.in.tree</field>
1575 <field name="model">stock.picking</field>
1576 <field name="type">tree</field>
1577@@ -269,13 +272,13 @@
1578 </tree>
1579 </field>
1580 </record>
1581-
1582+
1583 <record id="stock.action_picking_tree4" model="ir.actions.act_window">
1584 <field name="context">{'contact_display': 'partner_address',
1585 'subtype': 'in',
1586 'picking_type': 'incoming_shipment',
1587 'search_default_available':1}</field>
1588 </record>
1589- </data>
1590+ </data>
1591 </openerp>
1592
1593
1594=== modified file 'bin/addons/res_currency_functional/res_currency_functional_view.xml'
1595--- bin/addons/res_currency_functional/res_currency_functional_view.xml 2016-11-04 12:57:37 +0000
1596+++ bin/addons/res_currency_functional/res_currency_functional_view.xml 2019-07-30 10:05:10 +0000
1597@@ -6,50 +6,21 @@
1598 <field name="name">res.currency_functional.tree</field>
1599 <field name="model">res.currency</field>
1600 <field name="type">tree</field>
1601- <field name="inherit_id" ref="base.view_currency_tree"/>
1602- <field name="arch" type="xml">
1603- <tree string="Currencies" position="replace">
1604- <tree string="Currencies">
1605- <field name="name"/>
1606- <field name="currency_name"/>
1607- <field name="rate"/>
1608- <field name="date"/>
1609- <field name="rounding"/>
1610- <field name="active"/>
1611- </tree>
1612- </tree>
1613- </field>
1614- </record>
1615-
1616- <record id="view_currency_functional_form" model="ir.ui.view">
1617- <field name="name">res.currency_functional.form</field>
1618- <field name="model">res.currency</field>
1619- <field name="type">form</field>
1620- <field name="priority">20</field>
1621- <field name="inherit_id" ref="base.view_currency_form"/>
1622- <field name="arch" type="xml">
1623- <data>
1624- <field name="company_id" position="replace">
1625- <field name="currency_name"/>
1626- </field>
1627- <field name="base" position="replace">
1628- </field>
1629- <form string="Rates" position="replace">
1630- <form string="Rates">
1631- <field name="name"/>
1632- <field name="rate"/>
1633- </form>
1634- </form>
1635- <tree string="Rates" position="replace">
1636- <tree string="Rates">
1637- <field name="name"/>
1638- <field name="rate"/>
1639- </tree>
1640- </tree>
1641- </data>
1642- </field>
1643- </record>
1644-
1645+ <field name="inherit_id" eval="False" />
1646+ <field name="priority" eval="15" />
1647+ <field name="arch" type="xml">
1648+ <tree string="Currencies">
1649+ <field name="name"/>
1650+ <field name="currency_name"/>
1651+ <field name="rate"/>
1652+ <field name="date"/>
1653+ <field name="rounding"/>
1654+ <field name="active"/>
1655+ </tree>
1656+ </field>
1657+ </record>
1658+
1659+
1660 <record id="view_currency_functional_search" model="ir.ui.view">
1661 <field name="name">res.currency_functional.search</field>
1662 <field name="model">res.currency</field>
1663@@ -58,8 +29,9 @@
1664 <search string="Currencies">
1665 <group>
1666 <filter name="active" icon="terp-check" string="Active" domain="[('active','=', True)]" />
1667- <separator orientation="vertical"/>
1668- <field name="name"/>
1669+ <filter name="inactive" icon="gtk-dialog-error" string="Inactive" domain="[('active','=', False)]" />
1670+ <separator orientation="vertical"/>
1671+ <field name="name"/>
1672 </group>
1673 </search>
1674 </field>
1675
1676=== modified file 'bin/addons/return_claim/return_claim_view.xml'
1677--- bin/addons/return_claim/return_claim_view.xml 2017-12-01 15:24:26 +0000
1678+++ bin/addons/return_claim/return_claim_view.xml 2019-07-30 10:05:10 +0000
1679@@ -205,8 +205,6 @@
1680 <filter icon="terp-personal" name="customer" string="Customer" domain="[('type_return_claim','=', 'customer')]" separator="1" />
1681 <filter icon="terp-personal" name="transport" string="Transport" domain="[('type_return_claim','=','transport')]" />
1682 <separator orientation="vertical" />
1683- <filter icon="gtk-missing-image" name="inactive" string="Show Inactive" domain="[]" context="{'active_test': False}" separator="1" />
1684- <separator orientation="vertical" />
1685 <field name="name" />
1686 <field name="type_return_claim" />
1687 <newline />
1688
1689=== modified file 'bin/addons/sale/report/sale_report_view.xml'
1690--- bin/addons/sale/report/sale_report_view.xml 2017-06-14 13:55:43 +0000
1691+++ bin/addons/sale/report/sale_report_view.xml 2019-07-30 10:05:10 +0000
1692@@ -59,16 +59,16 @@
1693 domain="[('invoiced','=', False)]" />
1694 <separator orientation="vertical"/>
1695 <filter icon="terp-go-year" string=" Year "
1696- domain="[('date','&lt;=', time.strftime('%%Y-%%m-%%d')),('date','&gt;=',time.strftime('%%Y-01-01'))]"
1697+ domain="['&amp;', ('date','&lt;=', time.strftime('%%Y-%%m-%%d')),('date','&gt;=',time.strftime('%%Y-01-01'))]"
1698 help="Field order created in current year"/>
1699 <filter icon="terp-go-month" string=" Month "
1700 name="month"
1701- 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'))]"
1702+ 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'))]"
1703 help="Field order created in current month"/>
1704 <filter icon="terp-go-month"
1705 string=" Month-1 "
1706 separator="1"
1707- 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'))]"
1708+ 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'))]"
1709 help="Field order created in last month"/>
1710 <separator orientation="vertical"/>
1711 <filter icon="terp-document-new"
1712
1713=== modified file 'bin/addons/sale/sale_view.xml'
1714--- bin/addons/sale/sale_view.xml 2019-07-22 12:08:20 +0000
1715+++ bin/addons/sale/sale_view.xml 2019-07-30 10:05:10 +0000
1716@@ -447,10 +447,11 @@
1717 <field name="arch" type="xml">
1718 <search string="Search Sales Order">
1719 <filter icon="terp-document-new" string="Draft" domain="[('state','in',['draft','draft_p'])]" help="Field Order that haven't yet been confirmed" />
1720- <filter icon="terp-camera_test" string="Validated" domain="[('state','in',['validated','validated_p'])]" help="Field Order validated"/>
1721+ <filter icon="terp-check" string="Validated" domain="[('state','in',['validated','validated_p'])]" help="Field Order validated"/>
1722 <filter icon="gtk-paste-v" name="sourced" string="Sourced" domain="[('state','in',['sourced','sourced_p'])]" separator="1" />
1723- <filter icon="terp-check" string="Confirmed" domain="[('state','in',('confirmed','confirmed_p'))]"/>
1724+ <filter icon="terp-camera_test" string="Confirmed" domain="[('state','in',('confirmed','confirmed_p'))]"/>
1725 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]"/>
1726+ <filter icon="gtk-cancel" name="cancelled" string="Cancelled" domain="[('state','=','cancel')]"/>
1727 <separator orientation="vertical"/>
1728 <filter icon="terp-dolar_ok!" string="To Invoice" domain="[('state','=','manual')]" help="Sales Order ready to be invoiced"/>
1729
1730@@ -657,7 +658,7 @@
1731 <field name="type">search</field>
1732 <field name="arch" type="xml">
1733 <search string="Search Sales Order">
1734- <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"/>
1735+ <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"/>
1736 <separator orientation="vertical"/>
1737 <field name="order_id"/>
1738 <field name="order_partner_id"/>
1739@@ -1073,7 +1074,7 @@
1740 <field name="arch" type="xml">
1741 <search string="Sourcing progress">
1742 <filter string="Done" name="done" domain="[('end_date', '!=', False)]" icon="terp-check" />
1743- <filter string="In Progress" name="progress" domain="[('end_date', '=', False), ('start_date', '!=', False)]" icon="gtk-execute" />
1744+ <filter string="In Progress" name="progress" domain="['&amp;', ('end_date', '=', False), ('start_date', '!=', False)]" icon="gtk-execute" />
1745 <field name="order_id" context="{'procurement_order': True, 'active_test': False}"
1746 domain="[('state', '!=', 'draft'), '|', ('procurement_request', '=', True), ('split_type_sale_order', '=', 'original_sale_order')]"/>
1747 <field name="start_date" />
1748
1749=== modified file 'bin/addons/stock/stock_view.xml'
1750--- bin/addons/stock/stock_view.xml 2019-06-17 14:48:35 +0000
1751+++ bin/addons/stock/stock_view.xml 2019-07-30 10:05:10 +0000
1752@@ -1362,9 +1362,11 @@
1753 <field name="arch" type="xml">
1754 <search string="Internal Picking List">
1755 <group col="8" colspan="4">
1756+ <filter icon="terp-document-new" name="draft" string="Draft" domain="[('state', '=', 'draft')]" />
1757+ <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','=','confirmed')]" help="Confirmed Internal Moves" />
1758 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" help="Assigned Internal Moves"/>
1759- <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','=','confirmed')]" help="Confirmed Internal Moves" />
1760 <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done')]" help="Internal Moves already processed"/>
1761+ <filter icon="gtk-cancel" name="cancel" string="Cancelled" domain="[('state','=','cancel')]" />
1762 <separator orientation="vertical"/>
1763 <filter icon="gtk-execute" name="sysint" string="System INT" domain="[('subtype', '!=', 'sysint')]" help="System internal moves"/>
1764 <separator orientation="vertical"/>
1765@@ -1543,7 +1545,7 @@
1766 <field name="arch" type="xml">
1767 <search string="Stock Moves">
1768 <group col="14" colspan="4">
1769- <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"/>
1770+ <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"/>
1771 <separator orientation="vertical"/>
1772 <filter icon="terp-dialog-close" string="Done" name="done" domain="[('state','=','done')]" help="Stock moves that have been processed"/>
1773 <filter icon="terp-stock" string="Future" name="future" domain="[('state','in',('assigned','confirmed','waiting'))]" help="Stock moves that are Confirmed, Available or Waiting"/>
1774@@ -1738,7 +1740,7 @@
1775 <field name="arch" type="xml">
1776 <search string="Stock Moves">
1777 <group col="8" colspan="4">
1778- <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"/>
1779+ <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"/>
1780 <separator orientation="vertical"/>
1781 <filter icon="terp-gtk-go-back-rtl" name="receive" string="To Do" domain="[('state','in',('confirmed','assigned'))]" help="Stock to be received"/>
1782 <filter icon="terp-dialog-close" name="received" string="Done" domain="[('state','=','done')]"/>
1783@@ -1774,7 +1776,7 @@
1784 <field name="arch" type="xml">
1785 <search string="Stock Moves">
1786 <group col="8" colspan="4">
1787- <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"/>
1788+ <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"/>
1789 <separator orientation="vertical"/>
1790 <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)"/>
1791 <filter icon="terp-check" name="available" string="Available" domain="[('state','in',('assigned',))]" help="Stock available to be delivered"/>
1792
1793=== modified file 'bin/addons/stock_override/stock_view.xml'
1794--- bin/addons/stock_override/stock_view.xml 2019-07-25 13:39:42 +0000
1795+++ bin/addons/stock_override/stock_view.xml 2019-07-30 10:05:10 +0000
1796@@ -785,7 +785,7 @@
1797 <field name="arch" type="xml">
1798 <search string="Stock Moves">
1799 <group col="14" colspan="4">
1800- <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"/>
1801+ <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"/>
1802 <separator orientation="vertical"/>
1803 <filter icon="terp-dialog-close" string="Done" name="done" domain="[('state','=','done')]" help="Stock moves that have been processed"/>
1804 <filter icon="terp-stock" string="Future" name="future" domain="[('state','in',('assigned','confirmed','waiting'))]" help="Stock moves that are Confirmed, Available or Waiting"/>
1805
1806=== modified file 'bin/addons/supplier_catalogue/product_view.xml'
1807--- bin/addons/supplier_catalogue/product_view.xml 2016-11-04 12:57:37 +0000
1808+++ bin/addons/supplier_catalogue/product_view.xml 2019-07-30 10:05:10 +0000
1809@@ -146,7 +146,7 @@
1810 <field name="model">res.currency</field>
1811 <field name="type">form</field>
1812 <field name="priority">25</field>
1813- <field name="inherit_id" ref="base.view_currency_form" />
1814+ <field name="inherit_id" ref="base.view_currency_functional_form" />
1815 <field name="arch" type="xml">
1816 <data>
1817 <xpath expr="/form//group[3]" position="attributes">
1818
1819=== modified file 'bin/addons/supplier_catalogue/supplier_catalogue_view.xml'
1820--- bin/addons/supplier_catalogue/supplier_catalogue_view.xml 2018-09-13 08:44:17 +0000
1821+++ bin/addons/supplier_catalogue/supplier_catalogue_view.xml 2019-07-30 10:05:10 +0000
1822@@ -13,7 +13,7 @@
1823 <field name="type">search</field>
1824 <field name="arch" type="xml">
1825 <search string="Supplier catalogues">
1826- <filter name="active" domain="[('active', '=', False)]" string="Inactive" icon="gtk-undo" />
1827+ <filter name="inactive" domain="[('active', '=', False)]" string="Inactive" icon="gtk-undo" />
1828 <field name="partner_id" />
1829 <field name="name" />
1830 <field name="period_from" />
1831
1832=== modified file 'bin/addons/tender_flow/report/purchase_report_view.xml'
1833--- bin/addons/tender_flow/report/purchase_report_view.xml 2017-05-10 12:47:14 +0000
1834+++ bin/addons/tender_flow/report/purchase_report_view.xml 2019-07-30 10:05:10 +0000
1835@@ -52,16 +52,16 @@
1836 domain="[('invoiced','=', False)]" />
1837 <separator orientation="vertical"/>
1838 <filter icon="terp-go-year" string=" Year "
1839- domain="[('date','&lt;=', time.strftime('%%Y-%%m-%%d')),('date','&gt;=',time.strftime('%%Y-01-01'))]"
1840+ domain="['&amp;', ('date','&lt;=', time.strftime('%%Y-%%m-%%d')),('date','&gt;=',time.strftime('%%Y-01-01'))]"
1841 help="Order in current year"/>
1842 <filter icon="terp-go-month" string=" Month "
1843 name="month"
1844- 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'))]"
1845+ 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'))]"
1846 help="Order in current month"/>
1847 <filter icon="terp-go-month"
1848 string=" Month-1 "
1849 separator="1"
1850- 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'))]"
1851+ 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'))]"
1852 help="Order in last month"/>
1853 <separator orientation="vertical"/>
1854 <field name="order_name" />
1855
1856=== modified file 'bin/addons/useability_dashboard_and_menu/menu/partner_menu.xml'
1857--- bin/addons/useability_dashboard_and_menu/menu/partner_menu.xml 2013-02-07 15:27:53 +0000
1858+++ bin/addons/useability_dashboard_and_menu/menu/partner_menu.xml 2019-07-30 10:05:10 +0000
1859@@ -53,7 +53,7 @@
1860 <field name="res_model">res.partner</field>
1861 <field name="view_type">form</field>
1862 <field name="search_view_id" ref="base.view_res_partner_filter"/>
1863- <field name="context">{"search_default_manufacturer":1, 'show_button_show_inactive':1}</field>
1864+ <field name="context">{"search_default_manufacturer":1, 'show_button_show_inactive':1, 'search_default_active': 1, 'active_test': 0}</field>
1865 <field name="help">You see here Other/Manufacturer who can be both Customer and Supplier.</field>
1866 </record>
1867
1868@@ -65,18 +65,6 @@
1869 sequence="13"
1870 />
1871
1872- <!-- The 3 records below enable the user to see the button "Show inactive" -->
1873- <record id="base.action_partner_supplier_form" model="ir.actions.act_window">
1874- <field name="context">{'default_customer':0, 'search_default_supplier': 1, 'default_supplier':1, 'show_button_show_inactive':1}</field>
1875- </record>
1876-
1877- <record id="base.action_partner_customer_form" model="ir.actions.act_window">
1878- <field name="context">{'default_customer':1, 'search_default_customer':1, 'show_button_show_inactive':1}</field>
1879- </record>
1880-
1881- <record id="base.action_partner_form" model="ir.actions.act_window">
1882- <field name="context">{"search_default_customer":1, 'show_button_show_inactive':1}</field>
1883- </record>
1884
1885 </data>
1886-</openerp>
1887\ No newline at end of file
1888+</openerp>

Subscribers

People subscribed via source and target branches