mirror of
https://github.com/bringout/oca-payment.git
synced 2026-04-21 11:22:04 +02:00
Initial commit: OCA payment modules from bank-payment
- account_payment_mode: Payment methods configuration
- account_payment_partner: Link payment modes to partners
- account_payment_order: Create and manage payment orders
- account_payment_order_grouped_output: Consolidated accounting entries
Source: OCA/bank-payment branch 16.0
License: AGPL-3.0
🤖 assisted by claude
This commit is contained in:
commit
99c650f4f5
204 changed files with 77191 additions and 0 deletions
87
CLAUDE.md
Normal file
87
CLAUDE.md
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
# OCA Payment Modules - Development Notes
|
||||
|
||||
## Source Information
|
||||
|
||||
**Upstream Repository:** https://github.com/OCA/bank-payment
|
||||
**Branch:** 16.0
|
||||
**Clone Date:** 2025-11-12
|
||||
**License:** AGPL-3.0
|
||||
|
||||
## Package Structure
|
||||
|
||||
Each package contains a single Odoo module from OCA/bank-payment:
|
||||
|
||||
```
|
||||
packages/
|
||||
├── odoo-bringout-oca-payment-payment_mode/
|
||||
│ └── account_payment_mode/ # Odoo module
|
||||
├── odoo-bringout-oca-payment-payment_partner/
|
||||
│ └── account_payment_partner/ # Odoo module
|
||||
├── odoo-bringout-oca-payment-payment_order/
|
||||
│ └── account_payment_order/ # Odoo module
|
||||
└── odoo-bringout-oca-payment-payment_order_grouped_output/
|
||||
└── account_payment_order_grouped_output/ # Odoo module
|
||||
```
|
||||
|
||||
## Module Dependencies
|
||||
|
||||
```
|
||||
account_payment_mode (base)
|
||||
↓
|
||||
account_payment_partner
|
||||
↓
|
||||
account_payment_order
|
||||
↓
|
||||
account_payment_order_grouped_output
|
||||
```
|
||||
|
||||
## Deployment
|
||||
|
||||
### Local Development
|
||||
```bash
|
||||
# Sync to odoonix
|
||||
~/src/bringout/0/scripts/odoonix_rsync.py account_payment_mode
|
||||
~/src/bringout/0/scripts/odoonix_rsync.py account_payment_partner
|
||||
~/src/bringout/0/scripts/odoonix_rsync.py account_payment_order
|
||||
~/src/bringout/0/scripts/odoonix_rsync.py account_payment_order_grouped_output
|
||||
```
|
||||
|
||||
### Production
|
||||
```bash
|
||||
# Install in order:
|
||||
~/src/bringout/0/scripts/upgrade_production_nix_service.py \
|
||||
--module account_payment_mode \
|
||||
--module account_payment_partner \
|
||||
--module account_payment_order \
|
||||
--module account_payment_order_grouped_output \
|
||||
--install
|
||||
```
|
||||
|
||||
## Use Case
|
||||
|
||||
**Problem:** Merge multiple payments to same supplier into one payment order
|
||||
|
||||
**Solution:** Use `account_payment_order` to create payment orders that group multiple invoices
|
||||
|
||||
**Workflow:**
|
||||
1. Go to: Accounting → Payments → Payment Orders
|
||||
2. Create new payment order
|
||||
3. Select move lines (invoices) from same supplier
|
||||
4. Confirm → Creates grouped payment
|
||||
5. Optional: Use grouped_output for consolidated accounting moves
|
||||
|
||||
## Upstream Updates
|
||||
|
||||
To update from OCA:
|
||||
```bash
|
||||
cd /tmp
|
||||
git clone -b 16.0 https://github.com/OCA/bank-payment.git
|
||||
# Compare and merge changes manually
|
||||
```
|
||||
|
||||
## Author
|
||||
|
||||
**Developer:** Ernad Husremović (hernad@bring.out.ba)
|
||||
**Company:** bring.out.doo Sarajevo, BiH
|
||||
**Website:** https://www.bring.out.ba
|
||||
**Date:** 2025-11-12
|
||||
Loading…
Add table
Add a link
Reference in a new issue