[7.0] Creating new supplier in autocomplete field goes to Customers

Bug #1132950 reported by James Alvarez
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP R&D Addons Team 3

Bug Description

Using: Version 7.0-20130215-002350

Affected pages:

(account_voucher module)
>> Accounting > Suppliers > Supplier Payments
>> Accounting > Suppliers > Purchase Payments

To replicate:

1. Create a new "Supplier Payments" or "Purchase Receipts" in Accounting Tab
>> Accounting > Suppliers > Supplier Payments
>> Accounting > Suppliers > Purchase Payments

2. Type a non-existent supplier in the Supplier field
Eg. Test Supplier

3. Click "Create Test Supplier..." in the drop down box

The newly created supplier will be created under the Customers and not under Suppliers.

One more thing, in the "Create and Edit..." link in the drop down box, a new popup will appear. However, upon adding a new Supplier, the newly created record will also be created under the Customers, and not under Suppliers, just like with the above issue.

Expected Results:

1. I expect all created Suppliers will be saved in the Suppliers page, and not in Customers page

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
James Alvarez (v-jp) wrote :

I will also appreciate for someone who can provide a patch to this issue.

I am willing to fix the issue myself and provide the patch, but I am not yet familiar with this module's code structures.

Thanks!

Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Pankti Shah(OpenERP Trainee) (pankti.shah-openerp) wrote :

Hello,
    It has been fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1132950-pankti branch.
    Revision num: 8660
    Revision ID: <email address hidden>

Thanks,
Pankti

Changed in openobject-addons:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.