openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #12560
Re: [Bug 1013222] Re: Problems on product_margin module
On jeu. 14 juin 2012 17:19:55 CEST, Virginie Laborie wrote:
> ** Attachment added: "Bug product_margin.odt"
> https://bugs.launchpad.net/bugs/1013222/+attachment/3189504/+files/Bug%20product_margin.odt
>
For the record, I'm working on an addon called
product_historical_margin which is simpler than product_margin and
fixes a number of issues found in that module.
You can try it out in the trunk branch of c2c-addons
https://code.launchpad.net/~c2c/c2c-addons/trunk
--
Alexandre Fayolle
Chef de Projet
Tel : + 33 (0)4 79 26 57 92
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
http://www.camptocamp.com
--
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/1013222
Title:
Problems on product_margin module
Status in OpenERP Addons (modules):
New
Bug description:
Hi,
I try the module product_margin on version 6.1.1, and I note that
there is 2 problems with it.
First one:
When a supplier refund is created on a product, the quantity and amount are added to the sale part instead of purchase. And in the same way if a customer refund is created on a product, the quantity and amount are added to the purchase part instead of sale.
After checking the product_margin.py file, I notice that there is probably an inversion between in_refund (for suppliers) and out_refund (for customers) - Please see attached document.
More over the refunds are not deducted but added.
Second one :
It seems that the Avg. Unit price is based on the unit price of the invoice line.
For my part, I think that the avg.unit price should be equal to the Turnover divided by the quantity sold, in this way the discounts applied on invoice lines are taken into account in the calculation of the Avg. Unit price (or perhaps I don't well understand what you mean by avg unit sale price).
Regards
Virginie
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1013222/+subscriptions
References