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

Proposed by jftempo
Status: Merged
Merged at revision: 4975
Proposed branch: lp:~julie-w/unifield-server/US-4776
Merge into: lp:unifield-server
Diff against target: 43 lines (+12/-0) (has conflicts)
2 files modified
bin/addons/msf_profile/i18n/fr_MF.po (+8/-0)
bin/addons/register_accounting/wizard/import_cheque_on_bank_registers.py (+4/-0)
Text conflict in bin/addons/msf_profile/i18n/fr_MF.po
To merge this branch: bzr merge lp:~julie-w/unifield-server/US-4776
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+349478@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/msf_profile/i18n/fr_MF.po'
--- bin/addons/msf_profile/i18n/fr_MF.po 2018-07-09 09:51:23 +0000
+++ bin/addons/msf_profile/i18n/fr_MF.po 2018-07-13 15:36:44 +0000
@@ -101265,6 +101265,7 @@
101265msgid "Not Invoice"101265msgid "Not Invoice"
101266msgstr "Pas de Facture"101266msgstr "Pas de Facture"
101267101267
101268<<<<<<< TREE
101268#. module: analytic_distribution101269#. module: analytic_distribution
101269#: view:mass.reallocation.wizard:0101270#: view:mass.reallocation.wizard:0
101270msgid "- Items booked on accounts set as \"Prevent correction on analytic accounts\""101271msgid "- Items booked on accounts set as \"Prevent correction on analytic accounts\""
@@ -101293,3 +101294,10 @@
101293#, python-format101294#, python-format
101294msgid "The account \"%s - %s\" is only compatible with a Partner or an Employee Third Party."101295msgid "The account \"%s - %s\" is only compatible with a Partner or an Employee Third Party."
101295msgstr "Le compte \"%s - %s\" n'est compatible qu'avec un Tiers de type Partenaire ou Employé."101296msgstr "Le compte \"%s - %s\" n'est compatible qu'avec un Tiers de type Partenaire ou Employé."
101297=======
101298#. module: register_accounting
101299#: code:addons/register_accounting/wizard/import_cheque_on_bank_registers.py:166
101300#, python-format
101301msgid "The Cheque %s has already been imported."
101302msgstr "Le Chèque %s a déjà été importé."
101303>>>>>>> MERGE-SOURCE
101296101304
=== modified file 'bin/addons/register_accounting/wizard/import_cheque_on_bank_registers.py'
--- bin/addons/register_accounting/wizard/import_cheque_on_bank_registers.py 2017-05-26 08:40:07 +0000
+++ bin/addons/register_accounting/wizard/import_cheque_on_bank_registers.py 2018-07-13 15:36:44 +0000
@@ -161,6 +161,8 @@
161 absl_lines = []161 absl_lines = []
162 for imported_line in wizard.imported_lines_ids:162 for imported_line in wizard.imported_lines_ids:
163 line = imported_line.line_id163 line = imported_line.line_id
164 if absl_obj.search_exist(cr, uid, [('from_import_cheque_id', '=', line.id)], context=context):
165 raise osv.except_osv(_('Warning'), _('The Cheque %s has already been imported.') % line.cheque_number or line.name or line.ref or '')
164 total = line.amount_currency166 total = line.amount_currency
165 if not imported_line.document_date:167 if not imported_line.document_date:
166 raise osv.except_osv(_('Warning'), _('Please add a Document Date on imported lines.'))168 raise osv.except_osv(_('Warning'), _('Please add a Document Date on imported lines.'))
@@ -186,6 +188,8 @@
186188
187 if not len(absl_lines):189 if not len(absl_lines):
188 raise osv.except_osv(_('Warning'), _('No line created!'))190 raise osv.except_osv(_('Warning'), _('No line created!'))
191 # set the wizard to "is_imported" at the end of the process only
192 # (the user must be able to re-click on OK after having fixed the potential errors displayed)
189 self.write(cr, uid, ids, {'is_imported': True}, context=context)193 self.write(cr, uid, ids, {'is_imported': True}, context=context)
190 return { 'type': 'ir.actions.act_window_close', 'st_line_ids': absl_lines, 'o2m_refresh': 'line_ids'}194 return { 'type': 'ir.actions.act_window_close', 'st_line_ids': absl_lines, 'o2m_refresh': 'line_ids'}
191195

Subscribers

People subscribed via source and target branches