Skip to Content
Menu
This question has been flagged
1 Reply
919 Views
When I want to pay my salary, the bank takes into account the total accounting entries instead of the "net payable" amount.
I customized Odoo Payroll v18 Online.
Avatar
Discard
Best Answer

Problem

Your bank is deducting the total accounting entries (gross salary + taxes + charges) instead of just the "Net à Payer" (net payable) amount when processing salary payments.

Step-by-Step Fix

1. Check the Salary Structure Configuration

Go to:

Payroll → Configuration → Salary Structures

  • Open your salary structure (e.g., PAIE TOGO).
  • Ensure "Accounting" tab settings:
    • Salary Journal: Should be linked to your bank journal.
    • Account for Net Salary: Should point to 42200000 Personnel, rémunération due.

2. Verify the Payment Method

Go to:

Accounting → Configuration → Payment Methods

  • Find your salary payment method (e.g., Manuel).
  • Ensure:
    • Payment Type: Outbound
    • Destination Account: 42200000 Personnel, rémunération due

3. Customize the Payment Action

Modify how payments are generated from payslips:

  1. Go to:
    Payroll → Payslips → [Open a Payslip]
  2. Before clicking "Create Payment":
    • Manually verify the "Net à Payer" amount matches the bank transfer.
  3. If needed, override the payment creation logic:
    python
    def action_create_payment(self):
        payment_vals = {
            'amount': self.net_wage,  # Force "Net à Payer" amount
            'journal_id': self.struct_id.journal_id.id,
        }
        return self.env['account.payment'].create(payment_vals)
    (Add this via a custom module if you’re comfortable with code.)

4. Test with a Demo Payslip

  1. Process a test payslip.
  2. Confirm the payment created only includes the net amount (408,941 CFA in your example).
Why This Happens
  • Odoo’s default behavior sometimes uses total accounting entries for payment reconciliation.
  • The "Net à Payer" line (42200000) is the correct amount for bank transfers.
Prevent Future Issues

✅ Always review payslip payments before confirming.

✅ Train HR/Accounting teams to validate the "Net à Payer" column.

✅ Consider a custom module to automate net-wage payments.

🚀 Did This Solve Your Problem?

If this answer helped you save time, money, or frustration, consider:

✅ Upvoting (👍) to help others find it faster

✅ Marking as "Best Answer" if it resolved your issue

Your feedback keeps the Odoo community strong! 💪

(Need further customization? Drop a comment—I’m happy to refine the solution!)


Avatar
Discard
Author

Thank you for your reply, but I can't find my pay slip in my Odoo Online Standard.
Translate it into English.

Related Posts Replies Views Activity
1
Mar 25
1100
0
Feb 25
1283
1
Dec 24
1780
0
Nov 24
108
1
Jul 24
5249