mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[ADD] account_reconcile_show_boolean
This commit is contained in:
35
account_reconcile_show_boolean/README.rst
Normal file
35
account_reconcile_show_boolean/README.rst
Normal file
@@ -0,0 +1,35 @@
|
||||
**This file is going to be generated by oca-gen-addon-readme.**
|
||||
|
||||
*Manual changes will be overwritten.*
|
||||
|
||||
Please provide content in the ``readme`` directory:
|
||||
|
||||
* **DESCRIPTION.rst** (required)
|
||||
* INSTALL.rst (optional)
|
||||
* CONFIGURE.rst (optional)
|
||||
* **USAGE.rst** (optional, highly recommended)
|
||||
* DEVELOP.rst (optional)
|
||||
* ROADMAP.rst (optional)
|
||||
* HISTORY.rst (optional, recommended)
|
||||
* **CONTRIBUTORS.rst** (optional, highly recommended)
|
||||
* CREDITS.rst (optional)
|
||||
|
||||
Content of this README will also be drawn from the addon manifest,
|
||||
from keys such as name, authors, maintainers, development_status,
|
||||
and license.
|
||||
|
||||
A good, one sentence summary in the manifest is also highly recommended.
|
||||
|
||||
|
||||
Automatic changelog generation
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
`HISTORY.rst` can be auto generated using `towncrier <https://pypi.org/project/towncrier>`_.
|
||||
|
||||
Just put towncrier compatible changelog fragments into `readme/newsfragments`
|
||||
and the changelog file will be automatically generated and updated when a new fragment is added.
|
||||
|
||||
Please refer to `towncrier` documentation to know more.
|
||||
|
||||
NOTE: the changelog will be automatically generated when using `/ocabot merge $option`.
|
||||
If you need to run it manually, refer to `OCA/maintainer-tools README <https://github.com/OCA/maintainer-tools>`_.
|
||||
1
account_reconcile_show_boolean/__init__.py
Normal file
1
account_reconcile_show_boolean/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
22
account_reconcile_show_boolean/__manifest__.py
Normal file
22
account_reconcile_show_boolean/__manifest__.py
Normal file
@@ -0,0 +1,22 @@
|
||||
# Copyright 2021 Le Filament (https://le-filament.com)
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
{
|
||||
"name": "account_reconcile_show_boolean",
|
||||
"summary": "Allows to create reconciliable accounts by showing boolean on form view",
|
||||
"version": "14.0.1.0.0",
|
||||
"development_status": "Beta",
|
||||
"category": "Accounting",
|
||||
"website": "https://github.com/OCA/account-financial-tools",
|
||||
"author": "Le Filament, Odoo Community Association (OCA)",
|
||||
"maintainers": ["remi-filament"],
|
||||
"license": "AGPL-3",
|
||||
"application": False,
|
||||
"installable": True,
|
||||
"preloadable": True,
|
||||
"depends": [
|
||||
"account",
|
||||
],
|
||||
"data": [
|
||||
"views/account_account_view.xml",
|
||||
],
|
||||
}
|
||||
1
account_reconcile_show_boolean/readme/CONTRIBUTORS.rst
Normal file
1
account_reconcile_show_boolean/readme/CONTRIBUTORS.rst
Normal file
@@ -0,0 +1 @@
|
||||
* remi-filament (https://le-filament.com)
|
||||
6
account_reconcile_show_boolean/readme/DESCRIPTION.rst
Normal file
6
account_reconcile_show_boolean/readme/DESCRIPTION.rst
Normal file
@@ -0,0 +1,6 @@
|
||||
This module allows to create payable / receivable account from partner (in particular)
|
||||
by showing the Reconcile boolean on account.account form view.
|
||||
Without this, the account you would create would not be reconciliable
|
||||
and therefore would create issues when invoicing (invoices would automatically be marked as paid).
|
||||
|
||||
This should have been part of Odoo core but was refused in https://github.com/odoo/odoo/pull/80778
|
||||
5
account_reconcile_show_boolean/readme/USAGE.rst
Normal file
5
account_reconcile_show_boolean/readme/USAGE.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
To use this module, you need to have full accounting rights, then :
|
||||
|
||||
#. Go to a partner
|
||||
#. Navigate to Accounting
|
||||
#. Create a payable / receivable account from there
|
||||
BIN
account_reconcile_show_boolean/static/description/icon.png
Normal file
BIN
account_reconcile_show_boolean/static/description/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
79
account_reconcile_show_boolean/static/description/icon.svg
Normal file
79
account_reconcile_show_boolean/static/description/icon.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 45 KiB |
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2021 Le Filament (https://le-filament.com)
|
||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||
<odoo>
|
||||
|
||||
<record id="view_account_form" model="ir.ui.view">
|
||||
<field name="name">My view description</field>
|
||||
<field name="model">account.account</field>
|
||||
<field name="inherit_id" ref="account.view_account_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="user_type_id" position="after">
|
||||
<field
|
||||
name="reconcile"
|
||||
attrs="{'invisible': ['|', ('internal_type','=','liquidity'), ('internal_group', '=', 'off_balance')]}"
|
||||
/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
@@ -0,0 +1 @@
|
||||
../../../../account_reconcile_show_boolean
|
||||
6
setup/account_reconcile_show_boolean/setup.py
Normal file
6
setup/account_reconcile_show_boolean/setup.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['setuptools-odoo'],
|
||||
odoo_addon=True,
|
||||
)
|
||||
Reference in New Issue
Block a user