[7.0] partner_id in all journal entry of voucher

Bug #1304507 reported by Luis Ernesto García Medina - http://www.vauxoo.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Wishlist
Unassigned
7.0
Fix Committed
Low
OpenERP Publisher's Warranty Team

Bug Description

1) Steps to reproduce the issue you have observed
  1.1 create a payslip to employee Quentin De Paoli.
     1.1.1 Assign Home Address to employee.
  1.2 set Miscellaneous Journal - (test) (EUR) in field Salary Journal.
  1.3 Go to salary structures and go to BASE, set a value to Credit Account and Analytic
      Account of salary rule "Net".
  1.4 Compute sheet and confirm the payslip.

Can find a demonstrative video here:
https://www.youtube.com/watch?v=ukwFjhT_ExU

2) The result you observed
When validating a payslip, just one accounting entries line have been assigned the partner.

 3) The result you expected
Having assigned the partner in all accounting entries of payslip.
Similar to invoices and vouchers.

4) The platform your are using
Ubuntu 13.10 and Runbot
 5) The OpenERP version
OpenERP 7.0
Server revno: 5264
addons revno: 9924
web addons revno: 4162

Tags: maintenance

Related branches

description: updated
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Amit Dodiya (OpenERP) (ado-openerp) wrote :

Hello,

This issue is fixed with following branch:
branch: lp:~openerp-dev/openobject-addons/7.0-opw-606399-ado
revision-id: 9981
revision-no: <email address hidden>

Regards,
Amit

Changed in openobject-addons:
assignee: OpenERP Publisher's Warranty Team (openerp-opw) → nobody
Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Hello,

Actually the 'Adjustment Entry' should not have partners. It was a decision we took at revision 6951 in 7.0.
The adjustment entries are made to balance the move when you have a difference between credit and debit.

In your video you have a difference as you have not set a debit account so we had to create an adjustment to make sure the move is balanced. Raising an error would have probably been a good solution too in this case (you need to have the two accounts).

Regards

Changed in openobject-addons:
status: New → Invalid
importance: Undecided → Wishlist
Revision history for this message
Moisés López - http://www.vauxoo.com (moylop260) wrote :

Hello @Martin,
The adjustment is ok.

The real problem is:
We have a account of taxes to employee named "ISR"
Then we need a accountant report of how much have this account by partner (employee).
And in some cases we need set a partner different (for example government), we need make a payable account to partner government.

We are creating a new branch with this changes:
https://code.launchpad.net/~vauxoo/openobject-addons/trunk-add_partner_field_hr_salary_rule_vauxoo_dev_ernesto

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.