Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][WIP] account_factoring_receivable_balance #555

Open
wants to merge 61 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 59 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
cda54e5
[ADD] 15.0 module base_factoring
bealdav Jul 1, 2022
6c2ac59
[ADD] 15.0 module account_factoring_receivable_balance
bealdav Jul 1, 2022
5f68206
[ADD] 15.0 module account_factoring_receivable_balance_bpce
bealdav Jul 1, 2022
f971a03
ADD translations
bealdav Jul 1, 2022
1076ff5
FIX acc_facto_balance: remove useless code
bealdav Jul 1, 2022
ed63212
FIX acc_facto_balance: add check on _get_bank_journal()
bealdav Jul 2, 2022
30f2d8d
IMP acc_facto: remove server action, filter with target date, transla…
bealdav Jul 8, 2022
6e5f8a3
FIX acc_facto_balance: remove subrog_id from domain
bealdav Jul 12, 2022
6828935
FIX acc_facto_balance: link move lines with m2m instead of o2m
bealdav Jul 23, 2022
0170694
IMP acc_facto: view, compute balance while calculating
bealdav Jul 26, 2022
1240f49
IMP acc_facto: set balance in vals instead of self.balance
bealdav Dec 13, 2022
06f64b3
UPD with precommit
bealdav Jan 5, 2023
2f18f2b
FIX acc_facto_balance: field collision with acc_paym_order
bealdav Sep 8, 2023
73f6cfb
FIX acc_facto_balance: _get_company()
bealdav Sep 10, 2023
0be85a2
FIX facto_bpce: error field on move
bealdav Oct 9, 2023
575638c
FIX facto_bpce: env.company, instead of env.user.company_id
bealdav Oct 9, 2023
3638180
FIX facto_receiv: typo
bealdav Dec 15, 2023
9422c27
[REF] pre-commit: copier update
dreispt May 26, 2024
e47edfb
[IMP] account_factoring_receivable_balance: pre-commit execution
dreispt May 26, 2024
948e2c4
[MIG] account_factoring_receivable_balance: Migration to 17.0
dreispt May 26, 2024
016f7c2
[IMP] account_factoring_receivable_balance_bpce: pre-commit execution
dreispt May 26, 2024
019335a
[MIG] account_factoring_receivable_balance_bpce: Migration to 17.0
dreispt May 26, 2024
c2966d0
[REF] account_factoring_receivable_balance: merge base_factor in this…
dreispt May 26, 2024
a4fe03e
[REF] account_factoring_receivable_balance_bpce: removed base_factoring
dreispt May 26, 2024
ca480ae
[FIX] account_factoring_receivable_balance: pre-commit fixes
dreispt Jun 7, 2024
0929bf6
[FIX] account_factoring_receivable_balance_bpce: pre-commit fixes
dreispt Jun 7, 2024
30c5c5e
[REF] account_factoring_receivable_balance_bpce: moved code from the …
dreispt Jun 7, 2024
bf68746
[REF] account_factoring_receivable_balance: Factor configs moved to J…
dreispt Jun 7, 2024
3223237
[ADD] account_factoring_receivable_balance_factofrance: FactoFrance F…
dreispt Jun 7, 2024
25cf100
[ADD] account_factoring_receivable_balance_factofrance: FactoFrance F…
dreispt Jun 10, 2024
1bea495
[IMP] Improved code based on Factoring Integration (T-36844)
Nikul-OSI Jun 10, 2024
1b89340
[ADD] Added code generate the .txt file.
Murtaza-OSI Jun 11, 2024
b8e1d6d
[IMP] Imporved the code for .TXT file generation.
Murtaza-OSI Jun 12, 2024
1e27989
[FIX] account_factoring_receivable_balance
max3903 Jun 12, 2024
8bb622b
[FIX] account_factoring_receivable_balance_factofrance
max3903 Jun 12, 2024
71345b5
[IMP] Code.
Murtaza-OSI Jun 13, 2024
449dea1
[UPD] Update cide for Payment Line.
Murtaza-OSI Jun 13, 2024
a83806e
[FIX] account_factoring_receivable_balance
max3903 Jun 14, 2024
85e331e
[FIX] account_factoring_receivable_balance
max3903 Jun 14, 2024
a731c79
[FIX] account_factoring_receivable_balance_bpce
max3903 Jun 14, 2024
726d46d
[FIX] account_factoring_receivable_balance_factofrance
max3903 Jun 14, 2024
ad64f7d
[ADD] Added code create the payment file.
Murtaza-OSI Jun 14, 2024
f233df5
[IMP] IMP code.
Murtaza-OSI Jun 14, 2024
a25c3b8
[IMP] Invoice Due Date.
Murtaza-OSI Jun 14, 2024
8381d65
[FIX] account_factoring_receivable_balance_factofrance
max3903 Jun 15, 2024
7625047
Merge branch '17-dr-factofrance' of git+ssh://github.com/ursais/l10n-…
max3903 Jun 15, 2024
b7dfa06
[FIX] account_factoring_receivable_balance
max3903 Jun 17, 2024
6d444d2
[IMP] Imporved the code.
Murtaza-OSI Jun 25, 2024
bfebb9f
[FIX] Pre-commit.
Murtaza-OSI Jun 25, 2024
86dd4e4
[FIX] account_factoring_receivable_balance_factofrance
dreispt Jul 4, 2024
9830078
[FIX] account_factoring_receivable_balance_factofrance: Constraint mi…
RLeeOSI Jul 9, 2024
df18a1c
Merge pull request #1 from ursais/rl-fix-factofrance
RLeeOSI Jul 9, 2024
ada93fa
[WIP] account_factoring_receivable_balance
dreispt Jul 16, 2024
210df92
[WIP] account_factoring_receivable_balance_factofrance
dreispt Jul 16, 2024
24a95cb
[FIX] account_factoring_receivable_balance: remove item_ids
dreispt Jul 16, 2024
82e5000
[FIX] account_factoring_receivable_balance_factofrance: remove item_ids
dreispt Jul 16, 2024
422b155
[WIP] account_factoring_receivable_balance_factofrance
dreispt Jul 30, 2024
549f4b3
[WIP] account_factoring_receivable_balance
dreispt Jul 30, 2024
9f653e3
[WIP] account_factoring_receivable_balance_factofrance
dreispt Jul 30, 2024
c9fec06
[FIX] account_factoring_receivable_balance_factofrance: convert unico…
dreispt Aug 28, 2024
a0ab5df
[FIX] account_factoring_receivable_balance_factofrance: payments use …
dreispt Sep 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
153 changes: 153 additions & 0 deletions account_factoring_receivable_balance/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
====================================
Account Factoring Receivable Balance
====================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f83b4e457e88c47bbaaf7466d0fe78b4b388825dbfcc675626c326ae91716e89
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--france-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-france/tree/17.0/account_factoring_receivable_balance
:alt: OCA/l10n-france
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-france-17-0/l10n-france-17-0-account_factoring_receivable_balance
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-france&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

see account_factoring_receivable_balance_bpce module

**Table of contents**

.. contents::
:local:

Configuration
=============

To implement your own factor connector, see
account_factoring_receivable_balance_bpce module.

At the minimum, you have to define this Subrogation code

.. code:: python

class SubrogationReceipt(models.Model):
_inherit = "subrogation.receipt"

def _prepare_factor_file_myownfactor(self):
self.ensure_one
name = "myown_file.txt"
return {
"name": name,
"res_id": self.id,
"res_model": self._name,
"datas": self._prepare_factor_file_data_myownfactor(),
}

def _prepare_factor_file_data_myownfactor(self):
...
return base64.b64encode(data)

def _get_partner_field(self):
res = super()._get_partner_field()
if self.factor_type == "myownfactor":
return "myownfactor_factoring_balance"
return res

this journal code

.. code:: python

class AccountJournal(models.Model):
_inherit = "account.journal"

factor_type = fields.Selection(
selection_add=[("myownfactor", "MyOwnFactor")], ondelete={"myownfactor": "set null"}
)

this partner code

.. code:: python

class ResPartner(models.Model):
_inherit = "res.partner"

myownfactor_factoring_balance = fields.Boolean(
string="Use MyOwnFactor factoring balance",
groups="account.group_account_invoice",
company_dependent=True,
help="Use MyOwnFactor factoring receivable balance external service",
)

Usage
=====

see account_factoring_receivable_balance_bpce module

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-france/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-france/issues/new?body=module:%20account_factoring_receivable_balance%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Akretion

Contributors
------------

- Akretion:

- David BEAL
- Alexis DE LATTRE

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-bealdav| image:: https://github.com/bealdav.png?size=40px
:target: https://github.com/bealdav
:alt: bealdav
.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px
:target: https://github.com/alexis-via
:alt: alexis-via

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-bealdav| |maintainer-alexis-via|

This module is part of the `OCA/l10n-france <https://github.com/OCA/l10n-france/tree/17.0/account_factoring_receivable_balance>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions account_factoring_receivable_balance/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
26 changes: 26 additions & 0 deletions account_factoring_receivable_balance/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# © 2022 David BEAL @ Akretion
# © 2022 Alexis DE LATTRE @ Akretion

{
"name": "Account Factoring Receivable Balance",
"version": "17.0.1.0.0",
"category": "Accounting",
"license": "AGPL-3",
"author": "Akretion,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-france",
"maintainers": [
"bealdav",
"alexis-via",
],
"depends": [
"account",
],
"data": [
"security/ir.model.access.csv",
"security/misc.xml",
"views/account_journal.xml",
"views/account_move_line.xml",
"views/res_partner.xml",
"views/subrogation_receipt.xml",
],
}
Loading
Loading