Sale Subscription Module
########################
The sale subscription module defines subscription, services and recurrence rule
models.
Subscription
************
A subscription defines how some recurring services are periodically invoiced.
The invoice is generated based on the consumption of each services. Here is the
extensive list of the fields:
- Party: The customer.
- Contact: The contact who placed the order.
- Invoice Party: An optional different party to invoice.
- Invoice Address: The invoice address of the customer.
- Number: The internal reference of the subscription.
- Reference: The optional external reference of the subscription.
- Description: An optional description for the subscription.
- Start Date: The date at which the subscription starts.
- End Date: The optional end date of the subscription.
- Invoice Start Date: The date at which the invoice starts to be generated.
- Invoice Recurrence: The definition of the invoicing recurrence.
- Payment Term: The payment term to apply on the invoices.
- Currency: Define the currency to use for the subscription. All service prices
will be computed accordingly.
- Lines:
- Service: A required reference to the service subscribed.
- Description: The description of the service subscribed.
- Consumption Recurrence: The optional recurrence of consumption of the
service.
- Quantity: The quantity consumed on each occurrence.
- Unit: The unit of measure of the quantity.
- Unit Price: The unit price of the service expressed in the currency of
the subscription.
- Start Date: An optional later start date than the subscription.
- End Date: An optional earlier end date than the subscription.
- States: The state of the subscription. May take one of the following values:
Draft, Quotation, Running, Closed, Cancelled.
- Company: The company which issue the sale order.
A running subscription can be modified by going back to draft and edit. Some
field may not more be editable if the consumption has already started.
The draft subscription is momentary stopped until it is set back to running.
The consumptions are created by schedulers or by a wizard.
Idem for the creation of the invoices.
Service
*******
A subscription service defines the default consumption of a product. It is
composed of the fields:
- Product: A product of type service.
- Consumption Recurrence: The recurrence at which the service is consumed.
- Consumption Delay: A delay to apply between the date the consumption is
created and the date of the consumption.
Recurrence Rule
***************
It defines combination of rules which compute the occurrence dates.
- Name: The name of the rule.
- Rules:
- Exclusive: Define if the rule excludes the resulted dates.
- Frequency: Daily, Weekly, Monthly, Yearly.
- Interval: The interval of the frequency
- By Week Day: Defines the list of weekdays where the recurrence will be
applied.
- By Month Day: Defines the list of month days to apply the recurrence to.
- By Year Day: Defines the list of year days to apply the recurrence to.
- By Week Number: Defines the list of week numbers (ISO8601) to apply the
recurrence to.
- By Month: Defines the list of months to apply the recurrence to.
- By Position: Defines the list of occurrence positions.
- Week Start Day.
The computation of occurrences is base on the `python-dateutil library`_.
.. _`python-dateutil library`: https://dateutil.readthedocs.io/en/stable/rrule.html
Raw data
{
"_id": null,
"home_page": "http://www.tryton.org/",
"name": "trytond-sale-subscription",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "tryton sale subscription",
"author": "Tryton",
"author_email": "foundation@tryton.org",
"download_url": "https://files.pythonhosted.org/packages/e1/74/a4cbeb10a9b66c4b3f33cb5364de0022382226c41b83149c78b4f096c781/trytond_sale_subscription-7.4.0.tar.gz",
"platform": null,
"description": "Sale Subscription Module\n########################\n\nThe sale subscription module defines subscription, services and recurrence rule\nmodels.\n\nSubscription\n************\n\nA subscription defines how some recurring services are periodically invoiced.\nThe invoice is generated based on the consumption of each services. Here is the\nextensive list of the fields:\n\n- Party: The customer.\n- Contact: The contact who placed the order.\n- Invoice Party: An optional different party to invoice.\n- Invoice Address: The invoice address of the customer.\n- Number: The internal reference of the subscription.\n- Reference: The optional external reference of the subscription.\n- Description: An optional description for the subscription.\n- Start Date: The date at which the subscription starts.\n- End Date: The optional end date of the subscription.\n- Invoice Start Date: The date at which the invoice starts to be generated.\n- Invoice Recurrence: The definition of the invoicing recurrence.\n- Payment Term: The payment term to apply on the invoices.\n- Currency: Define the currency to use for the subscription. All service prices\n will be computed accordingly.\n- Lines:\n\n - Service: A required reference to the service subscribed.\n - Description: The description of the service subscribed.\n - Consumption Recurrence: The optional recurrence of consumption of the\n service.\n - Quantity: The quantity consumed on each occurrence.\n - Unit: The unit of measure of the quantity.\n - Unit Price: The unit price of the service expressed in the currency of\n the subscription.\n - Start Date: An optional later start date than the subscription.\n - End Date: An optional earlier end date than the subscription.\n\n- States: The state of the subscription. May take one of the following values:\n Draft, Quotation, Running, Closed, Cancelled.\n- Company: The company which issue the sale order.\n\nA running subscription can be modified by going back to draft and edit. Some\nfield may not more be editable if the consumption has already started.\nThe draft subscription is momentary stopped until it is set back to running.\n\nThe consumptions are created by schedulers or by a wizard.\nIdem for the creation of the invoices.\n\nService\n*******\n\nA subscription service defines the default consumption of a product. It is\ncomposed of the fields:\n\n- Product: A product of type service.\n- Consumption Recurrence: The recurrence at which the service is consumed.\n- Consumption Delay: A delay to apply between the date the consumption is\n created and the date of the consumption.\n\nRecurrence Rule\n***************\n\nIt defines combination of rules which compute the occurrence dates.\n\n- Name: The name of the rule.\n- Rules:\n\n - Exclusive: Define if the rule excludes the resulted dates.\n - Frequency: Daily, Weekly, Monthly, Yearly.\n - Interval: The interval of the frequency\n - By Week Day: Defines the list of weekdays where the recurrence will be\n applied.\n - By Month Day: Defines the list of month days to apply the recurrence to.\n - By Year Day: Defines the list of year days to apply the recurrence to.\n - By Week Number: Defines the list of week numbers (ISO8601) to apply the\n recurrence to.\n - By Month: Defines the list of months to apply the recurrence to.\n - By Position: Defines the list of occurrence positions.\n - Week Start Day.\n\nThe computation of occurrences is base on the `python-dateutil library`_.\n\n.. _`python-dateutil library`: https://dateutil.readthedocs.io/en/stable/rrule.html\n",
"bugtrack_url": null,
"license": "GPL-3",
"summary": "Tryton module for subscription",
"version": "7.4.0",
"project_urls": {
"Bug Tracker": "https://bugs.tryton.org/",
"Documentation": "https://docs.tryton.org/",
"Download": "http://downloads.tryton.org/7.4/",
"Forum": "https://www.tryton.org/forum",
"Homepage": "http://www.tryton.org/",
"Source Code": "https://code.tryton.org/tryton"
},
"split_keywords": [
"tryton",
"sale",
"subscription"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cf0c49390563d8eb2a90fea66a1cf7596d711fe072ab1c3023fd604bccbc88c4",
"md5": "3531c9c4680db5333627fd6b32ffa5ac",
"sha256": "ca1aa6ffe2cb840c350f61fd9f2c20bbae8bee468089118c123268a4b59b62d8"
},
"downloads": -1,
"filename": "trytond_sale_subscription-7.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3531c9c4680db5333627fd6b32ffa5ac",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 118854,
"upload_time": "2024-11-04T17:42:08",
"upload_time_iso_8601": "2024-11-04T17:42:08.173041Z",
"url": "https://files.pythonhosted.org/packages/cf/0c/49390563d8eb2a90fea66a1cf7596d711fe072ab1c3023fd604bccbc88c4/trytond_sale_subscription-7.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e174a4cbeb10a9b66c4b3f33cb5364de0022382226c41b83149c78b4f096c781",
"md5": "bd8ab75a0f943878231f1f754b807577",
"sha256": "310ab885795d17dc18871e447425515a59ec95cb40db3050facb47821177cc72"
},
"downloads": -1,
"filename": "trytond_sale_subscription-7.4.0.tar.gz",
"has_sig": false,
"md5_digest": "bd8ab75a0f943878231f1f754b807577",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 69164,
"upload_time": "2024-11-04T17:42:09",
"upload_time_iso_8601": "2024-11-04T17:42:09.945325Z",
"url": "https://files.pythonhosted.org/packages/e1/74/a4cbeb10a9b66c4b3f33cb5364de0022382226c41b83149c78b4f096c781/trytond_sale_subscription-7.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-04 17:42:09",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "trytond-sale-subscription"
}