group sales order with different pricelists having different currencies in a same invoice

Bug #804265 reported by Salvi Angjeli
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

The system permit to create an invoice from sales order with different price lists. The system should show a warning in this case.
This problem is very dangerous if the user is trying to group in a same invoice sales orders with different price list in different currencies

Thanks
Salvi

Related branches

Revision history for this message
Salvi Angjeli (salvi-angjeli) wrote :
Revision history for this message
Graeme Gellatly (gdgellatly) wrote : Re: [Bug 804265] Re: group sales order with different pricelists in a same invoice

There is nothing wrong per se with grouping sales orders from different
pricelists at all. In fact account.invoice currently has no concept of
pricelist so it is just prices. And one SO can in itself have prices from
multiple pricelists. So the issue is not pricelists, but currency of
pricelist. There is a similar issue in bug 782168 which was never really
resolved.

On Fri, Jul 1, 2011 at 11:40 PM, Salvi Angjeli <email address hidden>wrote:

> ** Patch added: "group_sales_order.patch"
>
> https://bugs.launchpad.net/bugs/804265/+attachment/2186423/+files/group_sales_order.patch
>
> --
> You received this bug notification because you are subscribed to OpenERP
> Addons.
> https://bugs.launchpad.net/bugs/804265
>
> Title:
> group sales order with different pricelists in a same invoice
>
> Status in OpenERP Modules (addons):
> New
>
> Bug description:
> The system permit to create an invoice from sales order with different
> price lists. The system should show a warning in this case.
> This problem is very dangerous if the user is trying to group in a same
> invoice sales orders with different price list in different currencies
>
> Thanks
> Salvi
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-addons/+bug/804265/+subscriptions
>

Amit Parik (amit-parik)
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
Revision history for this message
Meera Trambadia (OpenERP) (mtr-openerp) wrote : Re: group sales order with different pricelists in a same invoice

Hello Salvi Angjeli,

I have checked and modified your patch as per the given scenario 'if the user is trying to group in a same invoice sales orders with different price list in different currencies'.Its has been fixed in the following branch:-

Its fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-804265-mtr.
Revision ID: mtr@mtr-20110725100001-guvi0xvrnrdmuhe8
Revision no: 4898

Thanks for your contribution.

Thanks,
mtr

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Salvi Angjeli (salvi-angjeli) wrote :

Hello Meera, Amit

Thank you for the check

Thanks,
Salvi

Changed in openobject-addons:
milestone: none → 6.1
summary: - group sales order with different pricelists in a same invoice
+ group sales order with different pricelists having different currencies
+ in a same invoice
Changed in openobject-addons:
status: Fix Committed → Fix Released
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.