File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
account_ecotax_sale/tests Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 22# @author Mourad EL HADJ MIMOUNE <[email protected] > 33# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
44
5+ from odoo import Command
56from odoo .tests .common import Form
67
78from odoo .addons .account_ecotax .tests .test_ecotax import TestInvoiceEcotaxCommon
@@ -16,6 +17,7 @@ def setUpClass(cls):
1617 "name" : "product_a" ,
1718 "uom_id" : cls .env .ref ("uom.product_uom_unit" ).id ,
1819 "weight" : 100 ,
20+ "taxes_id" : [Command .set (cls .invoice_tax .ids )],
1921 "list_price" : 200 ,
2022 }
2123 )
@@ -24,6 +26,7 @@ def setUpClass(cls):
2426 "name" : "product_b" ,
2527 "uom_id" : cls .env .ref ("uom.product_uom_unit" ).id ,
2628 "list_price" : 200 ,
29+ "taxes_id" : [Command .set (cls .invoice_tax .ids )],
2730 "weight" : 400 ,
2831 }
2932 )
You can’t perform that action at this time.
0 commit comments