diff --git a/addons/account/demo/price_accuracy00.yml b/addons/account/demo/price_accuracy00.yml index 81023395141..a3cfc154ad9 100644 --- a/addons/account/demo/price_accuracy00.yml +++ b/addons/account/demo/price_accuracy00.yml @@ -44,7 +44,6 @@ Then I should see an account entry linked to this invoice. - !assert {model: account.invoice, id: invoice1}: - test: - bool(move_id) - # This is not working, find a way to do that in YAML, *qty is not @@ -53,14 +52,12 @@ equal to *qty x *price x (1 + *tax) - !assert {model: account.invoice, id: invoice1}: - test: - - abs(sum(x.credit for x in move_id.line_id) - 163.97) < 0.000001 + - abs(sum(x.credit for x in move_id.line_id) - 163.97) < 0.000001 - And this account entry must have a credit equals to the debit - !assert {model: account.invoice, id: invoice1}: - test: - - abs(sum(x.credit - x.debit for x in move_id.line_id)) < 0.000001 + - abs(sum(x.credit - x.debit for x in move_id.line_id)) < 0.000001 - Then, I change the precision of numbers to 3 digits. - @@ -80,8 +77,7 @@ Then this account entry must have a credit equals to the debit - !assert {model: account.invoice, id: invoice2}: - test: - - abs(sum(x.credit - x.debit for x in move_id.line_id)) < 0.000001 + - abs(sum(x.credit - x.debit for x in move_id.line_id)) < 0.000001 - And this account entry must have a credit equals to 163.968€ which is equal to *qty x *price x (1 + *tax) diff --git a/addons/account/report/account_invoice_report_view.xml b/addons/account/report/account_invoice_report_view.xml index 47b6ebf3110..2f2c7239454 100644 --- a/addons/account/report/account_invoice_report_view.xml +++ b/addons/account/report/account_invoice_report_view.xml @@ -43,36 +43,37 @@ search - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - + - + diff --git a/addons/crm/crm_claims_menu.xml b/addons/crm/crm_claims_menu.xml index 1eac8e007a3..f235c9ae637 100755 --- a/addons/crm/crm_claims_menu.xml +++ b/addons/crm/crm_claims_menu.xml @@ -13,6 +13,7 @@ form tree,calendar,form,graph + {"search_default_section_id":section_id,"search_default_current":1,"search_default_my_claims":1} diff --git a/addons/crm/crm_claims_view.xml b/addons/crm/crm_claims_view.xml index f791a1b86cc..08c0bd9b528 100755 --- a/addons/crm/crm_claims_view.xml +++ b/addons/crm/crm_claims_view.xml @@ -161,7 +161,7 @@ - + @@ -245,9 +245,9 @@ search - - + + widget="selection"> diff --git a/addons/crm/crm_fund_menu.xml b/addons/crm/crm_fund_menu.xml index babb10f291c..c0994aee5cd 100644 --- a/addons/crm/crm_fund_menu.xml +++ b/addons/crm/crm_fund_menu.xml @@ -12,6 +12,7 @@ crm.fundraising tree,form,graph + {"search_default_my_funds":1,"search_default_section_id":section_id} diff --git a/addons/crm/crm_fund_view.xml b/addons/crm/crm_fund_view.xml index ec4f0d49236..536da9b7c77 100644 --- a/addons/crm/crm_fund_view.xml +++ b/addons/crm/crm_fund_view.xml @@ -169,7 +169,7 @@ - + @@ -181,8 +181,8 @@
- - + +