← Back to team overview

credativ team mailing list archive

[Bug 903841] Re: salesman and fiscal position not copied from invoice to refund

 

** Patch added: "fix_create_refund.patch"
   https://bugs.launchpad.net/bugs/903841/+attachment/2631588/+files/fix_create_refund.patch

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

Title:
  salesman and fiscal position not copied from invoice to refund

Status in OpenERP Addons (modules):
  New

Bug description:
  Here is the scenario to reproduce the bug on OpenERP trunk version :
  - create a new database and install the "account" module
  - create a fiscal position "FP1"
  - create a new invoice :
    . set customer = Agrolait
    . set Salesman = Demo user
    . set Fiscal position = FP1
    . add an invoice line
  - Valide the invoice
  - Click on "Refund"
    . enter a description
    . keep "Refund method" = Create a draft refund
  - On the draft refund that has been created, you will see :
    . Salesman = Administrator (= user currently using the ERP) -> BUG, it should be the same as the invoice i.e. "Demo user"
    . Fiscal position is empty -> BUG, it should be the same as the invoice i.e. "FP1"

  The enclosed patch fixes this issue. Please apply it on trunk.

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


References