[Trunk] Import payment Line : Multi-company -> name constraint
Bug #1048558 reported by
Vincent Renaville@camptocamp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
Hello,
If you are in multi-company mode, and you have similar sequence for payment line.
You will have error when you will want to Import invoice in your payment, due to unique constaint on name for payment line.
I have attach a patch to this bug , this patch add company_id into the unique constraint of payment line.
Please merge it into stable version
Vincent
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-1048558-mma
Ready for review
for merging
into
lp:openobject-addons
- Purnendu Singh (OpenERP) (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedaccount_payment/account_payment.py (+1/-1)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
tags: | added: maintenance |
To post a comment you must log in.
Hello Vincent,
I don't think this bug effect to 6.1, because it need to change on sql_constraint . So it will creates a problem on production database. So I am assigning this only for trunk version.
Thank you!