[7.0] Creating new supplier in autocomplete field goes to Customers
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
- OpenERP Core Team: Pending requested
-
Diff: 25 lines (+2/-2)2 files modifiedaccount_voucher/account_voucher.py (+1/-1)
account_voucher/voucher_sales_purchase_view.xml (+1/-1)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
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!