Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Coopdevs OCB mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Odoo
Coopdevs OCB mirror
Commits
e155ff6d
Commit
e155ff6d
authored
13 years ago
by
Fabien Pinckaers
Browse files
Options
Downloads
Patches
Plain Diff
[IMP] yaml tests
bzr revid: fp@tinyerp.com-20111114221924-btl3n72he07nysvd
parent
dd35a53e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
addons/account_voucher/test/case2_usd_eur_debtor_in_eur.yml
+1
-1
1 addition, 1 deletion
addons/account_voucher/test/case2_usd_eur_debtor_in_eur.yml
addons/product/test/product_test.yml
+0
-3
0 additions, 3 deletions
addons/product/test/product_test.yml
with
1 addition
and
4 deletions
addons/account_voucher/test/case2_usd_eur_debtor_in_eur.yml
+
1
−
1
View file @
e155ff6d
...
...
@@ -150,7 +150,7 @@
assert (move_line.debit - move_line.credit == 80), "Invoice move is incorrect for debtors account"
-
I create the first voucher of payment
<create with values 200 EUR
(€)
, journal EUR, and fills amount 130
€
for the invoice of 200
$
and 70
€
for the invoice of 100
$
>
<create with values 200 EUR, journal EUR, and fills amount 130
EUR
for the invoice of 200
USD
and 70
EUR
for the invoice of 100
USD
>
-
!python
{
model
:
account.voucher
}
:
|
import netsvc, time
...
...
This diff is collapsed.
Click to expand it.
addons/product/test/product_test.yml
+
0
−
3
View file @
e155ff6d
...
...
@@ -5,7 +5,6 @@
name
:
20KG
uom_type
:
bigger
category_id
:
product.product_uom_categ_kgm
rounding
:
0.010
factor_inv
:
20
-
I create a 10KG UOM for 'Sugar'
...
...
@@ -14,14 +13,12 @@
name
:
10KG
uom_type
:
bigger
category_id
:
product.product_uom_categ_kgm
rounding
:
0.010
factor_inv
:
10
-
I create a new product 'Sugar' in 20KG UOM.
-
!record
{
model
:
product.product
,
id
:
product_sugar_id1
}
:
categ_id
:
'
product.product_category_rawmaterial0'
cost_method
:
standard
name
:
Sugar 20KG
procure_method
:
make_to_order
standard_price
:
400.0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment