[IMP] account_tax_balance: Change tests to post instal and protect again freezes

This commit is contained in:
Pedro M. Baeza
2018-03-09 16:58:42 +01:00
committed by Borruso
parent 7213521d04
commit 49da62e548
2 changed files with 286 additions and 2 deletions

View File

@@ -0,0 +1,282 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_tax_balance
#
# Translators:
# Dorin Hongu <dhongu@gmail.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-16 08:14+0000\n"
"PO-Revision-Date: 2018-03-16 08:14+0000\n"
"Last-Translator: Dorin Hongu <dhongu@gmail.com>, 2018\n"
"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ro\n"
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance
msgid "Account"
msgstr "Cont"
#. module: account_tax_balance
#: model:ir.model,name:account_tax_balance.model_account_move
msgid "Account Entry"
msgstr ""
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance
#: model:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "Account Tax"
msgstr "Cont TVA"
#. module: account_tax_balance
#: selection:wizard.open.tax.balances,target_move:0
msgid "All Entries"
msgstr "Toate înregistrările"
#. module: account_tax_balance
#: selection:wizard.open.tax.balances,target_move:0
msgid "All Posted Entries"
msgstr "Toate înregistrările postare"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax_balance_regular
msgid "Balance"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax_balance_refund
msgid "Balance Refund"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax_base_balance_regular
msgid "Base Balance"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax_base_balance_refund
msgid "Base Balance Refund"
msgstr ""
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "Base Total"
msgstr ""
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.wizard_open_tax_balances
msgid "Cancel"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances_company_id
msgid "Company"
msgstr "Companie"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances_create_uid
msgid "Created by"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances_create_date
msgid "Created on"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances_date_range_id
msgid "Date range"
msgstr "Interval"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances_display_name
msgid "Display Name"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances_from_date
msgid "From date"
msgstr ""
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance
msgid "Group By"
msgstr "Grupează după"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax_has_moves
msgid "Has balance in period"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances_id
msgid "ID"
msgstr "ID"
#. module: account_tax_balance
#: model:ir.model,name:account_tax_balance.model_account_move_line
msgid "Journal Item"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances___last_update
msgid "Last Modified on"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances_write_uid
msgid "Last Updated by"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances_write_date
msgid "Last Updated on"
msgstr ""
#. module: account_tax_balance
#: selection:account.move,move_type:0
msgid "Liquidity"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move_move_type
#: model:ir.ui.view,arch_db:account_tax_balance.view_account_move_filter
msgid "Move type"
msgstr ""
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.wizard_open_tax_balances
msgid "Open Taxes"
msgstr ""
#. module: account_tax_balance
#: selection:account.move,move_type:0
msgid "Other"
msgstr ""
#. module: account_tax_balance
#: selection:account.move,move_type:0
msgid "Payable"
msgstr ""
#. module: account_tax_balance
#: selection:account.move,move_type:0
msgid "Payable refund"
msgstr ""
#. module: account_tax_balance
#: selection:account.move,move_type:0
msgid "Receivable"
msgstr ""
#. module: account_tax_balance
#: selection:account.move,move_type:0
msgid "Receivable refund"
msgstr ""
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance
#: model:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "Short Name"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances_target_move
msgid "Target Moves"
msgstr ""
#. module: account_tax_balance
#: model:ir.model,name:account_tax_balance.model_account_tax
msgid "Tax"
msgstr ""
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance
msgid "Tax Group"
msgstr ""
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance
msgid "Tax Scope"
msgstr ""
#. module: account_tax_balance
#: model:ir.actions.act_window,name:account_tax_balance.action_open_tax_balances
#: model:ir.actions.act_window,name:account_tax_balance.action_tax_balances_tree
#: model:ir.ui.menu,name:account_tax_balance.menu_action_open_tax_balances
#: model:ir.ui.menu,name:account_tax_balance.menu_tax_balances
#: model:ir.ui.view,arch_db:account_tax_balance.wizard_open_tax_balances
msgid "Taxes Balance"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances_to_date
msgid "To date"
msgstr ""
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "Total"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax_balance
msgid "Total Balance"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax_base_balance
msgid "Total Base Balance"
msgstr ""
#. module: account_tax_balance
#: code:addons/account_tax_balance/models/account_tax.py:87
#, python-format
msgid "Unsupported search operator"
msgstr ""
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "View base lines"
msgstr ""
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "View base refund lines"
msgstr ""
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "View base regular lines"
msgstr ""
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "View tax lines"
msgstr ""
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "View tax refund lines"
msgstr ""
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "View tax regular lines"
msgstr ""
#. module: account_tax_balance
#: model:ir.ui.view,arch_db:account_tax_balance.wizard_open_tax_balances
msgid "or"
msgstr ""
#. module: account_tax_balance
#: model:ir.model,name:account_tax_balance.model_wizard_open_tax_balances
msgid "wizard.open.tax.balances"
msgstr ""

View File

@@ -4,12 +4,14 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp.fields import Date from openerp.fields import Date
from openerp.tests.common import TransactionCase from openerp.tests.common import HttpCase
from datetime import datetime from datetime import datetime
from dateutil.rrule import MONTHLY from dateutil.rrule import MONTHLY
class TestAccountTaxBalance(TransactionCase): class TestAccountTaxBalance(HttpCase):
at_install = False
post_install = False
def setUp(self): def setUp(self):
super(TestAccountTaxBalance, self).setUp() super(TestAccountTaxBalance, self).setUp()