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

Proposed by jftempo
Status: Merged
Merged at revision: 5321
Proposed branch: lp:~julie-w/unifield-server/US-5214
Merge into: lp:unifield-server
Diff against target: 36 lines (+15/-1)
2 files modified
bin/addons/account_override/account.py (+7/-1)
bin/addons/msf_profile/i18n/fr_MF.po (+8/-0)
To merge this branch: bzr merge lp:~julie-w/unifield-server/US-5214
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+366904@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'bin/addons/account_override/account.py'
--- bin/addons/account_override/account.py 2019-02-06 09:25:31 +0000
+++ bin/addons/account_override/account.py 2019-05-03 09:52:21 +0000
@@ -1173,9 +1173,15 @@
1173 _('Account: %s - %s. The journal used for the internal transfer must be different from the '1173 _('Account: %s - %s. The journal used for the internal transfer must be different from the '
1174 'Journal Entry Journal.') % (ml.account_id.code, ml.account_id.name))1174 'Journal Entry Journal.') % (ml.account_id.code, ml.account_id.name))
1175 # Only Donation accounts are allowed with an ODX journal1175 # Only Donation accounts are allowed with an ODX journal
1176 if m.journal_id.type == 'extra' and ml.account_id.type_for_register != 'donation':1176 if m.journal_id.type == 'extra' and type_for_reg != 'donation':
1177 raise osv.except_osv(_('Warning'), _('The account %s - %s is not compatible with the '1177 raise osv.except_osv(_('Warning'), _('The account %s - %s is not compatible with the '
1178 'journal %s.') % (ml.account_id.code, ml.account_id.name, m.journal_id.code))1178 'journal %s.') % (ml.account_id.code, ml.account_id.name, m.journal_id.code))
1179 # Only Internal transfers are allowed with liquidity journals in manual JE
1180 if m.journal_id.type in ('bank', 'cash', 'cheque') and type_for_reg not in ('transfer', 'transfer_same'):
1181 raise osv.except_osv(_('Warning'), _('The account %s - %s is not allowed.\n'
1182 'Only internal transfers (in the same currency or not) '
1183 'are allowed in manual journal entries on a liquidity journal.') %
1184 (ml.account_id.code, ml.account_id.name))
1179 if not prev_currency_id:1185 if not prev_currency_id:
1180 prev_currency_id = curr_aml.id1186 prev_currency_id = curr_aml.id
1181 continue1187 continue
11821188
=== modified file 'bin/addons/msf_profile/i18n/fr_MF.po'
--- bin/addons/msf_profile/i18n/fr_MF.po 2019-04-08 09:30:07 +0000
+++ bin/addons/msf_profile/i18n/fr_MF.po 2019-05-03 09:52:21 +0000
@@ -105388,3 +105388,11 @@
105388#, python-format105388#, python-format
105389msgid "Product %s, BN: %s not enough stock to process quantity %s %s (stock level: %s)"105389msgid "Product %s, BN: %s not enough stock to process quantity %s %s (stock level: %s)"
105390msgstr "Produit %s, Lot: %s, pas assez de stock pour traiter la qantité %s %s (quantité en stock: %s)"105390msgstr "Produit %s, Lot: %s, pas assez de stock pour traiter la qantité %s %s (quantité en stock: %s)"
105391
105392#. module: account_override
105393#: code:addons/account_override/account.py:1181
105394#, python-format
105395msgid "The account %s - %s is not allowed.\n"
105396"Only internal transfers (in the same currency or not) are allowed in manual journal entries on a liquidity journal."
105397msgstr "Le compte %s - %s n'est pas autorisé.\n"
105398"Seuls les transferts internes (dans la même devise ou non) sont autorisés dans les écritures comptables manuelles sur un journal de trésorerie."

Subscribers

People subscribed via source and target branches