← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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.

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

-- 
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/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


Follow ups

References