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

Proposed by jftempo
Status: Merged
Merged at revision: 5007
Proposed branch: lp:~julie-w/unifield-server/US-4793
Merge into: lp:unifield-server
Diff against target: 28 lines (+10/-0)
2 files modified
bin/addons/account_override/account.py (+4/-0)
bin/addons/msf_profile/i18n/fr_MF.po (+6/-0)
To merge this branch: bzr merge lp:~julie-w/unifield-server/US-4793
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+350932@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_override/account.py'
2--- bin/addons/account_override/account.py 2018-06-21 13:48:36 +0000
3+++ bin/addons/account_override/account.py 2018-07-25 16:11:11 +0000
4@@ -1133,6 +1133,10 @@
5 raise osv.except_osv(_('Warning'),
6 _('Account: %s - %s. The journal used for the internal transfer must be different from the '
7 'Journal Entry Journal.') % (ml.account_id.code, ml.account_id.name))
8+ # Only Donation accounts are allowed with an ODX journal
9+ if m.journal_id.type == 'extra' and ml.account_id.type_for_register != 'donation':
10+ raise osv.except_osv(_('Warning'), _('The account %s - %s is not compatible with the '
11+ 'journal %s.') % (ml.account_id.code, ml.account_id.name, m.journal_id.code))
12 if not prev_currency_id:
13 prev_currency_id = curr_aml.id
14 continue
15
16=== modified file 'bin/addons/msf_profile/i18n/fr_MF.po'
17--- bin/addons/msf_profile/i18n/fr_MF.po 2018-07-17 14:12:28 +0000
18+++ bin/addons/msf_profile/i18n/fr_MF.po 2018-07-25 16:11:11 +0000
19@@ -101332,3 +101332,9 @@
20 #, python-format
21 msgid "Line %s. Please fill in either a Booking Debit or a Booking Credit value."
22 msgstr "Ligne %s. Veuillez renseigner une valeur en devise d'enregistrement, soit en débit soit en crédit."
23+
24+#. module: account_override
25+#: code:addons/account_override/account.py:1138
26+#, python-format
27+msgid "The account %s - %s is not compatible with the journal %s."
28+msgstr "Le compte %s - %s n'est pas compatible avec le journal %s."

Subscribers

People subscribed via source and target branches