File tree 1 file changed +11
-0
lines changed
delivery_package_fee/tests
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,16 @@ def test_package_fee_simple_with_fiscal_position_tax(self):
154
154
"include_base_amount" : True ,
155
155
}
156
156
)
157
+ tax_price_include2 = self .env ["account.tax" ].create (
158
+ {
159
+ "name" : "15% inc" ,
160
+ "type_tax_use" : "sale" ,
161
+ "amount_type" : "percent" ,
162
+ "amount" : 15 ,
163
+ "price_include" : True ,
164
+ "include_base_amount" : True ,
165
+ }
166
+ )
157
167
tax_price_exclude = self .env ["account.tax" ].create (
158
168
{
159
169
"name" : "15% exc" ,
@@ -180,6 +190,7 @@ def test_package_fee_simple_with_fiscal_position_tax(self):
180
190
)
181
191
182
192
# Setting tax in fiscal position on fee2 product
193
+ self .fee1 .taxes_id = tax_price_include2
183
194
self .fee2 .taxes_id = tax_price_include
184
195
self .sale .fiscal_position_id = fiscal_position
185
196
You can’t perform that action at this time.
0 commit comments