trytond-account-statement-rule


Nametrytond-account-statement-rule JSON
Version 6.8.0 PyPI version JSON
download
home_pagehttp://www.tryton.org/
SummaryTryton module to automate statement import with rules
upload_time2023-05-01 12:04:43
maintainer
docs_urlNone
authorTryton
requires_python>=3.8
licenseGPL-3
keywords tryton statement import rule
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Account Statement Rule Module
#############################

The account_statement_rule module allows rules to be defined to complete
statement lines from imported files.
When the "Apply Rule" button is clicked on a statement, each rule is tested in
order against each origin that does not have any lines until one is found that
matches. Then the rule found is used to create the statement lines linked to
the origin.

Rule
****

A rule is composed of two parts: matching criteria and lines.

Criteria
--------

The criteria are matched with each origin of the statement:

    * Company
    * Journal
    * Amount: Check if the amount is between two values
    * Description: `A regular expression
      <https://docs.python.org/library/re.html#regular-expression-syntax>`_ to
      search for a match in the origin description.
    * Information rules:

        * Key: the statement information key on which the rule applies
        * The matching value depending of the type of the key:

            * Boolean
            * Numeric: A range of value.
            * Char: A regular expression.
            * Selection

The regular expression can register the group names ``party``, ``bank_account``
and ``invoice`` which are later used to search for a party and an invoice.

Lines
-----

They define how to create the statement lines from the matching origin:

    * Amount: A Python expression evaluated with:
        * ``amount``: the amount of the origin.
        * ``pending``: the amount from which previous lines have been deducted.
    * Party
    * Account

If the party is not filled in, one will be searched for using the
``bank_account`` or the ``party`` group names from the regular expressions.
If the ``invoice`` group name appears in a regular expression, it will be used
to find an invoice to link with.

            

Raw data

            {
    "_id": null,
    "home_page": "http://www.tryton.org/",
    "name": "trytond-account-statement-rule",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "tryton statement import rule",
    "author": "Tryton",
    "author_email": "foundation@tryton.org",
    "download_url": "https://files.pythonhosted.org/packages/6f/0a/31e431cce7050cade5ad81be1e5d4bb05193621fc6408715671cca22867f/trytond_account_statement_rule-6.8.0.tar.gz",
    "platform": null,
    "description": "Account Statement Rule Module\n#############################\n\nThe account_statement_rule module allows rules to be defined to complete\nstatement lines from imported files.\nWhen the \"Apply Rule\" button is clicked on a statement, each rule is tested in\norder against each origin that does not have any lines until one is found that\nmatches. Then the rule found is used to create the statement lines linked to\nthe origin.\n\nRule\n****\n\nA rule is composed of two parts: matching criteria and lines.\n\nCriteria\n--------\n\nThe criteria are matched with each origin of the statement:\n\n    * Company\n    * Journal\n    * Amount: Check if the amount is between two values\n    * Description: `A regular expression\n      <https://docs.python.org/library/re.html#regular-expression-syntax>`_ to\n      search for a match in the origin description.\n    * Information rules:\n\n        * Key: the statement information key on which the rule applies\n        * The matching value depending of the type of the key:\n\n            * Boolean\n            * Numeric: A range of value.\n            * Char: A regular expression.\n            * Selection\n\nThe regular expression can register the group names ``party``, ``bank_account``\nand ``invoice`` which are later used to search for a party and an invoice.\n\nLines\n-----\n\nThey define how to create the statement lines from the matching origin:\n\n    * Amount: A Python expression evaluated with:\n        * ``amount``: the amount of the origin.\n        * ``pending``: the amount from which previous lines have been deducted.\n    * Party\n    * Account\n\nIf the party is not filled in, one will be searched for using the\n``bank_account`` or the ``party`` group names from the regular expressions.\nIf the ``invoice`` group name appears in a regular expression, it will be used\nto find an invoice to link with.\n",
    "bugtrack_url": null,
    "license": "GPL-3",
    "summary": "Tryton module to automate statement import with rules",
    "version": "6.8.0",
    "project_urls": {
        "Bug Tracker": "https://bugs.tryton.org/",
        "Documentation": "https://docs.tryton.org/",
        "Download": "http://downloads.tryton.org/6.8/",
        "Forum": "https://www.tryton.org/forum",
        "Homepage": "http://www.tryton.org/",
        "Source Code": "https://code.tryton.org/tryton"
    },
    "split_keywords": [
        "tryton",
        "statement",
        "import",
        "rule"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bb509063979d5557983f343c4cbf768b524fea3d33880b62dc06273d16cdca81",
                "md5": "82dc822b33d0ade51306f998905b4152",
                "sha256": "0a6bce63a5fc13bdef5a681cae99b78c335a5ff02ff756fd69339e66661099ce"
            },
            "downloads": -1,
            "filename": "trytond_account_statement_rule-6.8.0-py3-none-any.whl",
            "has_sig": true,
            "md5_digest": "82dc822b33d0ade51306f998905b4152",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 56329,
            "upload_time": "2023-05-01T12:04:41",
            "upload_time_iso_8601": "2023-05-01T12:04:41.833156Z",
            "url": "https://files.pythonhosted.org/packages/bb/50/9063979d5557983f343c4cbf768b524fea3d33880b62dc06273d16cdca81/trytond_account_statement_rule-6.8.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6f0a31e431cce7050cade5ad81be1e5d4bb05193621fc6408715671cca22867f",
                "md5": "091ea24938e0620ca62572ba28dde307",
                "sha256": "07e693c7210909ba33802eea3d5f43722df7b2db8f174bbf1d0d0209cfc97d1d"
            },
            "downloads": -1,
            "filename": "trytond_account_statement_rule-6.8.0.tar.gz",
            "has_sig": true,
            "md5_digest": "091ea24938e0620ca62572ba28dde307",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 33087,
            "upload_time": "2023-05-01T12:04:43",
            "upload_time_iso_8601": "2023-05-01T12:04:43.608256Z",
            "url": "https://files.pythonhosted.org/packages/6f/0a/31e431cce7050cade5ad81be1e5d4bb05193621fc6408715671cca22867f/trytond_account_statement_rule-6.8.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-01 12:04:43",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "trytond-account-statement-rule"
}
        
Elapsed time: 0.06257s