feat: initialize account_shared_bank_cash module with metadata and ignore files
This commit is contained in:
parent
992603e080
commit
5caa96c1e3
18
.gitignore
vendored
Normal file
18
.gitignore
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
# Python
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
__pycache__/
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# IDE / Editors
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# Odoo specific
|
||||
*.pot
|
||||
15
README.md
Normal file
15
README.md
Normal file
@ -0,0 +1,15 @@
|
||||
# Account Shared Bank Cash
|
||||
|
||||
## Overview
|
||||
This custom Odoo 19 module removes the standard restriction that prevents Chart of Accounts (COA) of type **Bank and Cash** (`asset_cash`) from being shared across multiple companies.
|
||||
|
||||
By default, Odoo restricts a Bank and Cash account to a single company. This module patches `_check_company_consistency` on the `account.account` model to allow you to configure multiple companies for a single Bank/Cash account. This is particularly useful for setups where multiple Point of Sale (POS) shops across different companies deposit into the same physical bank account or cash account.
|
||||
|
||||
## Features
|
||||
- Overrides `account.account` company validation to allow `len(company_ids) > 1` on `asset_cash` accounts.
|
||||
- Ensures POS payments and closing entries seamlessly use the shared account.
|
||||
|
||||
> **Warning:** While POS and other payments will post to the shared account flawlessly, Odoo's standard Bank Statement Reconciliation strictly requires that statements and journal lines belong to the exact same company. Therefore, you cannot perform cross-company bank reconciliation natively in a single screen.
|
||||
|
||||
## Author
|
||||
- **Suherdy Yacob**
|
||||
@ -7,7 +7,7 @@
|
||||
'description': """
|
||||
This module removes the standard restriction that prevents Chart of Accounts (COA) of type 'Bank and Cash' from being shared across multiple companies.
|
||||
""",
|
||||
'author': 'Antigravity',
|
||||
'author': 'Suherdy Yacob',
|
||||
'depends': ['account'],
|
||||
'data': [],
|
||||
'installable': True,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user