|
11.
|
|
|
Check that reconciled account moves, that define Payable and Receivable accounts, are belonging to reconciled invoices
|
|
|
module: account_test
|
|
|
|
(no translation yet)
|
|
|
|
Located in
model:accounting.assert.test,desc:account_test.account_test_05_2
|
|
12.
|
|
|
Check that reconciled invoice for Sales/Purchases has reconciled entries for Payable and Receivable Accounts
|
|
|
module: account_test
|
|
|
|
(no translation yet)
|
|
|
|
Located in
model:accounting.assert.test,desc:account_test.account_test_05
|
|
13.
|
|
|
Check that there's no move for any account with «[nbsp] View[nbsp] » account type
|
|
|
module: account_test
|
|
|
|
(no translation yet)
|
|
|
|
Located in
model:accounting.assert.test,desc:account_test.account_test_06_1
|
|
14.
|
|
|
Check the balance: Debit sum = Credit sum
|
|
|
module: account_test
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
Vérifier le solde : Débit total = Crédit total
|
|
|
French
account-test in ocb-addons odoo-8
by
Matjaž Mozetič (Matmoz)
|
|
|
|
Located in
model:accounting.assert.test,desc:account_test.account_test_01
|
|
15.
|
|
|
Code Help
|
|
|
module: account_test
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
Aide
|
|
|
French
account-test in ocb-addons odoo-8 by
Olivier Dony (Odoo)
|
|
|
|
Located in
view:accounting.assert.test:account_test.account_assert_form
|
|
16.
|
|
|
Code should always set a variable named `result` with the result of your test, that can be a list or ![](/@@/translation-newline)
a dictionary. If `result` is an empty list, it means that the test was succesful. Otherwise it will ![](/@@/translation-newline)
try to translate and print what is inside `result`.
![](/@@/translation-newline)
If the result of your test is a dictionary, you can set a variable named `column_order` to choose in ![](/@@/translation-newline)
what order you want to print `result`'s content.
![](/@@/translation-newline)
Should you need them, you can also use the following variables into your code:
* cr: cursor to the database
* uid: ID of the current user
![](/@@/translation-newline)
In any ways, the code must be legal python statements with correct indentation (if needed).
![](/@@/translation-newline)
Example:
sql = '''SELECT id, name, ref, date
FROM account_move_line
WHERE account_id IN (SELECT id FROM account_account WHERE type = 'view')
'''
cr.execute(sql)
result = cr.dictfetchall()
|
|
|
module: account_test
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
Le code devrait définir une variable nommée 'result' avec pour valeur le résultat de votre test, et de type liste ou ![](/@@/translation-newline)
dictionnaire. Si 'result' est une liste vide, alors le test fut réussi. Autrement il essaiera ![](/@@/translation-newline)
de traduire et d'imprimer le contenu de 'result'.
![](/@@/translation-newline)
Si le 'result' de votre test est un dictionnaire, vous pouvez définir une variable nommée 'column_order' pour indiquer ![](/@@/translation-newline)
dans quel ordre vous voulez imprimer le contenu de 'result'.
![](/@@/translation-newline)
En cas de besoin, vous pouvez aussi utiliser les variables suivantes dans votre code:
* cr: curseur de base de données
* uid: ID de l'utilisateur actuel
![](/@@/translation-newline)
Dans tous les cas, le code doit être des déclarations python correctes avec une indentation correcte (si besoin).
![](/@@/translation-newline)
Exemple:
sql = '''SELECT id, name, ref, date
FROM account_move_line
WHERE account_id IN (SELECT id FROM account_account WHERE type = 'view')
'''
cr.execute(sql)
result = cr.dictfetchall()
|
|
|
French
account-test in ocb-addons odoo-8
by
Matjaž Mozetič (Matmoz)
|
|
|
|
Located in
view:accounting.assert.test:account_test.account_assert_form
|
|
17.
|
|
|
Created by
|
|
|
module: account_test
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
créé par
|
|
|
French
account-test in ocb-addons odoo-8 by
Maxime Chambreuil (http://www.savoirfairelinux.com)
|
|
|
Auteur
|
|
|
French
account-test in ocb-addons odoo-8 by
Etienne Quesselaire
|
|
|
Crée par
|
|
|
French
account-test in ocb-addons odoo-8 by
Xavier ALT
|
|
|
|
Located in
field:accounting.assert.test,create_uid:0
|
|
18.
|
|
|
Created on
|
|
|
module: account_test
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
Crée dans
|
|
|
French
account-test in ocb-addons odoo-8 by
Alessandro Gasparini
|
|
|
Créée le
|
|
|
French
account-test in ocb-addons odoo-8 by
Frederic Clementi - Camptocamp
|
|
|
Crée le
|
|
|
French
account-test in ocb-addons odoo-8 by
E-learning Touch'
|
|
|
|
Located in
field:accounting.assert.test,create_date:0
|
|
19.
|
|
|
Description
|
|
|
module: account_test
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
Description de ce cours
|
|
|
French
account-test in ocb-addons odoo-8 by
Yannick Warnier
|
|
|
N° de pièce
|
|
|
French
account-test in ocb-addons odoo-8 by
Sebastien LANGE - http://www.Syleam.fr
|
|
|
Location :
|
|
|
French
account-test in ocb-addons odoo-8 by
Christophe Merlet (RedFox)
|
|
|
|
Located in
view:accounting.assert.test:account_test.account_assert_form
|
|
20.
|
|
|
Description:
|
|
|
module: account_test
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
Description[nnbsp] :
|
|
|
French
account-test in ocb-addons odoo-8 by
Eliovir
|
|
|
Description[nbsp] :
|
|
|
French
account-test in ocb-addons odoo-8 by
Jean-Marc
|
|
|
Description :
|
|
|
French
account-test in ocb-addons odoo-8 by
DURAND Gérard
|
|
|
|
Located in
view:website:account_test.report_accounttest
|