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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
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:
- Go to:
Payroll → Payslips → [Open a Payslip] - Before clicking "Create Payment":
- Manually verify the "Net à Payer" amount matches the bank transfer.
- If needed, override the payment creation logic:
pythondef 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
- Process a test payslip.
- 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!)
Thank you for your reply, but I can't find my pay slip in my Odoo Online Standard.
Translate it into English.
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
0
8月 25
|
138 | ||
|
1
3月 25
|
1304 | ||
|
0
2月 25
|
1568 | ||
|
1
12月 24
|
1944 | ||
|
0
11月 24
|
108 |