Skip to content

Latest commit

 

History

History

README.rst

Odoo Community Association

Account Listeners

Beta License: LGPL-3 OCA/edi-framework Translate me on Weblate Try me on Runboat

In order to add a new integration for an account, you need to create a listener:

class MyEventListener(Component):
    _name = "account.move.event.listener.demo"
    _inherit = "base.event.listener"
    _apply_on = ["account.move"]

    def on_post_account_move(self, move):
        """Add your code here about creation of record"""

A skip if decorator can be added in order to make some checks on the state of the move

Table of contents

Bugs are tracked on GitHub 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.

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

  • Dixmit

This module is maintained by the OCA.

Odoo Community Association

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.

Current maintainer:

etobella

This module is part of the OCA/edi-framework project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.