[6.0.2]invoiced_rate in puchase_order_tree is not counting not correctly the percentage

Bug #795026 reported by seite
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP Publisher's Warranty Team

Bug Description

The problem is the same in sale module and/or purchase module:

- Recording purchase order with an article which having tax,

- Receipt it and confirm the creating of invoice,

- Approve invoice,

-Return on purchase list view.

The field invoice_rate indicating that a percentage of - 19,6% correspind to vat.

On old version, the percentage was calculating on reception not payment of invoice.

I'm working with data demo (french account chart) on openerp 6.0.2 (server 3441 and Addons 4644)

Related branches

Revision history for this message
seite (pascal-seite) wrote :
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

I have checked your issue and I have faced the same problem in stable 6.0.2 addons rev no 4645.

The progress bar is not calculate properly when we are added a tax in PO lines and it will goes in to minus because now it is calculate based on "Untaxed amount"- "residual amount' it should be calculate based on "Total"- "Residual" amount.

When we are added tax the residual amount is greater then the untaxed amount so when we are validate the invoice progress bar goes in to minus percentage which is not proper.

So I am confirming this issue.

Thanks.

summary: - invoiced_rate in puchase_order_tree is not counting not correctly the
- percentage
+ [6.0.2]invoiced_rate in puchase_order_tree is not counting not correctly
+ the percentage
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
seite (pascal-seite) wrote : Rép. : [Bug 795026] Re: invoiced_rate in puchase_order_tree is not countingnot correctly the percentage

Hello,

Thanks for your response. But I'have another question. Is it normal that the progress bar grow up only when the payment is done, and not when the invoice is valide.

Best Regards

Pascal
>>> "Amit Parik (OpenERP)" <email address hidden> 10/06/2011 12:34 >>>
Hello,

I have checked your issue and I have faced the same problem in stable
6.0.2 addons rev no 4645.

The progress bar is not calculate properly when we are added a tax in PO
lines and it will goes in to minus because now it is calculate based on
"Untaxed amount"- "residual amount' it should be calculate based on
"Total"- "Residual" amount.

When we are added tax the residual amount is greater then the untaxed
amount so when we are validate the invoice progress bar goes in to minus
percentage which is not proper.

So I am confirming this issue.

Thanks.

** Summary changed:

- invoiced_rate in puchase_order_tree is not counting not correctly the percentage
+ [6.0.2]invoiced_rate in puchase_order_tree is not counting not correctly the percentage

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/795026

Title:
  [6.0.2]invoiced_rate in puchase_order_tree is not counting not
  correctly the percentage

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  The problem is the same in sale module and/or purchase module:

  - Recording purchase order with an article which having tax,

  - Receipt it and confirm the creating of invoice,

  - Approve invoice,

  -Return on purchase list view.

  The field invoice_rate indicating that a percentage of - 19,6%
  correspind to vat.

  On old version, the percentage was calculating on reception not
  payment of invoice.

  I'm working with data demo (french account chart) on openerp 6.0.2
  (server 3441 and Addons 4644)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/795026/+subscriptions

Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Hello Seite,

Of course the Progress bar grows up only when the payment is getting done, not when we validate the invoices.

I have fixed it in lp:~openerp-dev/openobject-addons/6.0-bug-795026-rha

Revision no: 4651
Revision ID: <email address hidden>

Thanks for pointing out this issue.
Regards,
Rifakat

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

This is a new behaviour.
In old versions, the progress bar was growing when the invoices were confirmed. That was good for our needs.
Now the progress bar grows with residual payment. It's a new concept. I think it should be included as a module or a parameter in company settings.

BTW, the new behaviour is not committed in trunk

Revision history for this message
invitu (invitu) wrote :

or there should be a new field named "paid_rate" (in addition of "invoiced_rate")

invitu (invitu)
Changed in openobject-addons:
status: Fix Committed → Opinion
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Hello,

Seite, as Invitu is saying, the behavior you see is due to a regression[1], which should simply be reverted.
The invoiced_rate field is meant to show how much of the so/po has been *invoiced*, not how much has been paid (hence the name). How much has been paid is a concern of the accounting department usually, not of the sales/purchase management.
If needed, this could be implemented a new feature with a "paid_rate" field, but even this is probably unnecessary, as it's visible on invoices, and that's where it should be.

The original commit [1] simply needs to be reverted, and this will be done soon.

Thanks for reporting!

[1] http://bazaar.launchpad.net/~openerp/openobject-addons/6.0/revision/4593

Changed in openobject-addons:
milestone: none → 6.0.3
status: Opinion → Confirmed
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

It has been corrected by revision 4697 <email address hidden>.
Thanks.

Changed in openobject-addons:
status: Confirmed → 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.