Fix tests.

This commit is contained in:
Albert Cervera i Areny 2022-08-11 23:42:12 +02:00
parent 63452dfdbf
commit d44022b3e1
2 changed files with 7 additions and 7 deletions

View File

@ -114,6 +114,13 @@ Create payment term::
>>> payment_term = create_payment_term()
>>> payment_term.save()
Change sale configuration::
>>> Configuration = Model.get('sale.configuration')
>>> configuration = Configuration(1)
>>> configuration.sale_margin_method = 'cost_price'
>>> configuration.save()
Sale with 1 product::
>>> config.user = sale_user.id

View File

@ -114,13 +114,6 @@ Create payment term::
>>> payment_term = create_payment_term()
>>> payment_term.save()
Change sale configuration::
>>> Configuration = Model.get('sale.configuration')
>>> configuration = Configuration(1)
>>> configuration.sale_margin_method = 'unit_price'
>>> configuration.save()
Sale margin with and percentatge with unit price method::
>>> config.user = sale_user.id