← Back to team overview

openerp-india team mailing list archive

[Bug 1245305] [NEW] [account_voucher] when using multicurrency, amount voucher cannot be negative

 

Public bug reported:

Whenever Working on multicurrency,

You cannot create a Customer/Supplier Payment with negative amounts.

Because this is capture with the following constraint:

ValidateError

Error occurred while validating the field(s) amount_currency: The amount
expressed in the secondary currency must be positive when the journal
item is a debit and negative when if it is a credit.

This test was done in runbot

http://7-0-23628.runbot.openerp.com/

Regards
Hbto

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Attachment added: "voucher_usd_eur_negative"
   https://bugs.launchpad.net/bugs/1245305/+attachment/3893292/+files/voucher_usd_eur_negative

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1245305

Title:
  [account_voucher] when using multicurrency, amount voucher cannot be
  negative

Status in OpenERP Addons (modules):
  New

Bug description:
  Whenever Working on multicurrency,

  You cannot create a Customer/Supplier Payment with negative amounts.

  Because this is capture with the following constraint:

  ValidateError

  Error occurred while validating the field(s) amount_currency: The
  amount expressed in the secondary currency must be positive when the
  journal item is a debit and negative when if it is a credit.

  This test was done in runbot

  http://7-0-23628.runbot.openerp.com/

  Regards
  Hbto

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1245305/+subscriptions


Follow ups

References