Merge lp:~mukunde/unifield-server/US-6844 into lp:unifield-server

Proposed by jftempo
Status: Merged
Merged at revision: 6310
Proposed branch: lp:~mukunde/unifield-server/US-6844
Merge into: lp:unifield-server
Diff against target: 127 lines (+67/-2) (has conflicts)
3 files modified
bin/addons/account/account_invoice_view.xml (+6/-0)
bin/addons/account/invoice.py (+26/-1)
bin/addons/msf_profile/i18n/fr_MF.po (+35/-1)
Text conflict in bin/addons/msf_profile/i18n/fr_MF.po
To merge this branch: bzr merge lp:~mukunde/unifield-server/US-6844
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+424866@code.launchpad.net
To post a comment you must log in.
lp:~mukunde/unifield-server/US-6844 updated
6242. By Gaël Mukunde

US-6844 [IMP] French Translation

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/addons/account/account_invoice_view.xml'
2--- bin/addons/account/account_invoice_view.xml 2022-04-27 14:25:25 +0000
3+++ bin/addons/account/account_invoice_view.xml 2022-09-16 12:32:47 +0000
4@@ -636,12 +636,18 @@
5 <filter name="imported" icon="gtk-apply" string="Imported" domain="[('imported_state', '=', 'imported')]"/>
6 <separator orientation="vertical"/>
7 <filter name="open_fy" icon="terp-go-year" string="Open FY" domain="[('open_fy', '=', True)]"/>
8+ <separator orientation="vertical"/>
9+ <filter name="draft_cp" icon="terp-document-new" string="Draft Counterparts" domain="[('counterpart_inv_status','=','draft')]" help="Draft Counterparts Invoices"/>
10+ <filter name="open_cp" icon="terp-dolar_ok!" string="Open Counterparts" domain="[('counterpart_inv_status','=','open')]" help="Open Counterparts Invoices"/>
11+ <filter name="paid_cp" icon="terp-dolar" string="Paid Counterparts" domain="[('counterpart_inv_status', '=', 'paid')]"/>
12+ <filter name="closed_cp" icon="terp-dialog-close" string="Closed Counterparts" domain="[('counterpart_inv_status', '=', 'inv_close')]" />
13
14 <separator orientation="vertical"/>
15 <field name="number"/>
16 <field name="partner_id"/>
17 <field name="origin"/>
18 </group>
19+
20 <newline/>
21 <group col="10" colspan="4">
22 <field name="journal_id" select='1' context="{'search_default_filter_is_active': 1}"/>
23
24=== modified file 'bin/addons/account/invoice.py'
25--- bin/addons/account/invoice.py 2022-07-12 16:11:39 +0000
26+++ bin/addons/account/invoice.py 2022-09-16 12:32:47 +0000
27@@ -438,12 +438,37 @@
28 if filter_node:
29 filter_node[0].getparent().remove(filter_node[0])
30 res['arch'] = etree.tostring(doc)
31- # remove the Open FY filter in all invoices but IVO, STV, IVI and ISI
32+ # remove the Open FY and counterparts status filters in all invoices but IVO, STV, IVI and ISI
33 if not context.get('doc_type', '') in ('ivo', 'stv', 'ivi', 'isi'):
34 doc = etree.XML(res['arch'])
35 filter_node = doc.xpath("/search/group[1]/filter[@name='open_fy']")
36+ draft_node = doc.xpath("/search/group[1]/filter[@name='draft_cp']")
37+ open_node = doc.xpath("/search/group[1]/filter[@name='open_cp']")
38+ paid_node = doc.xpath("/search/group[1]/filter[@name='paid_cp']")
39+ closed_node = doc.xpath("/search/group[1]/filter[@name='closed_cp']")
40 if filter_node:
41 filter_node[0].getparent().remove(filter_node[0])
42+ if draft_node:
43+ draft_node[0].getparent().remove(draft_node[0])
44+ if open_node:
45+ open_node[0].getparent().remove(open_node[0])
46+ if paid_node:
47+ paid_node[0].getparent().remove(paid_node[0])
48+ if closed_node:
49+ closed_node[0].getparent().remove(closed_node[0])
50+ res['arch'] = etree.tostring(doc)
51+ # remove Import status filters for IVO, STV, IVI and ISI
52+ if context.get('doc_type', '') in ('ivo', 'stv', 'ivi', 'isi'):
53+ doc = etree.XML(res['arch'])
54+ not_imp_node = doc.xpath("/search/group[1]/filter[@name='not_imported']")
55+ partial_node = doc.xpath("/search/group[1]/filter[@name='partial']")
56+ imp_node = doc.xpath("/search/group[1]/filter[@name='imported']")
57+ if not_imp_node:
58+ not_imp_node[0].getparent().remove(not_imp_node[0])
59+ if partial_node:
60+ partial_node[0].getparent().remove(partial_node[0])
61+ if imp_node:
62+ imp_node[0].getparent().remove(imp_node[0])
63 res['arch'] = etree.tostring(doc)
64 if view_type in ('tree', 'search') and (context.get('type') in ['out_invoice', 'out_refund'] or context.get('doc_type') == 'str'):
65 doc = etree.XML(res['arch'])
66
67=== modified file 'bin/addons/msf_profile/i18n/fr_MF.po'
68--- bin/addons/msf_profile/i18n/fr_MF.po 2022-08-23 13:15:58 +0000
69+++ bin/addons/msf_profile/i18n/fr_MF.po 2022-09-16 12:32:47 +0000
70@@ -42058,11 +42058,12 @@
71 msgid "Create additional users and assign them groups that will allow them to have access to selected functionalities within the system. Click on 'Done' if you do not wish to add more users at this stage, you can always do this later."
72 msgstr "Créez des utilisateurs en plus et assignez-les à des groupes, ce qui leur permettra d'avoir accès à des fonctionnalités choisies dans le système. Cliquez sur 'Terminé' si vous ne désirez pas ajouter d'autres utilisateurs pour l'instant, vous pourrez toujours en ajouter plus tard."
73
74-#. modules: msf_accrual, analytic_distribution
75+#. modules: msf_accrual, analytic_distribution, account
76 #: field:analytic.distribution.wizard,accrual_line_id:0
77 #: field:msf.accrual.line.expense,accrual_line_id:0
78 #: field:account.move.line,accrual_line_id:0
79 #: view:msf.accrual.line.expense:0
80+#: selection:account.journal.column,field:0
81 msgid "Accrual Line"
82 msgstr "Ligne de Régularisation"
83
84@@ -115376,6 +115377,7 @@
85 #, python-format
86 msgid "Cannot update these products, ED/BN attributes have not changed since the KCL creation"
87 msgstr "Impossible de mettre à jour ces produits. Les attributs NL/DE n'ont pas changé depuis la création du Kit"
88+<<<<<<< TREE
89
90 #. module: board
91 #: report:addons/board/report/integrity.mako:83
92@@ -115817,3 +115819,35 @@
93 msgid "Force Date and time of next execution"
94 msgstr "Date et heure forcée de la prochiane exécution plannifiée"
95
96+=======
97+
98+#. module: account
99+#: view:account.invoice:0
100+msgid "Closed Counterparts"
101+msgstr "Contreparties Fermées"
102+
103+#. module: account
104+#: view:account.invoice:0
105+msgid "Draft Counterparts"
106+msgstr "Brouillons de Contreparties"
107+
108+#. module: account
109+#: view:account.invoice:0
110+msgid "Draft Counterparts Invoices"
111+msgstr "Brouillons de Factures Contreparties"
112+
113+#. module: account
114+#: view:account.invoice:0
115+msgid "Open Counterparts"
116+msgstr "Contreparties Ouvertes"
117+
118+#. module: account
119+#: view:account.invoice:0
120+msgid "Open Counterparts Invoices"
121+msgstr "Factures Contreparties Ouvertes"
122+
123+#. module: account
124+#: view:account.invoice:0
125+msgid "Paid Counterparts"
126+msgstr "Contreparties Payées"
127+>>>>>>> MERGE-SOURCE

Subscribers

People subscribed via source and target branches