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

Proposed by jftempo
Status: Merged
Merged at revision: 5835
Proposed branch: lp:~julie-w/unifield-server/US-7812
Merge into: lp:unifield-server
Diff against target: 98 lines (+44/-2)
2 files modified
bin/addons/account/account_view.xml (+35/-1)
bin/addons/msf_profile/i18n/fr_MF.po (+9/-1)
To merge this branch: bzr merge lp:~julie-w/unifield-server/US-7812
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+390796@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 2020-08-07 10:12:41 +0000
3+++ bin/addons/account/account_view.xml 2020-09-16 07:27:27 +0000
4@@ -974,6 +974,36 @@
5 </search>
6 </field>
7 </record>
8+
9+ <!-- Tax Search View With Filters. To be used ONLY from the standard tax menu as it allows the selection of inactive taxes -->
10+ <record id="view_account_tax_search_with_filters" model="ir.ui.view">
11+ <field name="name">account.tax.search.with.filters</field>
12+ <field name="model">account.tax</field>
13+ <field name="type">search</field>
14+ <field name="priority">99</field>
15+ <field name="arch" type="xml">
16+ <search string="Search Taxes">
17+ <group>
18+ <filter string="Active" name="filter_tax_active"
19+ domain="[('active', '=', True)]" icon="terp-check"/>
20+ <filter string="Inactive" name="filter_tax_inactive"
21+ domain="[('active', '=', False)]" icon="gtk-dialog-error"/>
22+ <separator orientation="vertical"/>
23+ <filter string="Tax Included in Price" name="filter_tax_included"
24+ domain="[('price_include', '=', True)]" icon="gtk-save-as"/>
25+ <filter string="Tax Not Included in Price" name="filter_tax_not_included"
26+ domain="[('price_include', '=', False)]" icon="terp-dialog-close"/>
27+ <label string=""/>
28+ </group>
29+ <newline/>
30+ <group>
31+ <field name="name"/>
32+ <field name="description"/>
33+ </group>
34+ </search>
35+ </field>
36+ </record>
37+
38 <record id="view_tax_form" model="ir.ui.view">
39 <field name="name">account.tax.form</field>
40 <field name="model">account.tax</field>
41@@ -1046,7 +1076,11 @@
42 <field name="res_model">account.tax</field>
43 <field name="view_type">form</field>
44 <field name="view_id" ref="view_tax_tree"/>
45- <field name="domain">[('parent_id','=',False)]</field>
46+ <field name="search_view_id" ref="view_account_tax_search_with_filters"/>
47+ <field name="domain">[('parent_id', '=', False), ('active', 'in', ['t', 'f'])]</field>
48+ <field name="context">{'search_default_filter_tax_active': 1,
49+ 'search_default_filter_tax_included': 1,
50+ 'search_default_filter_tax_not_included': 1}</field>
51 </record>
52 <menuitem action="action_tax_form" id="menu_action_tax_form" parent="next_id_27"/>
53
54
55=== modified file 'bin/addons/msf_profile/i18n/fr_MF.po'
56--- bin/addons/msf_profile/i18n/fr_MF.po 2020-08-26 13:50:18 +0000
57+++ bin/addons/msf_profile/i18n/fr_MF.po 2020-09-16 07:27:27 +0000
58@@ -11400,7 +11400,7 @@
59 msgid "Creation Month"
60 msgstr "Creation Month"
61
62-#. 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, procurement_cycle
63+#. 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, procurement_cycle, account
64 #: view:financing.contract.donor:0
65 #: view:msf.instance:0
66 #: selection:msf.instance.cloud,state:0
67@@ -11422,6 +11422,7 @@
68 #: view:product.product:0
69 #: view:res.request:0
70 #: view:replenishment.location.config:0
71+#: view:account.tax:0
72 msgid "Inactive"
73 msgstr "Inactif"
74
75@@ -61245,9 +61246,15 @@
76 #. module: account
77 #: field:account.tax,price_include:0
78 #: field:account.tax.template,price_include:0
79+#: view:account.tax:0
80 msgid "Tax Included in Price"
81 msgstr "Taxe Incluse dans le Prix"
82
83+#. module: account
84+#: view:account.tax:0
85+msgid "Tax Not Included in Price"
86+msgstr "Taxe Non Incluse dans le Prix"
87+
88 #. module: register_accounting
89 #: view:account.bank.statement:0
90 msgid "Search Cheque Registers"
91@@ -71666,6 +71673,7 @@
92 #: field:survey.common,active:0
93 #: field:sync_client.survey,active:0
94 #: field:product.status,active:0
95+#: view:account.tax:0
96 #, python-format
97 msgid "Active"
98 msgstr "Actif"

Subscribers

People subscribed via source and target branches