From c78ab718c3b71826046baa77af29f48533d2a2f8 Mon Sep 17 00:00:00 2001 From: "Adrien Peiffer (ACSONE)" Date: Thu, 18 Jun 2015 14:35:32 +0200 Subject: [PATCH 1/5] [FIX][account_move_batch_validate] Filter on journals doesn't work --- account_move_batch_validate/wizard/move_marker.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/account_move_batch_validate/wizard/move_marker.py b/account_move_batch_validate/wizard/move_marker.py index c018bf190..9db975cd4 100644 --- a/account_move_batch_validate/wizard/move_marker.py +++ b/account_move_batch_validate/wizard/move_marker.py @@ -38,7 +38,11 @@ class AccountMoveMarker(orm.TransientModel): ('mark', 'Mark for posting'), ('unmark', 'Unmark for posting'), ], "Action", required=True), - 'eta': fields.integer('Seconds to wait before starting the jobs') + 'eta': fields.integer('Seconds to wait before starting the jobs'), + 'journal_ids': fields.many2many('account.journal', + 'account_post_journal_rel', + 'wiz_id', 'journal_id', 'Journals', + required=True), } _defaults = { @@ -57,6 +61,10 @@ class AccountMoveMarker(orm.TransientModel): wizard_data = self.read(cr, uid, wizard_id, context=context, load='_classic_write') wizard_data.pop('id') + if wizard_data.get('journal_ids'): + journals_ids_vals = [(6, False, + wizard_data.get('journal_ids'))] + wizard_data['journal_ids'] = journals_ids_vals if context.get('automated_test_execute_now'): process_wizard(session, self._name, wizard_data) From 9b3ae40e9cf8e0430fe2c54970468a6e6ae84206 Mon Sep 17 00:00:00 2001 From: "Adrien Peiffer (ACSONE)" Date: Thu, 18 Jun 2015 14:36:00 +0200 Subject: [PATCH 2/5] [IMP][account_move_batch_validate] Prevent to have all journals as default value for journal_ids --- account_move_batch_validate/wizard/move_marker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/account_move_batch_validate/wizard/move_marker.py b/account_move_batch_validate/wizard/move_marker.py index 9db975cd4..496faccbb 100644 --- a/account_move_batch_validate/wizard/move_marker.py +++ b/account_move_batch_validate/wizard/move_marker.py @@ -47,6 +47,7 @@ class AccountMoveMarker(orm.TransientModel): _defaults = { 'action': 'mark', + 'journal_ids': [], } def button_mark(self, cr, uid, ids, context=None): From d5b674529ab5719a19119a1499cedeed983a0771 Mon Sep 17 00:00:00 2001 From: "Adrien Peiffer (ACSONE)" Date: Tue, 30 Jun 2015 10:10:10 +0200 Subject: [PATCH 3/5] [CHG][account_move_batch_validate] Overload standard wizard --- .../test/batch_validate.yml | 18 +++- .../test/batch_validate_then_delete_move.yml | 18 +++- .../test/batch_validate_then_unmark.yml | 36 ++++++-- .../wizard/move_marker.py | 88 +++++++------------ .../wizard/move_marker_view.xml | 56 +++--------- 5 files changed, 103 insertions(+), 113 deletions(-) diff --git a/account_move_batch_validate/test/batch_validate.yml b/account_move_batch_validate/test/batch_validate.yml index e129914fa..898d0dce5 100644 --- a/account_move_batch_validate/test/batch_validate.yml +++ b/account_move_batch_validate/test/batch_validate.yml @@ -18,14 +18,26 @@ - I create a wizard - - !record {model: account.move.marker, id: wiz_marker1}: + !record {model: validate.account.move, id: wiz_marker1}: action: mark +- + I set the period and the journal on the wizard +- + !python {model: validate.account.move}: | + move = self.pool['account.move'].browse(cr, uid, ref('move1'), + context=context) + journal_ids = [(6, 0, [move.journal_id.id])] + period_ids = [(6, 0, [move.period_id.id])] + vals = {'journal_ids': journal_ids, + 'period_ids': period_ids, + } + self.write(cr, uid, ref('wiz_marker1'), vals, context=context) - I run the wizard - - !python {model: account.move.marker}: | + !python {model: validate.account.move}: | context['automated_test_execute_now'] = True - self.button_mark( + self.validate_move( cr, uid, [ref('wiz_marker1')], context=context ) - diff --git a/account_move_batch_validate/test/batch_validate_then_delete_move.yml b/account_move_batch_validate/test/batch_validate_then_delete_move.yml index c7f1d7400..82a50cbcb 100644 --- a/account_move_batch_validate/test/batch_validate_then_delete_move.yml +++ b/account_move_batch_validate/test/batch_validate_then_delete_move.yml @@ -18,15 +18,27 @@ - I create a wizard with a long ETA - - !record {model: account.move.marker, id: wiz_marker4}: + !record {model: validate.account.move, id: wiz_marker4}: action: mark eta: 10000 +- + I set the period and the journal on the wizard +- + !python {model: validate.account.move}: | + move = self.pool['account.move'].browse(cr, uid, ref('move3'), + context=context) + journal_ids = [(6, 0, [move.journal_id.id])] + period_ids = [(6, 0, [move.period_id.id])] + vals = {'journal_ids': journal_ids, + 'period_ids': period_ids, + } + self.write(cr, uid, ref('wiz_marker4'), vals, context=context) - I run the wizard - - !python {model: account.move.marker}: | + !python {model: validate.account.move}: | context['automated_test_execute_now'] = True - self.button_mark( + self.validate_move( cr, uid, [ref('wiz_marker4')], context=context ) - diff --git a/account_move_batch_validate/test/batch_validate_then_unmark.yml b/account_move_batch_validate/test/batch_validate_then_unmark.yml index adf395107..2c71c65d7 100644 --- a/account_move_batch_validate/test/batch_validate_then_unmark.yml +++ b/account_move_batch_validate/test/batch_validate_then_unmark.yml @@ -18,27 +18,51 @@ - I create a wizard with a long ETA - - !record {model: account.move.marker, id: wiz_marker2}: + !record {model: validate.account.move, id: wiz_marker2}: action: mark eta: 10000 +- + I set the period and the journal on the wizard +- + !python {model: validate.account.move}: | + move = self.pool['account.move'].browse(cr, uid, ref('move2'), + context=context) + journal_ids = [(6, 0, [move.journal_id.id])] + period_ids = [(6, 0, [move.period_id.id])] + vals = {'journal_ids': journal_ids, + 'period_ids': period_ids, + } + self.write(cr, uid, ref('wiz_marker2'), vals, context=context) - I run the wizard - - !python {model: account.move.marker}: | + !python {model: validate.account.move}: | context['automated_test_execute_now'] = True - self.button_mark( + self.validate_move( cr, uid, [ref('wiz_marker2')], context=context ) - Now I change my mind and I create a wizard to unmark the moves - - !record {model: account.move.marker, id: wiz_unmarker3}: + !record {model: validate.account.move, id: wiz_unmarker3}: action: unmark +- + I set the period and the journal on the wizard +- + !python {model: validate.account.move}: | + move = self.pool['account.move'].browse(cr, uid, ref('move2'), + context=context) + journal_ids = [(6, 0, [move.journal_id.id])] + period_ids = [(6, 0, [move.period_id.id])] + vals = {'journal_ids': journal_ids, + 'period_ids': period_ids, + } + self.write(cr, uid, ref('wiz_unmarker3'), vals, context=context) - I run the wizard - - !python {model: account.move.marker}: | - self.button_mark( + !python {model: validate.account.move}: | + self.validate_move( cr, uid, [ref('wiz_unmarker3')], context=context ) - diff --git a/account_move_batch_validate/wizard/move_marker.py b/account_move_batch_validate/wizard/move_marker.py index 496faccbb..010726feb 100644 --- a/account_move_batch_validate/wizard/move_marker.py +++ b/account_move_batch_validate/wizard/move_marker.py @@ -25,52 +25,53 @@ from openerp.addons.connector.session import ConnectorSession from openerp.addons.connector.queue.job import job -class AccountMoveMarker(orm.TransientModel): +class ValidateAccountMove(orm.TransientModel): """Wizard to mark account moves for batch posting.""" - _name = "account.move.marker" - _inherit = "account.common.report" - _description = "Mark Journal Items for batch posting" + _inherit = "validate.account.move" _columns = { - 'action': fields.selection([ - ('mark', 'Mark for posting'), - ('unmark', 'Unmark for posting'), - ], "Action", required=True), + 'action': fields.selection([('mark', 'Mark for posting'), + ('unmark', 'Unmark for posting')], + "Action", required=True), 'eta': fields.integer('Seconds to wait before starting the jobs'), - 'journal_ids': fields.many2many('account.journal', - 'account_post_journal_rel', - 'wiz_id', 'journal_id', 'Journals', - required=True), + 'asynchronous': fields.boolean('Use asynchronous validation'), } _defaults = { 'action': 'mark', - 'journal_ids': [], + 'asynchronous': True, } - def button_mark(self, cr, uid, ids, context=None): + def validate_move(self, cr, uid, ids, context=None): """Create a single job that will create one job per move. Return action. """ session = ConnectorSession(cr, uid, context=context) - for wizard_id in ids: - # to find out what _classic_write does, read the documentation. - wizard_data = self.read(cr, uid, wizard_id, context=context, - load='_classic_write') - wizard_data.pop('id') - if wizard_data.get('journal_ids'): - journals_ids_vals = [(6, False, - wizard_data.get('journal_ids'))] - wizard_data['journal_ids'] = journals_ids_vals + wizard_id = ids[0] + # to find out what _classic_write does, read the documentation. + wizard_data = self.read(cr, uid, wizard_id, context=context, + load='_classic_write') + if not wizard_data.get('asynchronous'): + return super(ValidateAccountMove, self)\ + .validate_move(cr, uid, ids, context=context) + wizard_data.pop('id') + if wizard_data.get('journal_ids'): + journals_ids_vals = [(6, False, + wizard_data.get('journal_ids'))] + wizard_data['journal_ids'] = journals_ids_vals + if wizard_data.get('period_ids'): + periods_ids_vals = [(6, False, + wizard_data.get('period_ids'))] + wizard_data['period_ids'] = periods_ids_vals - if context.get('automated_test_execute_now'): - process_wizard(session, self._name, wizard_data) - else: - process_wizard.delay(session, self._name, wizard_data) + if context.get('automated_test_execute_now'): + process_wizard(session, self._name, wizard_data) + else: + process_wizard.delay(session, self._name, wizard_data) return {'type': 'ir.actions.act_window_close'} @@ -80,34 +81,11 @@ class AccountMoveMarker(orm.TransientModel): move_obj = self.pool['account.move'] - domain = [('state', '=', 'draft')] - - if wiz.filter == 'filter_period': - period_pool = self.pool['account.period'] - period_ids = period_pool.search(cr, uid, [ - ('date_start', '>=', wiz.period_from.date_start), - ('date_stop', '<=', wiz.period_to.date_stop), - ], context=context) - - domain.append(( - 'period_id', - 'in', - period_ids - )) - elif wiz.filter == 'filter_date': - domain += [ - ('date', '>=', wiz.date_from), - ('date', '<=', wiz.date_to), - ] - - if wiz.journal_ids: - domain.append(( - 'journal_id', - 'in', - [journal.id for journal in wiz.journal_ids] - )) - - move_ids = move_obj.search(cr, uid, domain, context=context) + domain = [('state', '=', 'draft'), + ('journal_id', 'in', wiz.journal_ids.ids), + ('period_id', 'in', wiz.period_ids.ids)] + move_ids = move_obj.search(cr, uid, domain, order='date', + context=context) if wiz.action == 'mark': move_obj.mark_for_posting(cr, uid, move_ids, eta=wiz.eta, diff --git a/account_move_batch_validate/wizard/move_marker_view.xml b/account_move_batch_validate/wizard/move_marker_view.xml index 3f1b0ab51..4a4775b1b 100644 --- a/account_move_batch_validate/wizard/move_marker_view.xml +++ b/account_move_batch_validate/wizard/move_marker_view.xml @@ -2,58 +2,22 @@ - - Mark Jornal Items for Batch Posting - account.move.marker + + Post Journal Entries + validate.account.move + -
-
- - Mark Jornal Items for Batch Posting - ir.actions.act_window - account.move.marker - form - form - new - - - - Mark Journal Items for Batch Posting - + Post Journal Entries
From 6758a1ec109242aa6589a6321932ebf4d3da3de9 Mon Sep 17 00:00:00 2001 From: "Adrien Peiffer (ACSONE)" Date: Tue, 30 Jun 2015 11:24:03 +0200 Subject: [PATCH 4/5] [IMP][account_move_batch_validate] improve display for action and asynchronous --- account_move_batch_validate/wizard/move_marker_view.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/account_move_batch_validate/wizard/move_marker_view.xml b/account_move_batch_validate/wizard/move_marker_view.xml index 4a4775b1b..0e50c67d4 100644 --- a/account_move_batch_validate/wizard/move_marker_view.xml +++ b/account_move_batch_validate/wizard/move_marker_view.xml @@ -7,11 +7,9 @@ validate.account.move - - - - - + + + From 4f5df29fe531ac30a58a7d823d14a525f585252b Mon Sep 17 00:00:00 2001 From: "Adrien Peiffer (ACSONE)" Date: Tue, 18 Aug 2015 09:28:45 +0200 Subject: [PATCH 5/5] [CHG][account_move_batch_validate] Modify translation files --- .../i18n/account_move_batch_validate.pot | 192 ++++------------ account_move_batch_validate/i18n/fr.po | 205 ++++-------------- 2 files changed, 86 insertions(+), 311 deletions(-) diff --git a/account_move_batch_validate/i18n/account_move_batch_validate.pot b/account_move_batch_validate/i18n/account_move_batch_validate.pot index d979d1c72..60411eea0 100644 --- a/account_move_batch_validate/i18n/account_move_batch_validate.pot +++ b/account_move_batch_validate/i18n/account_move_batch_validate.pot @@ -1,13 +1,13 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_batch_validate # msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 7.0\n" +"Project-Id-Version: Odoo Server 8.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-01-17 14:17+0000\n" -"PO-Revision-Date: 2014-01-17 14:17+0000\n" +"POT-Creation-Date: 2015-08-18 07:21+0000\n" +"PO-Revision-Date: 2015-08-18 07:21+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -16,8 +16,13 @@ msgstr "" "Plural-Forms: \n" #. module: account_move_batch_validate -#: field:account.move,post_job_uuid:0 -msgid "UUID of the Job to approve this move" +#: model:ir.model,name:account_move_batch_validate.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_move_batch_validate +#: field:validate.account.move,action:0 +msgid "Action" msgstr "" #. module: account_move_batch_validate @@ -26,166 +31,49 @@ msgid "Check this box to mark the move for batch posting" msgstr "" #. module: account_move_batch_validate -#: code:addons/account_move_batch_validate/account.py:95 +#: selection:validate.account.move,action:0 +msgid "Mark for posting" +msgstr "" + +#. module: account_move_batch_validate +#: code:addons/account_move_batch_validate/account.py:158 +#, python-format +msgid "Nothing to do because the record has been deleted" +msgstr "" + +#. module: account_move_batch_validate +#: field:account.move,to_post:0 +msgid "Posting Requested" +msgstr "" + +#. module: account_move_batch_validate +#: field:validate.account.move,eta:0 +msgid "Seconds to wait before starting the jobs" +msgstr "" + +#. module: account_move_batch_validate +#: code:addons/account_move_batch_validate/account.py:112 #, python-format msgid "Task set to Done because the user unmarked the move" msgstr "" #. module: account_move_batch_validate -#: view:account.move.marker:0 -msgid "Mark" +#: field:account.move,post_job_uuid:0 +msgid "UUID of the Job to approve this move" msgstr "" #. module: account_move_batch_validate -#: selection:account.move.marker,action:0 +#: selection:validate.account.move,action:0 msgid "Unmark for posting" msgstr "" #. module: account_move_batch_validate -#: field:account.move,to_post:0 -msgid "To Post" +#: field:validate.account.move,asynchronous:0 +msgid "Use asynchronous validation" msgstr "" #. module: account_move_batch_validate -#: field:account.move.marker,company_id:0 -msgid "Company" -msgstr "Société" - -#. module: account_move_batch_validate -#: model:ir.actions.act_window,name:account_move_batch_validate.action_account_move_marker -#: model:ir.ui.menu,name:account_move_batch_validate.menu_account_move_marker -msgid "Mark Journal Items for Batch Posting" -msgstr "" - -#. module: account_move_batch_validate -#: selection:account.move.marker,filter:0 -msgid "Date" -msgstr "" - -#. module: account_move_batch_validate -#: field:account.move.marker,chart_account_id:0 -msgid "Chart of Account" -msgstr "" - -#. module: account_move_batch_validate -#: view:account.move.marker:0 -#: field:account.move.marker,journal_ids:0 -msgid "Journals" -msgstr "" - -#. module: account_move_batch_validate -#: field:account.move.marker,target_move:0 -msgid "Target Moves" -msgstr "" - -#. module: account_move_batch_validate -#: view:account.move.marker:0 -msgid "Report Options" -msgstr "" - -#. module: account_move_batch_validate -#: view:account.move.marker:0 -#: selection:account.move.marker,filter:0 -msgid "Periods" -msgstr "" - -#. module: account_move_batch_validate -#: field:account.move.marker,date_to:0 -msgid "End Date" -msgstr "" - -#. module: account_move_batch_validate -#: view:account.move.marker:0 -msgid "Dates" -msgstr "" - -#. module: account_move_batch_validate -#: field:account.move.marker,period_from:0 -msgid "Start Period" -msgstr "" - -#. module: account_move_batch_validate -#: field:account.move.marker,eta:0 -msgid "Seconds to wait before starting the jobs" -msgstr "" - -#. module: account_move_batch_validate -#: selection:account.move.marker,target_move:0 -msgid "All Posted Entries" -msgstr "" - -#. module: account_move_batch_validate -#: help:account.move.marker,fiscalyear_id:0 -msgid "Keep empty for all open fiscal year" -msgstr "" - -#. module: account_move_batch_validate -#: field:account.move.marker,period_to:0 -msgid "End Period" -msgstr "" - -#. module: account_move_batch_validate -#: field:account.move.marker,fiscalyear_id:0 -msgid "Fiscal Year" -msgstr "" - -#. module: account_move_batch_validate -#: selection:account.move.marker,filter:0 -msgid "No Filters" -msgstr "" - -#. module: account_move_batch_validate -#: field:account.move.marker,action:0 -msgid "Action" -msgstr "" - -#. module: account_move_batch_validate -#: model:ir.model,name:account_move_batch_validate.model_account_move -msgid "Account Entry" -msgstr "" - -#. module: account_move_batch_validate -#: selection:account.move.marker,action:0 -msgid "Mark for posting" -msgstr "" - -#. module: account_move_batch_validate -#: model:ir.model,name:account_move_batch_validate.model_account_move_marker -msgid "Mark Journal Items for batch posting" -msgstr "" - -#. module: account_move_batch_validate -#: view:account.move.marker:0 -msgid "Filters" -msgstr "" - -#. module: account_move_batch_validate -#: view:account.move.marker:0 -msgid "Cancel" -msgstr "" - -#. module: account_move_batch_validate -#: field:account.move.marker,date_from:0 -msgid "Start Date" -msgstr "" - -#. module: account_move_batch_validate -#: help:account.move.marker,chart_account_id:0 -msgid "Select Charts of Accounts" -msgstr "" - -#. module: account_move_batch_validate -#: field:account.move.marker,filter:0 -msgid "Filter by" -msgstr "" - -#. module: account_move_batch_validate -#: view:account.move.marker:0 -msgid "or" -msgstr "" - -#. module: account_move_batch_validate -#: selection:account.move.marker,target_move:0 -msgid "All Entries" +#: model:ir.model,name:account_move_batch_validate.model_validate_account_move +msgid "Validate Account Move" msgstr "" diff --git a/account_move_batch_validate/i18n/fr.po b/account_move_batch_validate/i18n/fr.po index 31d4a7f67..d8c476ab0 100644 --- a/account_move_batch_validate/i18n/fr.po +++ b/account_move_batch_validate/i18n/fr.po @@ -1,145 +1,19 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_batch_validate # msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 7.0\n" +"Project-Id-Version: Odoo Server 8.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-01-17 14:17+0000\n" -"PO-Revision-Date: 2014-02-24 05:21+0000\n" -"Last-Translator: Leonardo Pistone - camptocamp " -"\n" +"POT-Creation-Date: 2015-08-18 07:22+0000\n" +"PO-Revision-Date: 2015-08-18 07:22+0000\n" +"Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-06-12 06:31+0000\n" -"X-Generator: Launchpad (build 17041)\n" - -#. module: account_move_batch_validate -#: field:account.move,post_job_uuid:0 -msgid "UUID of the Job to approve this move" -msgstr "UUID du Job pour approuver cette move" - -#. module: account_move_batch_validate -#: help:account.move,to_post:0 -msgid "Check this box to mark the move for batch posting" -msgstr "Check this box to mark the move for batch posting" - -#. module: account_move_batch_validate -#: code:addons/account_move_batch_validate/account.py:95 -#, python-format -msgid "Task set to Done because the user unmarked the move" -msgstr "" - -#. module: account_move_batch_validate -#: view:account.move.marker:0 -msgid "Mark" -msgstr "Mark" - -#. module: account_move_batch_validate -#: selection:account.move.marker,action:0 -msgid "Unmark for posting" -msgstr "Unmark for posting" - -#. module: account_move_batch_validate -#: field:account.move,to_post:0 -msgid "To Post" -msgstr "Validation demandée" - -#. module: account_move_batch_validate -#: field:account.move.marker,company_id:0 -msgid "Company" -msgstr "Société" - -#. module: account_move_batch_validate -#: model:ir.actions.act_window,name:account_move_batch_validate.action_account_move_marker -#: model:ir.ui.menu,name:account_move_batch_validate.menu_account_move_marker -msgid "Mark Journal Items for Batch Posting" -msgstr "" - -#. module: account_move_batch_validate -#: selection:account.move.marker,filter:0 -msgid "Date" -msgstr "Date" - -#. module: account_move_batch_validate -#: field:account.move.marker,chart_account_id:0 -msgid "Chart of Account" -msgstr "Plan Comptable" - -#. module: account_move_batch_validate -#: view:account.move.marker:0 -#: field:account.move.marker,journal_ids:0 -msgid "Journals" -msgstr "Journaux" - -#. module: account_move_batch_validate -#: field:account.move.marker,target_move:0 -msgid "Target Moves" -msgstr "Target Moves" - -#. module: account_move_batch_validate -#: view:account.move.marker:0 -msgid "Report Options" -msgstr "Report Options" - -#. module: account_move_batch_validate -#: view:account.move.marker:0 -#: selection:account.move.marker,filter:0 -msgid "Periods" -msgstr "Periods" - -#. module: account_move_batch_validate -#: field:account.move.marker,date_to:0 -msgid "End Date" -msgstr "End Date" - -#. module: account_move_batch_validate -#: view:account.move.marker:0 -msgid "Dates" -msgstr "Dates" - -#. module: account_move_batch_validate -#: field:account.move.marker,period_from:0 -msgid "Start Period" -msgstr "Période de debut" - -#. module: account_move_batch_validate -#: field:account.move.marker,eta:0 -msgid "Seconds to wait before starting the jobs" -msgstr "Seconds to wait before starting the jobs" - -#. module: account_move_batch_validate -#: selection:account.move.marker,target_move:0 -msgid "All Posted Entries" -msgstr "Toutes les écritures passées" - -#. module: account_move_batch_validate -#: help:account.move.marker,fiscalyear_id:0 -msgid "Keep empty for all open fiscal year" -msgstr "Keep empty for all open fiscal year" - -#. module: account_move_batch_validate -#: field:account.move.marker,period_to:0 -msgid "End Period" -msgstr "Période de fin" - -#. module: account_move_batch_validate -#: field:account.move.marker,fiscalyear_id:0 -msgid "Fiscal Year" -msgstr "Exercice" - -#. module: account_move_batch_validate -#: selection:account.move.marker,filter:0 -msgid "No Filters" -msgstr "Aucun filtre" - -#. module: account_move_batch_validate -#: field:account.move.marker,action:0 -msgid "Action" -msgstr "Action" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" #. module: account_move_batch_validate #: model:ir.model,name:account_move_batch_validate.model_account_move @@ -147,46 +21,59 @@ msgid "Account Entry" msgstr "Pièce comptable" #. module: account_move_batch_validate -#: selection:account.move.marker,action:0 +#: field:validate.account.move,action:0 +msgid "Action" +msgstr "Action" + +#. module: account_move_batch_validate +#: help:account.move,to_post:0 +msgid "Check this box to mark the move for batch posting" +msgstr "Cocher cette case pour marquer les écritures pour une validation asynchrone" + +#. module: account_move_batch_validate +#: selection:validate.account.move,action:0 msgid "Mark for posting" -msgstr "Sélectionner pour validation" +msgstr "Marquer pour validation" #. module: account_move_batch_validate -#: model:ir.model,name:account_move_batch_validate.model_account_move_marker -msgid "Mark Journal Items for batch posting" -msgstr "Sélectionner Ecritures comptables à Valider en batch" +#: code:addons/account_move_batch_validate/account.py:158 +#, python-format +msgid "Nothing to do because the record has been deleted" +msgstr "Rien à faire car la ligne a été supprimée" #. module: account_move_batch_validate -#: view:account.move.marker:0 -msgid "Filters" -msgstr "Filtres" +#: field:account.move,to_post:0 +msgid "Posting Requested" +msgstr "Validation demandée" #. module: account_move_batch_validate -#: view:account.move.marker:0 -msgid "Cancel" -msgstr "Annuler" +#: field:validate.account.move,eta:0 +msgid "Seconds to wait before starting the jobs" +msgstr "Nombre de secondes à attendre avant de démarrer les jobs" #. module: account_move_batch_validate -#: field:account.move.marker,date_from:0 -msgid "Start Date" -msgstr "Date de début" +#: code:addons/account_move_batch_validate/account.py:112 +#, python-format +msgid "Task set to Done because the user unmarked the move" +msgstr "Tâche mise à terminé car l'utilisateur a décoché la pièce" #. module: account_move_batch_validate -#: help:account.move.marker,chart_account_id:0 -msgid "Select Charts of Accounts" -msgstr "Sélectionner Plan Comptable" +#: field:account.move,post_job_uuid:0 +msgid "UUID of the Job to approve this move" +msgstr "UUID du Job pour approuver cette pièce" #. module: account_move_batch_validate -#: field:account.move.marker,filter:0 -msgid "Filter by" -msgstr "Filtrer par" +#: selection:validate.account.move,action:0 +msgid "Unmark for posting" +msgstr "Décocher pour la validation" #. module: account_move_batch_validate -#: view:account.move.marker:0 -msgid "or" -msgstr "ou" +#: field:validate.account.move,asynchronous:0 +msgid "Use asynchronous validation" +msgstr "Utilisation de la validation asynchrone" #. module: account_move_batch_validate -#: selection:account.move.marker,target_move:0 -msgid "All Entries" -msgstr "Toutes les écritures" +#: model:ir.model,name:account_move_batch_validate.model_validate_account_move +msgid "Validate Account Move" +msgstr "Valider les pièces comptables" +