From 640165c19a7b6d556f0f0d309141bc5f2fe5cb9d Mon Sep 17 00:00:00 2001 From: Dorin Hongu Date: Tue, 4 Feb 2025 07:44:21 +0200 Subject: [PATCH 1/9] Add SMS provider integration with 4Pay and Wapi Introduced fields and logic to support SMS sending via 4Pay and Wapi providers. Updated IAP account model with necessary fields and implemented methods to handle provider-specific SMS transmission. Refactored SMS API logic to utilize the new `send_sms` method for enhanced flexibility. --- deltatech_sms/models/iap.py | 78 ++++++++++++++++++++++++++++++- deltatech_sms/models/sms_api.py | 28 ++++------- deltatech_sms/views/iap_views.xml | 4 +- 3 files changed, 90 insertions(+), 20 deletions(-) diff --git a/deltatech_sms/models/iap.py b/deltatech_sms/models/iap.py index b86f32692f..71f7ea0e06 100644 --- a/deltatech_sms/models/iap.py +++ b/deltatech_sms/models/iap.py @@ -3,9 +3,85 @@ # See README.rst file on addons root folder for license details from odoo import fields, models +import logging +import requests +_logger = logging.getLogger(__name__) class IapAccount(models.Model): _inherit = "iap.account" - endpoint = fields.Char() + + + sms_provider = fields.Selection([('4pay', 'SMS 4Pay'), ('wapi', 'SMS Wapi')], string="SMS Provider", required=True, + default="4pay") + sms_secret = fields.Char(string="SMS Secret") + sms_gateway = fields.Char(string="SMS Gateway") + + def send_sms(self, phone_number, message): + """Send SMS using IAP """ + response = {} + if self.sms_provider == '4pay': + response = self._send_sms_4pay(phone_number, message) + if self.sms_provider == 'wapi': + response = self._send_sms_wapi(phone_number, message) + return response + + def _send_sms_4pay(self, phone_number, message): + params = { + "servID": self.sms_gateway, + "msg_dst": phone_number, + "msg_text": message, + "API": "", + "password": self.sms_secret, + "external_messageID": 1 + } + result = requests.get('https://sms.4pay.ro/smscust/api.send_sms', params=params, timeout=60) + response = result.content.decode("utf-8") + + if "OK" not in response: + _logger.error(f"SMS: {response}") + res = { + "status": 500, + "message": response, + "data": False + } + else: + res = { + "status": 200, + "message": "Message has been queued for sending!", + "data": False + } + + return res + + def _send_sms_wapi(self, phone_number, message): + + # Define the endpoint and payload + url = "https://smswapi.com/api/send/sms" + data = { + "secret": self.sms_secret, + "mode": "devices", + "phone": phone_number, + "message": message, + 'device': self.sms_gateway, + "sim": 1 + } + + # Make the POST request + response = requests.post(url, data=data) + + res = response.json() + _logger.info(f"SMS: {res}") + + if response.status_code == 200: + res = response.json() + else: + res = { + "status": 500, + "message": response.content, + "data": False + } + + return res + diff --git a/deltatech_sms/models/sms_api.py b/deltatech_sms/models/sms_api.py index 7c896afb1c..c78da2d40e 100644 --- a/deltatech_sms/models/sms_api.py +++ b/deltatech_sms/models/sms_api.py @@ -16,26 +16,18 @@ class SmsApi(BaseSmsApi): def _contact_iap(self, local_endpoint, params, timeout=15): account = self.env["iap.account"].get("sms") + res = [] for message in params["messages"]: - res_value = {"state": "success"} - - endpoint = account.endpoint - if not endpoint: - res_value["state"] = "Endpoint is not defined." - - for number in message["numbers"]: - res_value["uuid"] = number["uuid"] - endpoint_number = endpoint.format(number=number["number"], content=message["content"]) - self.env.cr.execute("select unaccent(%s);", [endpoint_number]) - endpoint_unaccent = self.env.cr.fetchone()[0] - result = requests.get(endpoint_unaccent, timeout=60) - response = result.content.decode("utf-8") - - if "OK" not in response: - _logger.error(f"SMS: {response}") - res_value["state"] = "server_error" - res += [res_value] + res_value = {"state": "success", "res_id": message["res_id"]} + + response = account.send_sms(message["number"], message["content"]) + + if response['status'] != 200: + res_value["state"] = "server_error" + res_value["error"] = response['message'] + + res += [res_value] return res diff --git a/deltatech_sms/views/iap_views.xml b/deltatech_sms/views/iap_views.xml index 89d832f39f..c7b1653150 100644 --- a/deltatech_sms/views/iap_views.xml +++ b/deltatech_sms/views/iap_views.xml @@ -6,7 +6,9 @@ - + + + From eac46c537cd7e09a9bef66631479d6694440ecc2 Mon Sep 17 00:00:00 2001 From: Dorin Hongu Date: Tue, 4 Feb 2025 07:51:18 +0200 Subject: [PATCH 2/9] Standardize and update README formatting and metadata Unified formatting, corrected indentation, and adjusted content alignment across multiple README files. Updated maturity badges, GitHub links, and other metadata where applicable to ensure consistency and accuracy across modules. --- .ruff.toml | 6 +- README.md | 2 +- deltatech_actions/README.rst | 8 +- .../static/description/index.html | 4 +- deltatech_alternative/README.rst | 22 +- .../static/description/index.html | 8 +- deltatech_average_payment_period/README.rst | 10 +- deltatech_business_process/README.rst | 28 +- .../models/business_project.py | 1 - .../README.rst | 6 +- .../README.rst | 29 +- .../static/description/index.html | 36 +- deltatech_card_payment/README.rst | 4 +- deltatech_cash/README.rst | 6 +- deltatech_contact/README.rst | 9 +- .../static/description/index.html | 5 +- deltatech_credentials/README.rst | 4 +- deltatech_data_sheet/README.rst | 4 +- .../static/description/index.html | 4 +- deltatech_data_sheet_website/README.rst | 6 +- .../static/description/index.html | 6 +- deltatech_dc/README.rst | 6 +- deltatech_delivery_status/README.rst | 6 +- deltatech_expenses/README.rst | 8 +- .../static/description/index.html | 4 +- deltatech_expenses/tests/test_expenses.py | 3 +- deltatech_fast_sale/README.rst | 6 +- .../static/description/index.html | 4 +- deltatech_fleet/models/fleet_report.py | 3 +- deltatech_fleet/models/fleet_vehicle.py | 1 - deltatech_fleet/wizard/fleet_dist_report.py | 1 - deltatech_fleet_geo/README.rst | 4 +- .../static/description/index.html | 4 +- deltatech_followup/models/invoice_followup.py | 1 - .../README.rst | 2 +- deltatech_gln/README.rst | 4 +- deltatech_invoice_payment/README.rst | 4 +- deltatech_invoice_report/README.rst | 28 +- .../static/description/index.html | 4 +- deltatech_invoice_to_draft/README.rst | 8 +- .../tests/test_invoice_to_draft.py | 3 +- deltatech_invoice_weight/README.rst | 8 +- deltatech_ledger/README.rst | 4 +- deltatech_list_view/README.rst | 4 +- deltatech_logistic_docs/README.rst | 4 +- deltatech_lot/README.rst | 6 +- deltatech_move_negative_stock/README.rst | 30 +- deltatech_mrp/README.rst | 8 +- deltatech_mrp_bom/README.rst | 4 +- deltatech_mrp_bom/tests/test_mrp_bom.py | 4 +- deltatech_mrp_cost/README.rst | 4 +- deltatech_mrp_cost/tests/test_mrp_cost.py | 3 +- deltatech_mrp_simple/README.rst | 34 +- .../static/description/index.html | 8 +- deltatech_no_quick_create/README.rst | 4 +- deltatech_notification_sound/README.rst | 2 +- deltatech_packaging/README.rst | 4 +- deltatech_partner_discount/README.rst | 10 +- deltatech_partner_generic/README.rst | 2 +- .../README.rst | 10 +- deltatech_payment_report/README.rst | 12 +- deltatech_payment_term/README.rst | 2 +- .../models/account_payment_term.py | 1 - deltatech_payment_term_restrict/README.rst | 4 +- deltatech_picking_restrict/README.rst | 20 +- .../README.rst | 17 +- .../static/description/index.html | 9 +- deltatech_picking_services/README.rst | 4 +- deltatech_picking_split/README.rst | 2 +- deltatech_picking_transit/README.rst | 16 +- deltatech_portal_invoice/README.rst | 4 +- .../controllers/portal.py | 1 - deltatech_pos_decimal_numpad_dot/README.rst | 4 +- deltatech_pricelist_add_category/README.rst | 7 +- .../static/description/index.html | 7 +- deltatech_product_catalog/README.rst | 2 +- deltatech_product_category/README.rst | 8 +- deltatech_product_category_group/README.rst | 6 +- deltatech_product_code/README.rst | 8 +- deltatech_product_labels/README.rst | 12 +- .../static/description/index.html | 4 +- .../wizard/product_product_label_print.py | 3 +- deltatech_product_list/README.rst | 4 +- deltatech_product_margin/README.rst | 2 +- deltatech_product_trade_markup/README.rst | 8 +- deltatech_promissory_note/README.rst | 2 +- deltatech_property/README.rst | 2 +- deltatech_property_agreement/README.rst | 8 +- deltatech_purchase_price/README.rst | 59 ++- .../static/description/index.html | 35 +- deltatech_purchase_price_history/README.rst | 14 +- deltatech_purchase_refund/README.rst | 4 +- deltatech_purchase_stock/README.rst | 2 +- deltatech_purchase_xls/README.rst | 4 +- .../wizard/export_purchase_line.py | 1 - deltatech_queue_job/README.rst | 2 +- deltatech_ral/README.rst | 32 +- deltatech_ral/static/description/index.html | 12 +- deltatech_record_type/README.rst | 6 +- deltatech_replenish/README.rst | 4 +- deltatech_report_packaging/README.rst | 4 +- deltatech_report_prn/README.rst | 4 +- deltatech_report_prn/controllers/main.py | 6 +- deltatech_restricted_access/README.rst | 4 +- .../static/description/index.html | 4 +- deltatech_sale_add_extra_line/README.rst | 20 +- .../static/description/index.html | 10 +- deltatech_sale_add_extra_line_pos/README.rst | 15 +- .../readme/DESCRIPTION.md | 2 + .../readme/DESCRIPTION.rst | 2 - .../static/description/index.html | 11 +- deltatech_sale_commission/README.rst | 25 +- .../static/description/index.html | 7 +- deltatech_sale_contact/README.rst | 4 +- deltatech_sale_cost_product/README.rst | 2 +- deltatech_sale_feedback/README.rst | 22 +- .../models/account_invoice.py | 1 - deltatech_sale_followup/README.rst | 8 +- deltatech_sale_followup/models/sale_order.py | 1 - .../tests/test_sale_followup.py | 1 - deltatech_sale_margin/README.rst | 18 +- .../static/description/index.html | 4 +- deltatech_sale_multiple/README.rst | 13 +- .../static/description/index.html | 3 +- deltatech_sale_multiple_website/README.rst | 4 +- deltatech_sale_pallet/README.rst | 16 +- deltatech_sale_pallet_website/README.rst | 4 +- deltatech_sale_payment/README.rst | 4 +- deltatech_sale_phone/README.rst | 4 +- deltatech_sale_purchase/README.rst | 2 +- deltatech_sale_stage/README.rst | 4 +- deltatech_sale_transfer/README.rst | 6 +- .../static/description/index.html | 4 +- deltatech_saleorder_pickup_list/README.rst | 2 +- deltatech_saleorder_type/README.rst | 4 +- deltatech_select_journal/README.rst | 18 +- .../static/description/index.html | 6 +- deltatech_service_agreement/README.rst | 10 +- .../models/service_agreement.py | 1 - .../models/service_cycle.py | 1 - .../models/service_date_range.py | 1 - .../tests/test_equipment.py | 5 +- deltatech_service_equipment/README.rst | 16 +- .../models/service_equipment.py | 1 - .../tests/test_equipment.py | 3 +- deltatech_service_maintenance/README.rst | 10 +- .../README.rst | 2 +- deltatech_service_maintenance_plan/README.rst | 4 +- deltatech_sms/README.rst | 18 +- deltatech_sms/__manifest__.py | 2 +- deltatech_sms/models/iap.py | 47 +-- deltatech_sms/models/sms_api.py | 7 +- deltatech_sms/models/sms_sms.py | 3 +- deltatech_sms/static/description/index.html | 357 +----------------- deltatech_sms_sale/README.rst | 4 +- deltatech_stock_account/README.rst | 4 +- deltatech_stock_analytic/README.rst | 14 +- deltatech_stock_inventory/README.rst | 10 +- .../models/stock_inventory.py | 3 +- .../static/description/index.html | 4 +- deltatech_stock_negative/README.rst | 12 +- deltatech_stock_report/README.rst | 4 +- .../report/monthly_stock_report.py | 1 - deltatech_stock_reseller/README.rst | 10 +- deltatech_stock_sn/README.rst | 6 +- .../tests/test_stock_valuation.py | 4 +- deltatech_test_system/README.rst | 4 +- .../README.rst | 10 +- deltatech_utils/README.rst | 6 +- deltatech_vendor_stock/README.rst | 6 +- deltatech_warehouse_arrangement/README.rst | 2 +- deltatech_watermark/README.rst | 2 +- .../controllers/website_sale.py | 1 - .../README.rst | 14 +- .../controllers/main.py | 5 +- .../controllers/portal.py | 6 +- deltatech_website_breadcrumb/README.rst | 2 +- deltatech_website_category/README.rst | 2 +- deltatech_website_category/models/product.py | 1 - deltatech_website_checkout_confirm/README.rst | 2 +- .../controllers/website_sale.py | 3 +- deltatech_website_city/README.rst | 2 +- deltatech_website_city/controller/portal.py | 3 +- .../controller/website_sale.py | 3 +- deltatech_website_country/controllers/main.py | 3 +- .../README.rst | 10 +- .../controllers/main.py | 1 - .../controllers/portal.py | 3 +- .../controllers/website_sale.py | 3 +- .../tests/test_tours.py | 3 +- .../README.rst | 4 +- .../controllers/website_sale.py | 3 +- .../models/product_image.py | 1 - .../models/product_template.py | 1 - .../controllers/main.py | 3 +- deltatech_website_sale_portal/README.rst | 2 +- .../controllers/portal.py | 3 +- deltatech_website_sale_status/README.rst | 24 +- .../controllers/portal.py | 3 +- .../README.rst | 4 +- .../controller/main.py | 3 +- .../controllers/main.py | 3 +- .../README.rst | 2 +- deltatech_widget_fontawesome/README.rst | 2 +- deltatech_work_days_report/README.rst | 20 +- .../static/description/index.html | 4 +- .../wizard/export_working_days.py | 1 - 207 files changed, 695 insertions(+), 1137 deletions(-) create mode 100644 deltatech_sale_add_extra_line_pos/readme/DESCRIPTION.md delete mode 100644 deltatech_sale_add_extra_line_pos/readme/DESCRIPTION.rst diff --git a/.ruff.toml b/.ruff.toml index 232e2e3208..550805e035 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -21,16 +21,16 @@ exclude = ["setup/*"] [format] exclude = ["setup/*"] -[per-file-ignores] +[lint.per-file-ignores] "__init__.py" = ["F401", "I001"] # ignore unused and unsorted imports in __init__.py "__manifest__.py" = ["B018"] # useless expression -[isort] +[lint.isort] section-order = ["future", "standard-library", "third-party", "odoo", "odoo-addons", "first-party", "local-folder"] [isort.sections] "odoo" = ["odoo"] "odoo-addons" = ["odoo.addons"] -[mccabe] +[lint.mccabe] max-complexity = 50 diff --git a/README.md b/README.md index 1b7e64715d..ee89671060 100644 --- a/README.md +++ b/README.md @@ -165,7 +165,7 @@ addon | version | maintainers | summary | price [deltatech_service_maintenance](deltatech_service_maintenance/) | 17.0.1.1.7 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Services Maintenance | Free [deltatech_service_maintenance_agreement](deltatech_service_maintenance_agreement/) | 17.0.1.0.4 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Services Maintenance | Free [deltatech_service_maintenance_plan](deltatech_service_maintenance_plan/) | 17.0.1.0.6 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Services Maintenance Plan | Free -[deltatech_sms](deltatech_sms/) | 17.0.1.0.0 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Send SMS to custom endpoint | Free +[deltatech_sms](deltatech_sms/) | 17.0.1.0.1 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Send SMS to custom endpoint | Free [deltatech_sms_sale](deltatech_sms_sale/) | 17.0.1.0.1 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | send SMS at sale order confirmation | Free [deltatech_stock_account](deltatech_stock_account/) | 17.0.1.0.4 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Stock Account Extension | Free [deltatech_stock_analytic](deltatech_stock_analytic/) | 17.0.1.0.1 | [![danila12](https://github.com/danila12.png?size=30px)](https://github.com/danila12) | Create analytic lines from stock moves | Free diff --git a/deltatech_actions/README.rst b/deltatech_actions/README.rst index 629123d629..d7c19f2a47 100644 --- a/deltatech_actions/README.rst +++ b/deltatech_actions/README.rst @@ -24,10 +24,10 @@ Deltatech Actions Features: -- Search and delete duplicate xml anaf files (cron: Delete duplicate - xml attachments) -- Cancel sale order (including picking, stock moves and account moves - linked) +- Search and delete duplicate xml anaf files (cron: Delete duplicate xml + attachments) +- Cancel sale order (including picking, stock moves and account moves + linked) **Table of contents** diff --git a/deltatech_actions/static/description/index.html b/deltatech_actions/static/description/index.html index 3a93889831..59cf326e0c 100644 --- a/deltatech_actions/static/description/index.html +++ b/deltatech_actions/static/description/index.html @@ -19,8 +19,8 @@

Deltatech Actions

Beta License: OPL-1 dhongu/deltatech

Features:

    -
  • Search and delete duplicate xml anaf files (cron: Delete duplicate -xml attachments)
  • +
  • Search and delete duplicate xml anaf files (cron: Delete duplicate xml +attachments)
  • Cancel sale order (including picking, stock moves and account moves linked)
diff --git a/deltatech_alternative/README.rst b/deltatech_alternative/README.rst index 0bcebba0ff..c59e0376cb 100644 --- a/deltatech_alternative/README.rst +++ b/deltatech_alternative/README.rst @@ -22,23 +22,23 @@ Products Alternative |badge1| |badge2| |badge3| -- Features: +- Features: - - + - - - New model: product_catelog for big master data of products + - New model: product_catelog for big master data of products - - generate new product from catalog: If the search for a - product by code does not return results, an additional - search is made in the product catalog and a product is - automatically generated if it has been found + - generate new product from catalog: If the search for a product + by code does not return results, an additional search is made in + the product catalog and a product is automatically generated if + it has been found - - A module that adds an alternative on the product form + - A module that adds an alternative on the product form - - Search product by alternative code + - Search product by alternative code - - A new product field (used for) to indicate what the product may be - used for + - A new product field (used for) to indicate what the product may be + used for Camp adaugat in produs search_index in care se face cautarea daca este setat paramentrul deltatech_alternative_website.search_index diff --git a/deltatech_alternative/static/description/index.html b/deltatech_alternative/static/description/index.html index e906257899..0deafb1d76 100644 --- a/deltatech_alternative/static/description/index.html +++ b/deltatech_alternative/static/description/index.html @@ -21,10 +21,10 @@

Products Alternative

  • Features:
      • New model: product_catelog for big master data of products
          -
        • generate new product from catalog: If the search for a -product by code does not return results, an additional -search is made in the product catalog and a product is -automatically generated if it has been found
        • +
        • generate new product from catalog: If the search for a product +by code does not return results, an additional search is made in +the product catalog and a product is automatically generated if +it has been found
      diff --git a/deltatech_average_payment_period/README.rst b/deltatech_average_payment_period/README.rst index 7527f78f5b..9e71397160 100644 --- a/deltatech_average_payment_period/README.rst +++ b/deltatech_average_payment_period/README.rst @@ -24,11 +24,11 @@ Deltatech Average Payment Period Features: -- it computes average duration of cash accounting: -- Payment Days: diference between invoice date and payment date, - weighted by the amount -- Payment days simple: diference between invoice date and payment date, - only for supplier and client invoices, without credit notes +- it computes average duration of cash accounting: +- Payment Days: diference between invoice date and payment date, + weighted by the amount +- Payment days simple: diference between invoice date and payment date, + only for supplier and client invoices, without credit notes **Table of contents** diff --git a/deltatech_business_process/README.rst b/deltatech_business_process/README.rst index 92b7400bb2..e30352f537 100644 --- a/deltatech_business_process/README.rst +++ b/deltatech_business_process/README.rst @@ -22,20 +22,20 @@ Business process |badge1| |badge2| |badge3| -- Features: -- Adds the app "Business Process" to the menu -- Can create projects for different purposes -- For each project, you can create processes with steps -- For each process you can generate tests to be executed by the users -- Permits export(From business process list view action menu) with - different options(tests, responsible, customer, support) as JSON -- Can import the JSON file on the Project form action menu -- Can crate Zones that serves as category for each business process -- *IMPORTANT!* when importing/exporting make sure the name for the - responsible/customer responsible/support are the same in *BOTH* - databases or the import will create duplicate contacts(if one contact - is missing in the second DB it will pe created with the name from the - first) +- Features: +- Adds the app "Business Process" to the menu +- Can create projects for different purposes +- For each project, you can create processes with steps +- For each process you can generate tests to be executed by the users +- Permits export(From business process list view action menu) with + different options(tests, responsible, customer, support) as JSON +- Can import the JSON file on the Project form action menu +- Can crate Zones that serves as category for each business process +- *IMPORTANT!* when importing/exporting make sure the name for the + responsible/customer responsible/support are the same in *BOTH* + databases or the import will create duplicate contacts(if one contact + is missing in the second DB it will pe created with the name from the + first) **Table of contents** diff --git a/deltatech_business_process/models/business_project.py b/deltatech_business_process/models/business_project.py index 73c46d8b40..31fd357315 100644 --- a/deltatech_business_process/models/business_project.py +++ b/deltatech_business_process/models/business_project.py @@ -4,7 +4,6 @@ import io import xlsxwriter - from odoo import _, api, fields, models from odoo.exceptions import UserError diff --git a/deltatech_business_process_documentation/README.rst b/deltatech_business_process_documentation/README.rst index e013327d06..e930fb18e1 100644 --- a/deltatech_business_process_documentation/README.rst +++ b/deltatech_business_process_documentation/README.rst @@ -24,7 +24,7 @@ Business process documentation Features: -- +- **Table of contents** @@ -52,9 +52,9 @@ Authors Contributors ------------ -- `NextERP Romania `__: +- `NextERP Romania `__: - - Fekete Mihai + - Fekete Mihai Do not contact contributors directly about support or help with technical issues. diff --git a/deltatech_business_process_handover_document/README.rst b/deltatech_business_process_handover_document/README.rst index bf72417981..f1116cf3f0 100644 --- a/deltatech_business_process_handover_document/README.rst +++ b/deltatech_business_process_handover_document/README.rst @@ -1,8 +1,8 @@ -============================== -Business process documentation -============================== +================================== +Business process handover document +================================== -.. +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! @@ -17,14 +17,18 @@ Business process documentation :target: https://www.odoo.com/documentation/master/legal/licenses.html :alt: License: OPL-1 .. |badge3| image:: https://img.shields.io/badge/github-dhongu%2Fdeltatech-lightgray.png?logo=github - :target: https://github.com/dhongu/deltatech/tree/17.0/deltatech_business_process_documentation + :target: https://github.com/dhongu/deltatech/tree/17.0/deltatech_business_process_handover_document :alt: dhongu/deltatech |badge1| |badge2| |badge3| -Features: +Feature: -- +- Can generate the handover document for the business process from + business project. +- The module supports english and romanian languages. +- The document is generated in PDF format. +- **Table of contents** @@ -48,18 +52,17 @@ Authors * Terrabit * Voicu Stefan - Maintainers ----------- -.. |maintainer-dhongu| image:: https://github.com/dhongu.png?size=40px - :target: https://github.com/dhongu - :alt: dhongu +.. |maintainer-VoicuStefan2001| image:: https://github.com/VoicuStefan2001.png?size=40px + :target: https://github.com/VoicuStefan2001 + :alt: VoicuStefan2001 Current maintainer: -|maintainer-dhongu| +|maintainer-VoicuStefan2001| -This module is part of the `dhongu/deltatech `_ project on GitHub. +This module is part of the `dhongu/deltatech `_ project on GitHub. You are welcome to contribute. diff --git a/deltatech_business_process_handover_document/static/description/index.html b/deltatech_business_process_handover_document/static/description/index.html index c0c10ff27e..4d06d2c1cf 100644 --- a/deltatech_business_process_handover_document/static/description/index.html +++ b/deltatech_business_process_handover_document/static/description/index.html @@ -3,34 +3,28 @@ -Business process +Business process handover document -
      -

      Business process

      +
      +

      Business process handover document

      -

      Beta License: OPL-1 dhongu/deltatech

      -
      -
      Features:
      -
        -
      • Adds the app “Business Process” to the menu
      • -
      • Can create projects for different purposes
      • -
      • For each project, you can create processes with steps
      • -
      • For each process you can generate tests to be executed by the users
      • -
      • Permits export(From business process list view action menu) with different options(tests, responsible, customer, support) as JSON
      • -
      • Can import the JSON file on the Project form action menu
      • -
      • Can crate Zones that serves as category for each business process
      • -
      • IMPORTANT! when importing/exporting make sure the name for the responsible/customer responsible/support are the same in BOTH databases or the import will create duplicate contacts(if one contact is missing in the second DB it will pe created with the name from the first)
      • +

        Beta License: OPL-1 dhongu/deltatech

        +

        Feature:

        +
          +
        • Can generate the handover document for the business process from +business project.
        • +
        • The module supports english and romanian languages.
        • +
        • The document is generated in PDF format.
        • +
        -
      -

      Table of contents

        @@ -54,14 +48,14 @@

        Credits

        Authors

        • Terrabit
        • -
        • Dorin Hongu
        • +
        • Voicu Stefan

      Maintainers

      Current maintainer:

      -

      dhongu

      -

      This module is part of the dhongu/deltatech project on GitHub.

      +

      VoicuStefan2001

      +

      This module is part of the dhongu/deltatech project on GitHub.

      You are welcome to contribute.

      diff --git a/deltatech_card_payment/README.rst b/deltatech_card_payment/README.rst index 5ccd4e26b7..2f7395d8d7 100644 --- a/deltatech_card_payment/README.rst +++ b/deltatech_card_payment/README.rst @@ -22,9 +22,9 @@ Deltatech Payment Method Card |badge1| |badge2| |badge3| -- Features: +- Features: - - add payment method card + - add payment method card **Table of contents** diff --git a/deltatech_cash/README.rst b/deltatech_cash/README.rst index 7a66bf7987..a95473b635 100644 --- a/deltatech_cash/README.rst +++ b/deltatech_cash/README.rst @@ -24,10 +24,10 @@ Cash In / Out (Obsolete) -- Features: +- Features: - - specify account for cash deposit/withdrawal at the cash registry - - specificare cont la depunere/retragenere numerar din casa + - specify account for cash deposit/withdrawal at the cash registry + - specificare cont la depunere/retragenere numerar din casa **Table of contents** diff --git a/deltatech_contact/README.rst b/deltatech_contact/README.rst index eb6b2611f5..e273fa819a 100644 --- a/deltatech_contact/README.rst +++ b/deltatech_contact/README.rst @@ -24,11 +24,10 @@ Deltatech Contacts Features: -- This module adds aditional fields in contacts: birthdate, CNP, - identity card number -- if system parameter "contact.get_name_only" is set, - \_get_contact_name functions returns only the contact's name (without - parent) +- This module adds aditional fields in contacts: birthdate, CNP, + identity card number +- if system parameter "contact.get_name_only" is set, \_get_contact_name + functions returns only the contact's name (without parent) **Table of contents** diff --git a/deltatech_contact/static/description/index.html b/deltatech_contact/static/description/index.html index 8100c4e3de..59f15cf354 100644 --- a/deltatech_contact/static/description/index.html +++ b/deltatech_contact/static/description/index.html @@ -21,9 +21,8 @@

      Deltatech Contacts

      • This module adds aditional fields in contacts: birthdate, CNP, identity card number
      • -
      • if system parameter “contact.get_name_only” is set, -_get_contact_name functions returns only the contact’s name (without -parent)
      • +
      • if system parameter “contact.get_name_only” is set, _get_contact_name +functions returns only the contact’s name (without parent)

      Table of contents

      diff --git a/deltatech_credentials/README.rst b/deltatech_credentials/README.rst index 950826779b..a87e381581 100644 --- a/deltatech_credentials/README.rst +++ b/deltatech_credentials/README.rst @@ -24,8 +24,8 @@ Credentials Features: -- Adds the "Credentials" tab under Settings/Users & - Companies/Credentials +- Adds the "Credentials" tab under Settings/Users & + Companies/Credentials **Table of contents** diff --git a/deltatech_data_sheet/README.rst b/deltatech_data_sheet/README.rst index d12f25d816..5156ccf591 100644 --- a/deltatech_data_sheet/README.rst +++ b/deltatech_data_sheet/README.rst @@ -24,8 +24,8 @@ Product Data Sheet Features: -- Adds the fields "Data Sheet Attachment" and "Safety Data Sheet" on - the product template Sale tab for pdf files +- Adds the fields "Data Sheet Attachment" and "Safety Data Sheet" on the + product template Sale tab for pdf files **Table of contents** diff --git a/deltatech_data_sheet/static/description/index.html b/deltatech_data_sheet/static/description/index.html index 00c6d609b1..dbed873190 100644 --- a/deltatech_data_sheet/static/description/index.html +++ b/deltatech_data_sheet/static/description/index.html @@ -19,8 +19,8 @@

      Product Data Sheet

      Production/Stable License: OPL-1 dhongu/deltatech

      Features:

        -
      • Adds the fields “Data Sheet Attachment” and “Safety Data Sheet” on -the product template Sale tab for pdf files
      • +
      • Adds the fields “Data Sheet Attachment” and “Safety Data Sheet” on the +product template Sale tab for pdf files

      Table of contents

      diff --git a/deltatech_data_sheet_website/README.rst b/deltatech_data_sheet_website/README.rst index 3dc1c00b4e..79b25badc1 100644 --- a/deltatech_data_sheet_website/README.rst +++ b/deltatech_data_sheet_website/README.rst @@ -24,9 +24,9 @@ Product Data Sheet Website Features: -- adds the buttons "Show Data Sheet" and "Show Safety Data Sheet" on - the website product view, the buttons permit the view of the data - sheets associated with the product template. +- adds the buttons "Show Data Sheet" and "Show Safety Data Sheet" on the + website product view, the buttons permit the view of the data sheets + associated with the product template. **Table of contents** diff --git a/deltatech_data_sheet_website/static/description/index.html b/deltatech_data_sheet_website/static/description/index.html index 970aca4b6c..4c06981f73 100644 --- a/deltatech_data_sheet_website/static/description/index.html +++ b/deltatech_data_sheet_website/static/description/index.html @@ -19,9 +19,9 @@

      Product Data Sheet Website

      Production/Stable License: OPL-1 dhongu/deltatech

      Features:

        -
      • adds the buttons “Show Data Sheet” and “Show Safety Data Sheet” on -the website product view, the buttons permit the view of the data -sheets associated with the product template.
      • +
      • adds the buttons “Show Data Sheet” and “Show Safety Data Sheet” on the +website product view, the buttons permit the view of the data sheets +associated with the product template.

      Table of contents

      diff --git a/deltatech_dc/README.rst b/deltatech_dc/README.rst index 6f6d6f7cfd..152dcaa7fc 100644 --- a/deltatech_dc/README.rst +++ b/deltatech_dc/README.rst @@ -22,10 +22,10 @@ Declaration of Conformity |badge1| |badge2| |badge3| -- Features: +- Features: - - Declaration of Conformity - - Declaration of Conformity printing at billing + - Declaration of Conformity + - Declaration of Conformity printing at billing **Table of contents** diff --git a/deltatech_delivery_status/README.rst b/deltatech_delivery_status/README.rst index 48a912bba6..eef798ad38 100644 --- a/deltatech_delivery_status/README.rst +++ b/deltatech_delivery_status/README.rst @@ -22,10 +22,10 @@ Deltatech Delivery Status |badge1| |badge2| |badge3| -- Features: +- Features: - - delivery status - - Stare livare + - delivery status + - Stare livare **Table of contents** diff --git a/deltatech_expenses/README.rst b/deltatech_expenses/README.rst index 1cf7ece455..fe825374ae 100644 --- a/deltatech_expenses/README.rst +++ b/deltatech_expenses/README.rst @@ -24,10 +24,10 @@ Expenses Deduction Features: -- Introducerea decontului de cheltuieli intr-un document distict ce - genereaza automat chitante de achizitie -- Validarea documentului duce la generarea notelor contabile de avans - si inegistrarea platilor +- Introducerea decontului de cheltuieli intr-un document distict ce + genereaza automat chitante de achizitie +- Validarea documentului duce la generarea notelor contabile de avans si + inegistrarea platilor In registrul de numerat trebue completat campul Cash advances cu 542. diff --git a/deltatech_expenses/static/description/index.html b/deltatech_expenses/static/description/index.html index 7acb4de0f6..7727d310f9 100644 --- a/deltatech_expenses/static/description/index.html +++ b/deltatech_expenses/static/description/index.html @@ -21,8 +21,8 @@

      Expenses Deduction

      • Introducerea decontului de cheltuieli intr-un document distict ce genereaza automat chitante de achizitie
      • -
      • Validarea documentului duce la generarea notelor contabile de avans -si inegistrarea platilor
      • +
      • Validarea documentului duce la generarea notelor contabile de avans si +inegistrarea platilor

      In registrul de numerat trebue completat campul Cash advances cu 542.

      Table of contents

      diff --git a/deltatech_expenses/tests/test_expenses.py b/deltatech_expenses/tests/test_expenses.py index 637f583c44..9b424c0d2e 100644 --- a/deltatech_expenses/tests/test_expenses.py +++ b/deltatech_expenses/tests/test_expenses.py @@ -4,9 +4,8 @@ from odoo import fields -from odoo.tests import Form, tagged - from odoo.addons.account.tests.common import AccountTestInvoicingCommon +from odoo.tests import Form, tagged @tagged("post_install", "-at_install") diff --git a/deltatech_fast_sale/README.rst b/deltatech_fast_sale/README.rst index 6a29646f69..cf879b2cb6 100644 --- a/deltatech_fast_sale/README.rst +++ b/deltatech_fast_sale/README.rst @@ -22,10 +22,10 @@ Fast Sale |badge1| |badge2| |badge3| -- Features: +- Features: - - Button in sale order to make the steps of confirmation, delivery - and billing + - Button in sale order to make the steps of confirmation, delivery and + billing **Table of contents** diff --git a/deltatech_fast_sale/static/description/index.html b/deltatech_fast_sale/static/description/index.html index 36bfab883e..ae0eb670ee 100644 --- a/deltatech_fast_sale/static/description/index.html +++ b/deltatech_fast_sale/static/description/index.html @@ -19,8 +19,8 @@

      Fast Sale

      Mature License: OPL-1 dhongu/deltatech

      • Features:
          -
        • Button in sale order to make the steps of confirmation, delivery -and billing
        • +
        • Button in sale order to make the steps of confirmation, delivery and +billing
      diff --git a/deltatech_fleet/models/fleet_report.py b/deltatech_fleet/models/fleet_report.py index 6bf06c81e6..aebe78c60a 100644 --- a/deltatech_fleet/models/fleet_report.py +++ b/deltatech_fleet/models/fleet_report.py @@ -3,9 +3,8 @@ # See README.rst file on addons root folder for license details -from psycopg2 import sql - from odoo import fields, models, tools +from psycopg2 import sql class FleetReport(models.Model): diff --git a/deltatech_fleet/models/fleet_vehicle.py b/deltatech_fleet/models/fleet_vehicle.py index 5682af4cde..aec840c54c 100644 --- a/deltatech_fleet/models/fleet_vehicle.py +++ b/deltatech_fleet/models/fleet_vehicle.py @@ -5,7 +5,6 @@ from datetime import datetime import pytz - from odoo import api, fields, models diff --git a/deltatech_fleet/wizard/fleet_dist_report.py b/deltatech_fleet/wizard/fleet_dist_report.py index fecef1f01e..4dbde2613e 100644 --- a/deltatech_fleet/wizard/fleet_dist_report.py +++ b/deltatech_fleet/wizard/fleet_dist_report.py @@ -4,7 +4,6 @@ from dateutil.relativedelta import relativedelta - from odoo import api, fields, models diff --git a/deltatech_fleet_geo/README.rst b/deltatech_fleet_geo/README.rst index a3089b8080..859737b3c1 100644 --- a/deltatech_fleet_geo/README.rst +++ b/deltatech_fleet_geo/README.rst @@ -24,8 +24,8 @@ Deltatech Fleet Geo Feature: -- add Latitude, Longitude and Radius inside the fleet location and - fleet route +- add Latitude, Longitude and Radius inside the fleet location and fleet + route **Table of contents** diff --git a/deltatech_fleet_geo/static/description/index.html b/deltatech_fleet_geo/static/description/index.html index 00af61a6e6..d6b9f75343 100644 --- a/deltatech_fleet_geo/static/description/index.html +++ b/deltatech_fleet_geo/static/description/index.html @@ -19,8 +19,8 @@

      Deltatech Fleet Geo

      Beta License: OPL-1 dhongu/deltatech

      Feature:

        -
      • add Latitude, Longitude and Radius inside the fleet location and -fleet route
      • +
      • add Latitude, Longitude and Radius inside the fleet location and fleet +route

      Table of contents

      diff --git a/deltatech_followup/models/invoice_followup.py b/deltatech_followup/models/invoice_followup.py index 88eaaaaf2e..98362fddc5 100644 --- a/deltatech_followup/models/invoice_followup.py +++ b/deltatech_followup/models/invoice_followup.py @@ -2,7 +2,6 @@ # See README.rst file on addons root folder for license details from dateutil.relativedelta import relativedelta - from odoo import api, fields, models diff --git a/deltatech_generic_partner_restriction/README.rst b/deltatech_generic_partner_restriction/README.rst index 5d3878fdb7..8d4689aade 100644 --- a/deltatech_generic_partner_restriction/README.rst +++ b/deltatech_generic_partner_restriction/README.rst @@ -24,7 +24,7 @@ Deltatech Generic Partner Restriction Features: -- +- **Table of contents** diff --git a/deltatech_gln/README.rst b/deltatech_gln/README.rst index 7176b6cdc2..4da8c252ea 100644 --- a/deltatech_gln/README.rst +++ b/deltatech_gln/README.rst @@ -24,8 +24,8 @@ Deltatech Partner GLN Features: -- This module adds field for GLN (Global Location Number) in partner - form. +- This module adds field for GLN (Global Location Number) in partner + form. **Table of contents** diff --git a/deltatech_invoice_payment/README.rst b/deltatech_invoice_payment/README.rst index 2bb619a432..2bd44b0405 100644 --- a/deltatech_invoice_payment/README.rst +++ b/deltatech_invoice_payment/README.rst @@ -24,8 +24,8 @@ Invoice Payment Features: -- Adds a new widget to the top of the invoice in which you can see all - the payments for that invoice. +- Adds a new widget to the top of the invoice in which you can see all + the payments for that invoice. **Table of contents** diff --git a/deltatech_invoice_report/README.rst b/deltatech_invoice_report/README.rst index 06f75df468..fa3bccbf83 100644 --- a/deltatech_invoice_report/README.rst +++ b/deltatech_invoice_report/README.rst @@ -22,20 +22,20 @@ Invoice Report |badge1| |badge2| |badge3| -- Features: - - - Adaugare in raportul de analiza facturi a campurilor: judet si - furnizor implicit - - In Produs a fost adaugat un buton pentru a vedea raportul de - facturi in care se gaseste produsul - - Istoric de vanzare in produse pe ani - - Raport cu produse fara miscare. - - This module adds in invoice analysis reports the following fields: - county and implicit provider - - In Product it was added a new button in order to see the report of - invoices in which the product is found - - Sale History in products based on years - - Report with products without movement +- Features: + + - Adaugare in raportul de analiza facturi a campurilor: judet si + furnizor implicit + - In Produs a fost adaugat un buton pentru a vedea raportul de facturi + in care se gaseste produsul + - Istoric de vanzare in produse pe ani + - Raport cu produse fara miscare. + - This module adds in invoice analysis reports the following fields: + county and implicit provider + - In Product it was added a new button in order to see the report of + invoices in which the product is found + - Sale History in products based on years + - Report with products without movement **Table of contents** diff --git a/deltatech_invoice_report/static/description/index.html b/deltatech_invoice_report/static/description/index.html index bdc6476b8d..30c06f977d 100644 --- a/deltatech_invoice_report/static/description/index.html +++ b/deltatech_invoice_report/static/description/index.html @@ -21,8 +21,8 @@

      Invoice Report

    • Features:
      • Adaugare in raportul de analiza facturi a campurilor: judet si furnizor implicit
      • -
      • In Produs a fost adaugat un buton pentru a vedea raportul de -facturi in care se gaseste produsul
      • +
      • In Produs a fost adaugat un buton pentru a vedea raportul de facturi +in care se gaseste produsul
      • Istoric de vanzare in produse pe ani
      • Raport cu produse fara miscare.
      • This module adds in invoice analysis reports the following fields: diff --git a/deltatech_invoice_to_draft/README.rst b/deltatech_invoice_to_draft/README.rst index 97a6d63056..32205f18c0 100644 --- a/deltatech_invoice_to_draft/README.rst +++ b/deltatech_invoice_to_draft/README.rst @@ -24,10 +24,10 @@ Deltatech Invoice to Draft Features: -- The button "Reset To Draft" on the invoice will be visible only for - those in the group "Can reset account move to draft" -- Adds the button "Cancel Entry" that brings an invoice back to draft - state then cancels it. +- The button "Reset To Draft" on the invoice will be visible only for + those in the group "Can reset account move to draft" +- Adds the button "Cancel Entry" that brings an invoice back to draft + state then cancels it. **Table of contents** diff --git a/deltatech_invoice_to_draft/tests/test_invoice_to_draft.py b/deltatech_invoice_to_draft/tests/test_invoice_to_draft.py index aeed0e17c7..6f6e61411e 100644 --- a/deltatech_invoice_to_draft/tests/test_invoice_to_draft.py +++ b/deltatech_invoice_to_draft/tests/test_invoice_to_draft.py @@ -1,6 +1,5 @@ -from odoo.tests import tagged - from odoo.addons.account.tests.common import AccountTestInvoicingCommon +from odoo.tests import tagged @tagged("post_install", "-at_install") diff --git a/deltatech_invoice_weight/README.rst b/deltatech_invoice_weight/README.rst index ea51acbaf5..58b382d7e5 100644 --- a/deltatech_invoice_weight/README.rst +++ b/deltatech_invoice_weight/README.rst @@ -24,13 +24,13 @@ Invoice Weight Features: -- adds field in invoice for net/gross weight -- for reports, switch to pivot table view in invoices -- this module adds fields in invoice for net/gross mass +- adds field in invoice for net/gross weight +- for reports, switch to pivot table view in invoices +- this module adds fields in invoice for net/gross mass Functionalitati: -- adaugare campuri in factura pentru masa neta/bruta +- adaugare campuri in factura pentru masa neta/bruta **Table of contents** diff --git a/deltatech_ledger/README.rst b/deltatech_ledger/README.rst index 1947580216..7476e957f2 100644 --- a/deltatech_ledger/README.rst +++ b/deltatech_ledger/README.rst @@ -24,8 +24,8 @@ Deltatech Ledger Feature: -- a ledger for storing the entry and exit documents numbers and - descriptions +- a ledger for storing the entry and exit documents numbers and + descriptions .. IMPORTANT:: This is an alpha version, the data model and design can change at any time without warning. diff --git a/deltatech_list_view/README.rst b/deltatech_list_view/README.rst index 28dd452077..e6424d0fa6 100644 --- a/deltatech_list_view/README.rst +++ b/deltatech_list_view/README.rst @@ -24,11 +24,11 @@ List View Select Text Function: -- Block opening an item from the list when selecting text +- Block opening an item from the list when selecting text Functions: -- Blocheaza deschiderea unui item din lista la selecta unui text +- Blocheaza deschiderea unui item din lista la selecta unui text **Table of contents** diff --git a/deltatech_logistic_docs/README.rst b/deltatech_logistic_docs/README.rst index 9ca9ece612..eadb1d51ec 100644 --- a/deltatech_logistic_docs/README.rst +++ b/deltatech_logistic_docs/README.rst @@ -22,9 +22,9 @@ Logistic Documents |badge1| |badge2| |badge3| -- Functions: +- Functions: - - Afisare documente anexate la achizitie, receptie si factura + - Afisare documente anexate la achizitie, receptie si factura **Table of contents** diff --git a/deltatech_lot/README.rst b/deltatech_lot/README.rst index fb22f91394..3208c791ae 100644 --- a/deltatech_lot/README.rst +++ b/deltatech_lot/README.rst @@ -22,10 +22,10 @@ Generate/Select lot |badge1| |badge2| |badge3| -- Functions: +- Functions: - - Generare de lot la receptia produselor de la furnizor - - Camp locatie in lot + - Generare de lot la receptia produselor de la furnizor + - Camp locatie in lot **Table of contents** diff --git a/deltatech_move_negative_stock/README.rst b/deltatech_move_negative_stock/README.rst index e5fec33496..765f7355f5 100644 --- a/deltatech_move_negative_stock/README.rst +++ b/deltatech_move_negative_stock/README.rst @@ -22,10 +22,10 @@ Replenish negative stock |badge1| |badge2| |badge3| -- Features: +- Features: - - Button in picking to populate a transfer with all negative qty's - found in destination location + - Button in picking to populate a transfer with all negative qty's + found in destination location **Table of contents** @@ -35,36 +35,36 @@ Replenish negative stock Usage ===== -- +- - - Configure your operation type: + - Configure your operation type: - - Inventory -> Configuration -> Operation Types + - Inventory -> Configuration -> Operation Types |image1| -- Sell some stuff from your location, resulting in negative stock: +- Sell some stuff from your location, resulting in negative stock: |image2| -- Create a picking with the previuous Operation type +- Create a picking with the previuous Operation type |image3| -- Press the button: +- Press the button: |image4| -- You products will be added to the picking: +- You products will be added to the picking: |image5| -- Other info: +- Other info: - - You can manually add, delete or edit the picking after negative - values have been added - - The negative stock products will be added with each click on the - button. + - You can manually add, delete or edit the picking after negative + values have been added + - The negative stock products will be added with each click on the + button. .. |image1| image:: https://raw.githubusercontent.com/dhongu/deltatech/17.0/deltatech_move_negative_stock/static/description/op-type.png .. |image2| image:: https://raw.githubusercontent.com/dhongu/deltatech/17.0/deltatech_move_negative_stock/static/description/negative-stock.png diff --git a/deltatech_mrp/README.rst b/deltatech_mrp/README.rst index f5b09b0b6e..1fcf72b85e 100644 --- a/deltatech_mrp/README.rst +++ b/deltatech_mrp/README.rst @@ -50,13 +50,13 @@ raport pt analiza costuri de productie Observation: -- at the material cost it must be added a coefficient of 20 % for - indirect costs +- at the material cost it must be added a coefficient of 20 % for + indirect costs Observatie: -- la costul materialelor se adauga si un coeficient de 20 % pentru - costurile indirecte. +- la costul materialelor se adauga si un coeficient de 20 % pentru + costurile indirecte. **Table of contents** diff --git a/deltatech_mrp_bom/README.rst b/deltatech_mrp_bom/README.rst index c9bed19d72..2fb3f0eae7 100644 --- a/deltatech_mrp_bom/README.rst +++ b/deltatech_mrp_bom/README.rst @@ -24,8 +24,8 @@ MRP Bom Features: -- adds button for quick access of sub-LDM Functionalitati: -- adugare buton pentru accesare rapida sub-LDM +- adds button for quick access of sub-LDM Functionalitati: +- adugare buton pentru accesare rapida sub-LDM **Table of contents** diff --git a/deltatech_mrp_bom/tests/test_mrp_bom.py b/deltatech_mrp_bom/tests/test_mrp_bom.py index 969466ef0b..4e2fbf72e8 100644 --- a/deltatech_mrp_bom/tests/test_mrp_bom.py +++ b/deltatech_mrp_bom/tests/test_mrp_bom.py @@ -1,11 +1,9 @@ # Part of Odoo. See LICENSE file for full copyright and licensing details. from freezegun import freeze_time - from odoo import Command, fields -from odoo.tests import Form - from odoo.addons.mrp.tests.common import TestMrpCommon +from odoo.tests import Form @freeze_time(fields.Date.today()) diff --git a/deltatech_mrp_cost/README.rst b/deltatech_mrp_cost/README.rst index f2fb36646f..03e66991ce 100644 --- a/deltatech_mrp_cost/README.rst +++ b/deltatech_mrp_cost/README.rst @@ -22,9 +22,9 @@ MRP Cost |badge1| |badge2| |badge3| -- Features: +- Features: - - adaugare de costuri suplimentare in comanda de productie + - adaugare de costuri suplimentare in comanda de productie **Table of contents** diff --git a/deltatech_mrp_cost/tests/test_mrp_cost.py b/deltatech_mrp_cost/tests/test_mrp_cost.py index 01ebb96145..2859ece274 100644 --- a/deltatech_mrp_cost/tests/test_mrp_cost.py +++ b/deltatech_mrp_cost/tests/test_mrp_cost.py @@ -3,9 +3,8 @@ from datetime import timedelta from odoo import fields -from odoo.tests import Form - from odoo.addons.mrp.tests.common import TestMrpCommon +from odoo.tests import Form class TestMrpOrder(TestMrpCommon): diff --git a/deltatech_mrp_simple/README.rst b/deltatech_mrp_simple/README.rst index e9d7c6acf9..ad9e16b4cf 100644 --- a/deltatech_mrp_simple/README.rst +++ b/deltatech_mrp_simple/README.rst @@ -22,23 +22,23 @@ Simple MRP |badge1| |badge2| |badge3| -- Features: - - - Can create simple production, with configurable components and - resulting products, without having to create a list of materials - - Creates two stock pickings, with configurable picking type. The - pickings can be accessed from the simple production screen, and - can be validated automatically or manually - - The stock price for the resulting product(s) is computed from the - stock price of the components. If multiple products are in the - result, the price must be entered manually. If price of the result - product is 0, an error is thrown (can be overrided by setting the - "simple_production_allow_zero_cost" system parameter to a no-zero - value). - - A new product and a new sale order can be created automatically - for the resulting product (the user must be in the " Sale simple - production" group). The sale price of the resulting product is - computed from the sale price of the components +- Features: + + - Can create simple production, with configurable components and + resulting products, without having to create a list of materials + - Creates two stock pickings, with configurable picking type. The + pickings can be accessed from the simple production screen, and can + be validated automatically or manually + - The stock price for the resulting product(s) is computed from the + stock price of the components. If multiple products are in the + result, the price must be entered manually. If price of the result + product is 0, an error is thrown (can be overrided by setting the + "simple_production_allow_zero_cost" system parameter to a no-zero + value). + - A new product and a new sale order can be created automatically for + the resulting product (the user must be in the " Sale simple + production" group). The sale price of the resulting product is + computed from the sale price of the components **Table of contents** diff --git a/deltatech_mrp_simple/static/description/index.html b/deltatech_mrp_simple/static/description/index.html index c0f6a52ca8..dfb90ed9a6 100644 --- a/deltatech_mrp_simple/static/description/index.html +++ b/deltatech_mrp_simple/static/description/index.html @@ -22,16 +22,16 @@

        Simple MRP

      • Can create simple production, with configurable components and resulting products, without having to create a list of materials
      • Creates two stock pickings, with configurable picking type. The -pickings can be accessed from the simple production screen, and -can be validated automatically or manually
      • +pickings can be accessed from the simple production screen, and can +be validated automatically or manually
      • The stock price for the resulting product(s) is computed from the stock price of the components. If multiple products are in the result, the price must be entered manually. If price of the result product is 0, an error is thrown (can be overrided by setting the “simple_production_allow_zero_cost” system parameter to a no-zero value).
      • -
      • A new product and a new sale order can be created automatically -for the resulting product (the user must be in the “ Sale simple +
      • A new product and a new sale order can be created automatically for +the resulting product (the user must be in the “ Sale simple production” group). The sale price of the resulting product is computed from the sale price of the components
      diff --git a/deltatech_no_quick_create/README.rst b/deltatech_no_quick_create/README.rst index bc11af3183..0916a519da 100644 --- a/deltatech_no_quick_create/README.rst +++ b/deltatech_no_quick_create/README.rst @@ -24,8 +24,8 @@ No quick_create Features: -- disables the option to create new items without editing them, for - prevention of empty products, contacts, etc. +- disables the option to create new items without editing them, for + prevention of empty products, contacts, etc. **Table of contents** diff --git a/deltatech_notification_sound/README.rst b/deltatech_notification_sound/README.rst index dc26df5d30..54822995ee 100644 --- a/deltatech_notification_sound/README.rst +++ b/deltatech_notification_sound/README.rst @@ -24,7 +24,7 @@ Notification Sound Features: -- adding sounds when you get errors to notify the operator +- adding sounds when you get errors to notify the operator **Table of contents** diff --git a/deltatech_packaging/README.rst b/deltatech_packaging/README.rst index d50247e877..25563c7482 100644 --- a/deltatech_packaging/README.rst +++ b/deltatech_packaging/README.rst @@ -24,8 +24,8 @@ packaging Features: -- la adaugarea de produse intr-un pachet se tine cont de cantitatea - maxima declarata pe tipul de amabalare specific produsului +- la adaugarea de produse intr-un pachet se tine cont de cantitatea + maxima declarata pe tipul de amabalare specific produsului **Table of contents** diff --git a/deltatech_partner_discount/README.rst b/deltatech_partner_discount/README.rst index 73f9b8d612..da76184014 100644 --- a/deltatech_partner_discount/README.rst +++ b/deltatech_partner_discount/README.rst @@ -24,11 +24,11 @@ Deltatech partner discount Features: -- adds a new field to contact for "Proposed discount" -- you need to be inside the "Can modify partner discount" group to - modify this field -- inside the invoice you will see a banner with the "Recommended - discount: %s" where the %s is the value of the proposed discount +- adds a new field to contact for "Proposed discount" +- you need to be inside the "Can modify partner discount" group to + modify this field +- inside the invoice you will see a banner with the "Recommended + discount: %s" where the %s is the value of the proposed discount **Table of contents** diff --git a/deltatech_partner_generic/README.rst b/deltatech_partner_generic/README.rst index 886af73b9d..a0a871561d 100644 --- a/deltatech_partner_generic/README.rst +++ b/deltatech_partner_generic/README.rst @@ -24,7 +24,7 @@ Deltatech Generic Partner Features: -- defining generic partner +- defining generic partner **Table of contents** diff --git a/deltatech_partner_minimal_aquisition/README.rst b/deltatech_partner_minimal_aquisition/README.rst index ec4c4b99c6..9aa91f06ea 100644 --- a/deltatech_partner_minimal_aquisition/README.rst +++ b/deltatech_partner_minimal_aquisition/README.rst @@ -24,11 +24,11 @@ Partner Minimal Aquisition Features: -- Adds a field for minimal acquisition value on partner form -- On the purchase order, the system checks if the partner has a minimal - acquisition value and if the total amount of the order is less than - the minimal acquisition value, the system will show a warning as a - banner on top of the order. +- Adds a field for minimal acquisition value on partner form +- On the purchase order, the system checks if the partner has a minimal + acquisition value and if the total amount of the order is less than + the minimal acquisition value, the system will show a warning as a + banner on top of the order. **Table of contents** diff --git a/deltatech_payment_report/README.rst b/deltatech_payment_report/README.rst index bdb4cecf8a..3c6dfcdad4 100644 --- a/deltatech_payment_report/README.rst +++ b/deltatech_payment_report/README.rst @@ -24,12 +24,12 @@ Deltatech Payment Report Features: -- adds in the menu Accounting / Accounting / Payment -- when selection this menu you will see a form to select the period for - the report and the type of payments that should be included in the - report -- the report will generate a pivot view of all the payments in the - window of time selected +- adds in the menu Accounting / Accounting / Payment +- when selection this menu you will see a form to select the period for + the report and the type of payments that should be included in the + report +- the report will generate a pivot view of all the payments in the + window of time selected **Table of contents** diff --git a/deltatech_payment_term/README.rst b/deltatech_payment_term/README.rst index 4cc54a4bdc..d25d8f8f03 100644 --- a/deltatech_payment_term/README.rst +++ b/deltatech_payment_term/README.rst @@ -24,7 +24,7 @@ Payment Term Rate Wizard Features: -- Rate generation +- Rate generation **Table of contents** diff --git a/deltatech_payment_term_fix/models/account_payment_term.py b/deltatech_payment_term_fix/models/account_payment_term.py index fb023c6485..d1e7381a43 100644 --- a/deltatech_payment_term_fix/models/account_payment_term.py +++ b/deltatech_payment_term_fix/models/account_payment_term.py @@ -3,7 +3,6 @@ from dateutil.relativedelta import relativedelta - from odoo import fields, models diff --git a/deltatech_payment_term_restrict/README.rst b/deltatech_payment_term_restrict/README.rst index 5c6cab24a9..b0a93428fb 100644 --- a/deltatech_payment_term_restrict/README.rst +++ b/deltatech_payment_term_restrict/README.rst @@ -24,8 +24,8 @@ Deltatech Payment Term Restrict Features: -- Restrict payment terms modifications in partner, sale order and - invoice to users in a certain group (Can modify payment terms) +- Restrict payment terms modifications in partner, sale order and + invoice to users in a certain group (Can modify payment terms) **Table of contents** diff --git a/deltatech_picking_restrict/README.rst b/deltatech_picking_restrict/README.rst index 2a2b467fe8..ae01408b76 100644 --- a/deltatech_picking_restrict/README.rst +++ b/deltatech_picking_restrict/README.rst @@ -24,16 +24,16 @@ Picking Validation Restrict Features: -- A security group can be attached to a Operation Type. Only users in - this group can validate pickings of this type -- If left empty, no security group is required -- Adds another option, "Restrict done quantities to reserved", on move - type, if the option is checked you can't validate a picking if the - done quantity is different than the reserved quantity -- Adds another option, "Restrict new products", on move type, if the - option is checked you can't validate a picking if there are product - where the reserved quantity is 0 but the done quantity is different - that 0 +- A security group can be attached to a Operation Type. Only users in + this group can validate pickings of this type +- If left empty, no security group is required +- Adds another option, "Restrict done quantities to reserved", on move + type, if the option is checked you can't validate a picking if the + done quantity is different than the reserved quantity +- Adds another option, "Restrict new products", on move type, if the + option is checked you can't validate a picking if there are product + where the reserved quantity is 0 but the done quantity is different + that 0 **Table of contents** diff --git a/deltatech_picking_restrict_entry_exit/README.rst b/deltatech_picking_restrict_entry_exit/README.rst index 1fd488a166..1e0605d0bf 100644 --- a/deltatech_picking_restrict_entry_exit/README.rst +++ b/deltatech_picking_restrict_entry_exit/README.rst @@ -24,15 +24,14 @@ Picking Validation Restrict Entry Exit Features: -- You will not be able to create a picking for receipt/delivery if - there is no origin -- You can't receive/deliver more than the demanded quantity -- There is an implicit group on all users to restrict the access to the - picking creation without origin -- To remove someone from this group, you need go to the group "Picking - create permission" and remove the user, be mindful that any changes - to the user after the fact will automatically re-add them to the - group +- You will not be able to create a picking for receipt/delivery if there + is no origin +- You can't receive/deliver more than the demanded quantity +- There is an implicit group on all users to restrict the access to the + picking creation without origin +- To remove someone from this group, you need go to the group "Picking + create permission" and remove the user, be mindful that any changes to + the user after the fact will automatically re-add them to the group **Table of contents** diff --git a/deltatech_picking_restrict_entry_exit/static/description/index.html b/deltatech_picking_restrict_entry_exit/static/description/index.html index edaf3bf76d..617eb161f7 100644 --- a/deltatech_picking_restrict_entry_exit/static/description/index.html +++ b/deltatech_picking_restrict_entry_exit/static/description/index.html @@ -19,15 +19,14 @@

      Picking Validation Restrict Entry Exit

      Beta License: OPL-1 dhongu/deltatech

      Features:

        -
      • You will not be able to create a picking for receipt/delivery if -there is no origin
      • +
      • You will not be able to create a picking for receipt/delivery if there +is no origin
      • You can’t receive/deliver more than the demanded quantity
      • There is an implicit group on all users to restrict the access to the picking creation without origin
      • To remove someone from this group, you need go to the group “Picking -create permission” and remove the user, be mindful that any changes -to the user after the fact will automatically re-add them to the -group
      • +create permission” and remove the user, be mindful that any changes to +the user after the fact will automatically re-add them to the group

      Table of contents

      diff --git a/deltatech_picking_services/README.rst b/deltatech_picking_services/README.rst index 6e27ac0943..a235655c15 100644 --- a/deltatech_picking_services/README.rst +++ b/deltatech_picking_services/README.rst @@ -22,9 +22,9 @@ Deltatech Picking Service Lines |badge1| |badge2| |badge3| -- Features: +- Features: - - Adds a new tab in picking, with service type products only + - Adds a new tab in picking, with service type products only **Table of contents** diff --git a/deltatech_picking_split/README.rst b/deltatech_picking_split/README.rst index fcdfc109e3..881b44cebe 100644 --- a/deltatech_picking_split/README.rst +++ b/deltatech_picking_split/README.rst @@ -24,7 +24,7 @@ Picking Split Features: -- Manual generation of backorders +- Manual generation of backorders **Table of contents** diff --git a/deltatech_picking_transit/README.rst b/deltatech_picking_transit/README.rst index 57f2cd866a..7c408ea65f 100644 --- a/deltatech_picking_transit/README.rst +++ b/deltatech_picking_transit/README.rst @@ -24,14 +24,14 @@ Stock Auto Transfer Features: -- On the stock picking type form you can add "next operation" -- when you make an internal transfer with a picking type that has the - "next operation" set, the system gives you the option to make the - transfer a 2 step one with the button "create transfer" -- the button will create another transfer from the transit location to - the location selected on the wizard with the same move lines -- after the second transfer is created, you will not be able to modify - the move lines of the initial transfer +- On the stock picking type form you can add "next operation" +- when you make an internal transfer with a picking type that has the + "next operation" set, the system gives you the option to make the + transfer a 2 step one with the button "create transfer" +- the button will create another transfer from the transit location to + the location selected on the wizard with the same move lines +- after the second transfer is created, you will not be able to modify + the move lines of the initial transfer **Table of contents** diff --git a/deltatech_portal_invoice/README.rst b/deltatech_portal_invoice/README.rst index cb3b424d08..50c530fdb5 100644 --- a/deltatech_portal_invoice/README.rst +++ b/deltatech_portal_invoice/README.rst @@ -24,8 +24,8 @@ Portal invoice Features: -- add filter in portal to display separate incoming invoices and - outgoing invoices +- add filter in portal to display separate incoming invoices and + outgoing invoices **Table of contents** diff --git a/deltatech_portal_invoice/controllers/portal.py b/deltatech_portal_invoice/controllers/portal.py index 8e323395f8..fe72b58fdc 100644 --- a/deltatech_portal_invoice/controllers/portal.py +++ b/deltatech_portal_invoice/controllers/portal.py @@ -4,7 +4,6 @@ from odoo import http - from odoo.addons.account.controllers.portal import PortalAccount diff --git a/deltatech_pos_decimal_numpad_dot/README.rst b/deltatech_pos_decimal_numpad_dot/README.rst index afbabc3677..59f316651c 100644 --- a/deltatech_pos_decimal_numpad_dot/README.rst +++ b/deltatech_pos_decimal_numpad_dot/README.rst @@ -22,9 +22,9 @@ Deltatech POS - Numpad Dot as decimal separator - Obsolete |badge1| |badge2| |badge3| -- Features: +- Features: - - + - **Table of contents** diff --git a/deltatech_pricelist_add_category/README.rst b/deltatech_pricelist_add_category/README.rst index 7b349abe49..87ae6d6ab2 100644 --- a/deltatech_pricelist_add_category/README.rst +++ b/deltatech_pricelist_add_category/README.rst @@ -24,10 +24,9 @@ Price List add Category Features: -- Gives you the possibility to add a category to a pricelist's - products. -- This is done by opening the action menu on the pricelist and - selecting "Open Pricelist Wizard". +- Gives you the possibility to add a category to a pricelist's products. +- This is done by opening the action menu on the pricelist and selecting + "Open Pricelist Wizard". .. IMPORTANT:: This is an alpha version, the data model and design can change at any time without warning. diff --git a/deltatech_pricelist_add_category/static/description/index.html b/deltatech_pricelist_add_category/static/description/index.html index 11fa61da74..c1eb1b8e84 100644 --- a/deltatech_pricelist_add_category/static/description/index.html +++ b/deltatech_pricelist_add_category/static/description/index.html @@ -19,10 +19,9 @@

      Price List add Category

      Alpha License: OPL-1 dhongu/deltatech

      Features:

        -
      • Gives you the possibility to add a category to a pricelist’s -products.
      • -
      • This is done by opening the action menu on the pricelist and -selecting “Open Pricelist Wizard”.
      • +
      • Gives you the possibility to add a category to a pricelist’s products.
      • +
      • This is done by opening the action menu on the pricelist and selecting +“Open Pricelist Wizard”.

      Important

      diff --git a/deltatech_product_catalog/README.rst b/deltatech_product_catalog/README.rst index c64ad586e6..988a532daa 100644 --- a/deltatech_product_catalog/README.rst +++ b/deltatech_product_catalog/README.rst @@ -24,7 +24,7 @@ Product Catalog Features: -- Enables the option for printing the catalog for single/multi products +- Enables the option for printing the catalog for single/multi products **Table of contents** diff --git a/deltatech_product_category/README.rst b/deltatech_product_category/README.rst index cf58a09fb6..5bb86af5bf 100644 --- a/deltatech_product_category/README.rst +++ b/deltatech_product_category/README.rst @@ -24,13 +24,13 @@ Products Category Features: -- Product category per company +- Product category per company -- The "All" category must remain without a company +- The "All" category must remain without a company -- Categorii de produse pentru fiecare companie +- Categorii de produse pentru fiecare companie -- Categoria All trebuie sa ramana fara companie +- Categoria All trebuie sa ramana fara companie **Table of contents** diff --git a/deltatech_product_category_group/README.rst b/deltatech_product_category_group/README.rst index 4a98ebff9a..8e2911ea3d 100644 --- a/deltatech_product_category_group/README.rst +++ b/deltatech_product_category_group/README.rst @@ -24,9 +24,9 @@ Products Category User Group Features: -- User Group in product category -- Automatic assignment of the responsible in transfer based on the user - group from category +- User Group in product category +- Automatic assignment of the responsible in transfer based on the user + group from category **Table of contents** diff --git a/deltatech_product_code/README.rst b/deltatech_product_code/README.rst index 3a00f4b24e..2f9930dc0d 100644 --- a/deltatech_product_code/README.rst +++ b/deltatech_product_code/README.rst @@ -22,11 +22,11 @@ Products Code |badge1| |badge2| |badge3| -- Features: +- Features: - - Generate product code - - Check consistence of product coding - - Mass coding of products + - Generate product code + - Check consistence of product coding + - Mass coding of products **Table of contents** diff --git a/deltatech_product_labels/README.rst b/deltatech_product_labels/README.rst index 5f281ac46d..8c7629421e 100644 --- a/deltatech_product_labels/README.rst +++ b/deltatech_product_labels/README.rst @@ -24,12 +24,12 @@ Product Labels Features: -- prints labels from products, sale orders, pickings -- if only lot option is selected and printing is started from a - product, all lots in stock will be printed -- by default overrides the print label button in products. To revert to - standard print function, system parameter - "terrabit_labels.override_print_button" must be set to False +- prints labels from products, sale orders, pickings +- if only lot option is selected and printing is started from a product, + all lots in stock will be printed +- by default overrides the print label button in products. To revert to + standard print function, system parameter + "terrabit_labels.override_print_button" must be set to False **Table of contents** diff --git a/deltatech_product_labels/static/description/index.html b/deltatech_product_labels/static/description/index.html index 54cf18b2a7..a862e394ba 100644 --- a/deltatech_product_labels/static/description/index.html +++ b/deltatech_product_labels/static/description/index.html @@ -20,8 +20,8 @@

      Product Labels

      Features:

      • prints labels from products, sale orders, pickings
      • -
      • if only lot option is selected and printing is started from a -product, all lots in stock will be printed
      • +
      • if only lot option is selected and printing is started from a product, +all lots in stock will be printed
      • by default overrides the print label button in products. To revert to standard print function, system parameter “terrabit_labels.override_print_button” must be set to False
      • diff --git a/deltatech_product_labels/wizard/product_product_label_print.py b/deltatech_product_labels/wizard/product_product_label_print.py index 08d36a47cd..d920b36066 100644 --- a/deltatech_product_labels/wizard/product_product_label_print.py +++ b/deltatech_product_labels/wizard/product_product_label_print.py @@ -3,9 +3,8 @@ import base64 -from reportlab.graphics.barcode import createBarcodeDrawing - from odoo import api, fields, models +from reportlab.graphics.barcode import createBarcodeDrawing class ProductProductLabel(models.TransientModel): diff --git a/deltatech_product_list/README.rst b/deltatech_product_list/README.rst index 9f98f7b826..9d5646f752 100644 --- a/deltatech_product_list/README.rst +++ b/deltatech_product_list/README.rst @@ -22,9 +22,9 @@ Product List |badge1| |badge2| |badge3| -- Features: +- Features: - - defining product lists + - defining product lists **Table of contents** diff --git a/deltatech_product_margin/README.rst b/deltatech_product_margin/README.rst index bac0281fe2..1bb0bd739b 100644 --- a/deltatech_product_margin/README.rst +++ b/deltatech_product_margin/README.rst @@ -24,7 +24,7 @@ Deltatech Product Margin Features: -- Calculate trade markup and margin for each product +- Calculate trade markup and margin for each product **Table of contents** diff --git a/deltatech_product_trade_markup/README.rst b/deltatech_product_trade_markup/README.rst index 719f28e5ed..3715e374e1 100644 --- a/deltatech_product_trade_markup/README.rst +++ b/deltatech_product_trade_markup/README.rst @@ -22,13 +22,13 @@ Product trade markup |badge1| |badge2| |badge3| -- Features: +- Features: - - + - - - New fields added in product template: + - New fields added in product template: - - trade_markup - trade markup for the product. + - trade_markup - trade markup for the product. **Table of contents** diff --git a/deltatech_promissory_note/README.rst b/deltatech_promissory_note/README.rst index 5e0bd695e0..6cd2f984e8 100644 --- a/deltatech_promissory_note/README.rst +++ b/deltatech_promissory_note/README.rst @@ -24,7 +24,7 @@ Deltatech Promissory Note Features: -- gestionare bilete la ordin +- gestionare bilete la ordin **Table of contents** diff --git a/deltatech_property/README.rst b/deltatech_property/README.rst index ecc1076e7d..4fda726645 100644 --- a/deltatech_property/README.rst +++ b/deltatech_property/README.rst @@ -24,7 +24,7 @@ Property Management Features: -- Property management system +- Property management system **Table of contents** diff --git a/deltatech_property_agreement/README.rst b/deltatech_property_agreement/README.rst index 334bdc1702..74156f22fe 100644 --- a/deltatech_property_agreement/README.rst +++ b/deltatech_property_agreement/README.rst @@ -25,10 +25,10 @@ Property Agreement Addon for deltatech_property, deltatech_service_agreement, deltatech_service_equipment: -- Added new fields Tenant, Agreement and Service Equipment to the - building view -- Added the option "Building" to the "Internal type" field of the - service equipment +- Added new fields Tenant, Agreement and Service Equipment to the + building view +- Added the option "Building" to the "Internal type" field of the + service equipment **Table of contents** diff --git a/deltatech_purchase_price/README.rst b/deltatech_purchase_price/README.rst index 1bd262dad2..57056ef116 100644 --- a/deltatech_purchase_price/README.rst +++ b/deltatech_purchase_price/README.rst @@ -22,47 +22,44 @@ Purchase Price |badge1| |badge2| |badge3| -- Features: +- Features: - - Update purchase price after receipt + - Update purchase price after receipt - - + - - - Depends on system parameters: + - Depends on system parameters: - - *purchase.update_standard_price* - If set to True, the - product's standard_price will be overwritten - - *purchase.update_product_price* - if set to False, the - product supplier's price will not be modified, if set to - True, the product's supplier price will be allways - overwritten - - *purchase.add_supplier_to_product* - if set to True, the - supplier and the price will be automatically added to the - supplier info of the product, if set to False, no - modifications will be made in the supplier info of the - product - - *purchase.update_list_price* - if set to True, the list - price will be updated according to trade markup value. If - set to False, the list price will not be updated. - - *sale.list_price_round* - decimal number to which the list - price is rounded + - *purchase.update_standard_price* - If set to True, the product's + standard_price will be overwritten + - *purchase.update_product_price* - if set to False, the product + supplier's price will not be modified, if set to True, the + product's supplier price will be allways overwritten + - *purchase.add_supplier_to_product* - if set to True, the + supplier and the price will be automatically added to the + supplier info of the product, if set to False, no modifications + will be made in the supplier info of the product + - *purchase.update_list_price* - if set to True, the list price + will be updated according to trade markup value. If set to + False, the list price will not be updated. + - *sale.list_price_round* - decimal number to which the list price + is rounded - - + - - - New fields added in product template: + - New fields added in product template: - - last_purchase_price - last purchase price. It's updated at - receipt validation - - trade_markup - trade markup for the product. It can be - updated with a wizard (Action->Set trade markup) + - last_purchase_price - last purchase price. It's updated at + receipt validation + - trade_markup - trade markup for the product. It can be updated + with a wizard (Action->Set trade markup) - - + - - - New feature: + - New feature: - - if trade_markup **is set** for a product, at reception the - sale price will be computed from last_purchase_price and - trade_markup + - if trade_markup **is set** for a product, at reception the sale + price will be computed from last_purchase_price and trade_markup **Table of contents** diff --git a/deltatech_purchase_price/static/description/index.html b/deltatech_purchase_price/static/description/index.html index 15cc703366..30817e0925 100644 --- a/deltatech_purchase_price/static/description/index.html +++ b/deltatech_purchase_price/static/description/index.html @@ -22,22 +22,20 @@

        Purchase Price

      • Update purchase price after receipt
        • Depends on system parameters:
            -
          • purchase.update_standard_price - If set to True, the -product’s standard_price will be overwritten
          • -
          • purchase.update_product_price - if set to False, the -product supplier’s price will not be modified, if set to -True, the product’s supplier price will be allways -overwritten
          • +
          • purchase.update_standard_price - If set to True, the product’s +standard_price will be overwritten
          • +
          • purchase.update_product_price - if set to False, the product +supplier’s price will not be modified, if set to True, the +product’s supplier price will be allways overwritten
          • purchase.add_supplier_to_product - if set to True, the supplier and the price will be automatically added to the -supplier info of the product, if set to False, no -modifications will be made in the supplier info of the -product
          • -
          • purchase.update_list_price - if set to True, the list -price will be updated according to trade markup value. If -set to False, the list price will not be updated.
          • -
          • sale.list_price_round - decimal number to which the list -price is rounded
          • +supplier info of the product, if set to False, no modifications +will be made in the supplier info of the product +
          • purchase.update_list_price - if set to True, the list price +will be updated according to trade markup value. If set to +False, the list price will not be updated.
          • +
          • sale.list_price_round - decimal number to which the list price +is rounded
        @@ -46,17 +44,16 @@

        Purchase Price

      • New fields added in product template:
        • last_purchase_price - last purchase price. It’s updated at receipt validation
        • -
        • trade_markup - trade markup for the product. It can be -updated with a wizard (Action->Set trade markup)
        • +
        • trade_markup - trade markup for the product. It can be updated +with a wizard (Action->Set trade markup)
      • New feature:
          -
        • if trade_markup is set for a product, at reception the -sale price will be computed from last_purchase_price and -trade_markup
        • +
        • if trade_markup is set for a product, at reception the sale +price will be computed from last_purchase_price and trade_markup
      diff --git a/deltatech_purchase_price_history/README.rst b/deltatech_purchase_price_history/README.rst index e3659c8d88..b2f66ec539 100644 --- a/deltatech_purchase_price_history/README.rst +++ b/deltatech_purchase_price_history/README.rst @@ -24,13 +24,13 @@ Purchase Price History Features: -- Minimum, maximum and average purchase prices from tha last 12 months - are displayed in the Purchase tab of the product template -- The values are stored and computed by cron job (planned action) -- The values are computed from suppliers bills, and are always in the - company's currency -- not recommended for multi-company environments (due to multiple - company currencies) +- Minimum, maximum and average purchase prices from tha last 12 months + are displayed in the Purchase tab of the product template +- The values are stored and computed by cron job (planned action) +- The values are computed from suppliers bills, and are always in the + company's currency +- not recommended for multi-company environments (due to multiple + company currencies) **Table of contents** diff --git a/deltatech_purchase_refund/README.rst b/deltatech_purchase_refund/README.rst index e84b68bc8f..ff69858f0c 100644 --- a/deltatech_purchase_refund/README.rst +++ b/deltatech_purchase_refund/README.rst @@ -22,9 +22,9 @@ Refund Purchase |badge1| |badge2| |badge3| -- Features: +- Features: - - Generara fatura de retur pentru cantitatile negative de facturat. + - Generara fatura de retur pentru cantitatile negative de facturat. **Table of contents** diff --git a/deltatech_purchase_stock/README.rst b/deltatech_purchase_stock/README.rst index 7a828fe704..33ce9432af 100644 --- a/deltatech_purchase_stock/README.rst +++ b/deltatech_purchase_stock/README.rst @@ -24,7 +24,7 @@ Purchase Stock Features: -- Separate manual purchase orders from replenishment purchase orders +- Separate manual purchase orders from replenishment purchase orders **Table of contents** diff --git a/deltatech_purchase_xls/README.rst b/deltatech_purchase_xls/README.rst index f9b98707fc..7c215f8d0c 100644 --- a/deltatech_purchase_xls/README.rst +++ b/deltatech_purchase_xls/README.rst @@ -22,9 +22,9 @@ Deltatech Purchase XLS |badge1| |badge2| |badge3| -- Features: +- Features: - - Import purchase line from Excel + - Import purchase line from Excel **Table of contents** diff --git a/deltatech_purchase_xls/wizard/export_purchase_line.py b/deltatech_purchase_xls/wizard/export_purchase_line.py index b270572af6..b7688adfb9 100644 --- a/deltatech_purchase_xls/wizard/export_purchase_line.py +++ b/deltatech_purchase_xls/wizard/export_purchase_line.py @@ -2,7 +2,6 @@ from io import BytesIO import xlsxwriter - from odoo import fields, models diff --git a/deltatech_queue_job/README.rst b/deltatech_queue_job/README.rst index f1b58481f9..a70284096a 100644 --- a/deltatech_queue_job/README.rst +++ b/deltatech_queue_job/README.rst @@ -24,7 +24,7 @@ Deltatech Queue Job Enhancements Features: -- Imbunatatiri la modulul Job Queue +- Imbunatatiri la modulul Job Queue .. IMPORTANT:: This is an alpha version, the data model and design can change at any time without warning. diff --git a/deltatech_ral/README.rst b/deltatech_ral/README.rst index e3e5453344..d2d4d287f3 100644 --- a/deltatech_ral/README.rst +++ b/deltatech_ral/README.rst @@ -24,25 +24,25 @@ RAL Features: -- Allows the selection of a pigment (RAL) in production order. -- The pigment is a material which have code that starts with RAL. -- If in BOM it is used the pigment RAL 0000 it will be replaced with - the pigment from production order. -- The batch will be created automatically upon order confirmation and - will have the pigment from production order. +- Allows the selection of a pigment (RAL) in production order. +- The pigment is a material which have code that starts with RAL. +- If in BOM it is used the pigment RAL 0000 it will be replaced with the + pigment from production order. +- The batch will be created automatically upon order confirmation and + will have the pigment from production order. Instruction: -- Create the product "Dummy RAL" and set it's internal reference to - "RAL 0000". -- In the BOM a the product that uses pigments set the "Dummy RAL" as a - component (WITHOUT SELECTING A VARIANT). -- In the final product should have a colour type attribute -- Create the pigment products with internal reference "RAL color" where - you substitute 'color' with the name of the of the option from the - attribute of the final product (e.g. RAL White, RAL Rose etc.) -- When creating the production order for a variant the dummy RAL - product will be replaced with the corresponding RAL pigment. +- Create the product "Dummy RAL" and set it's internal reference to "RAL + 0000". +- In the BOM a the product that uses pigments set the "Dummy RAL" as a + component (WITHOUT SELECTING A VARIANT). +- In the final product should have a colour type attribute +- Create the pigment products with internal reference "RAL color" where + you substitute 'color' with the name of the of the option from the + attribute of the final product (e.g. RAL White, RAL Rose etc.) +- When creating the production order for a variant the dummy RAL product + will be replaced with the corresponding RAL pigment. **Table of contents** diff --git a/deltatech_ral/static/description/index.html b/deltatech_ral/static/description/index.html index 4a2b84a45f..35d9eba9ef 100644 --- a/deltatech_ral/static/description/index.html +++ b/deltatech_ral/static/description/index.html @@ -21,23 +21,23 @@

      RAL

      • Allows the selection of a pigment (RAL) in production order.
      • The pigment is a material which have code that starts with RAL.
      • -
      • If in BOM it is used the pigment RAL 0000 it will be replaced with -the pigment from production order.
      • +
      • If in BOM it is used the pigment RAL 0000 it will be replaced with the +pigment from production order.
      • The batch will be created automatically upon order confirmation and will have the pigment from production order.

      Instruction:

        -
      • Create the product “Dummy RAL” and set it’s internal reference to -“RAL 0000”.
      • +
      • Create the product “Dummy RAL” and set it’s internal reference to “RAL +0000”.
      • In the BOM a the product that uses pigments set the “Dummy RAL” as a component (WITHOUT SELECTING A VARIANT).
      • In the final product should have a colour type attribute
      • Create the pigment products with internal reference “RAL color” where you substitute ‘color’ with the name of the of the option from the attribute of the final product (e.g. RAL White, RAL Rose etc.)
      • -
      • When creating the production order for a variant the dummy RAL -product will be replaced with the corresponding RAL pigment.
      • +
      • When creating the production order for a variant the dummy RAL product +will be replaced with the corresponding RAL pigment.

      Table of contents

      diff --git a/deltatech_record_type/README.rst b/deltatech_record_type/README.rst index f51ed24eb3..a7048d2d71 100644 --- a/deltatech_record_type/README.rst +++ b/deltatech_record_type/README.rst @@ -24,9 +24,9 @@ Terrabit - Record Type Features: -- Types can be defined for records sale.order, purchase.order, - account.move -- If a model has no types defined, the type field will not be displayed +- Types can be defined for records sale.order, purchase.order, + account.move +- If a model has no types defined, the type field will not be displayed **Table of contents** diff --git a/deltatech_replenish/README.rst b/deltatech_replenish/README.rst index 68529f8b65..264e62d905 100644 --- a/deltatech_replenish/README.rst +++ b/deltatech_replenish/README.rst @@ -24,8 +24,8 @@ Deltatech Replenish Features: -- Add the "Supplier" field on the replenish wizard to select the vendor - from who you want to replenish the product +- Add the "Supplier" field on the replenish wizard to select the vendor + from who you want to replenish the product **Table of contents** diff --git a/deltatech_report_packaging/README.rst b/deltatech_report_packaging/README.rst index 9d152b23f8..c91625f078 100644 --- a/deltatech_report_packaging/README.rst +++ b/deltatech_report_packaging/README.rst @@ -22,9 +22,9 @@ Report Packaging |badge1| |badge2| |badge3| -- Features: +- Features: - - Report packing materials used for products invoiced + - Report packing materials used for products invoiced **Table of contents** diff --git a/deltatech_report_prn/README.rst b/deltatech_report_prn/README.rst index 49429745af..6fe101d386 100644 --- a/deltatech_report_prn/README.rst +++ b/deltatech_report_prn/README.rst @@ -24,8 +24,8 @@ Raport PRN Features: -- It allows the printing of files with the .prn extension. These are - files that have syntax for Zebra label printers. +- It allows the printing of files with the .prn extension. These are + files that have syntax for Zebra label printers. **Table of contents** diff --git a/deltatech_report_prn/controllers/main.py b/deltatech_report_prn/controllers/main.py index b60aca3e40..627161481a 100644 --- a/deltatech_report_prn/controllers/main.py +++ b/deltatech_report_prn/controllers/main.py @@ -5,12 +5,10 @@ import json import time -from werkzeug.urls import url_decode - +import odoo.addons.web.controllers.report as report from odoo.http import content_disposition, request, route from odoo.tools.safe_eval import safe_eval - -import odoo.addons.web.controllers.report as report +from werkzeug.urls import url_decode class ReportController(report.ReportController): diff --git a/deltatech_restricted_access/README.rst b/deltatech_restricted_access/README.rst index b8d8666379..106477b80d 100644 --- a/deltatech_restricted_access/README.rst +++ b/deltatech_restricted_access/README.rst @@ -24,8 +24,8 @@ Restricted Access Features: -- Add "Edit sensible data" on the permission page to allow editing of - of the name for the product category, stock location and uom. +- Add "Edit sensible data" on the permission page to allow editing of of + the name for the product category, stock location and uom. **Table of contents** diff --git a/deltatech_restricted_access/static/description/index.html b/deltatech_restricted_access/static/description/index.html index 14e2603689..922fce55ec 100644 --- a/deltatech_restricted_access/static/description/index.html +++ b/deltatech_restricted_access/static/description/index.html @@ -19,8 +19,8 @@

      Restricted Access

      Beta License: OPL-1 dhongu/deltatech

      Features:

        -
      • Add “Edit sensible data” on the permission page to allow editing of -of the name for the product category, stock location and uom.
      • +
      • Add “Edit sensible data” on the permission page to allow editing of of +the name for the product category, stock location and uom.

      Table of contents

      diff --git a/deltatech_sale_add_extra_line/README.rst b/deltatech_sale_add_extra_line/README.rst index 12732ceade..8e17a6e83c 100644 --- a/deltatech_sale_add_extra_line/README.rst +++ b/deltatech_sale_add_extra_line/README.rst @@ -10,9 +10,9 @@ Sale Add Extra Line !! source digest: sha256:c062bc9c14aec836be0e0e0622364b98825b7133ec9c7093f624fe57f88ddb88 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png +.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png :target: https://odoo-community.org/page/development-status - :alt: Beta + :alt: Production/Stable .. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 @@ -22,15 +22,15 @@ Sale Add Extra Line |badge1| |badge2| |badge3| -- Features: +- Features: - - Automatically adds an extra line for configured products in sale - order - - The product added in the extra line can be configured in the - product template - - The unit price of the extra line is computed from the percent - configured in the product. If the percent is zero, the price will - be the list price of the added product + - Automatically adds an extra line for configured products in sale + order + - The product added in the extra line can be configured in the product + template + - The unit price of the extra line is computed from the percent + configured in the product. If the percent is zero, the price will be + the list price of the added product **Table of contents** diff --git a/deltatech_sale_add_extra_line/static/description/index.html b/deltatech_sale_add_extra_line/static/description/index.html index 899f5e338a..3d7a9b1a2a 100644 --- a/deltatech_sale_add_extra_line/static/description/index.html +++ b/deltatech_sale_add_extra_line/static/description/index.html @@ -16,16 +16,16 @@

      Sale Add Extra Line

      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:c062bc9c14aec836be0e0e0622364b98825b7133ec9c7093f624fe57f88ddb88 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

      Beta License: LGPL-3 dhongu/deltatech

      +

      Production/Stable License: LGPL-3 dhongu/deltatech

      • Features:
        • Automatically adds an extra line for configured products in sale order
        • -
        • The product added in the extra line can be configured in the -product template
        • +
        • The product added in the extra line can be configured in the product +template
        • The unit price of the extra line is computed from the percent -configured in the product. If the percent is zero, the price will -be the list price of the added product
        • +configured in the product. If the percent is zero, the price will be +the list price of the added product
      diff --git a/deltatech_sale_add_extra_line_pos/README.rst b/deltatech_sale_add_extra_line_pos/README.rst index 14f9529fca..e5a7be9ca9 100644 --- a/deltatech_sale_add_extra_line_pos/README.rst +++ b/deltatech_sale_add_extra_line_pos/README.rst @@ -10,20 +10,21 @@ POS Add Extra Line !! source digest: sha256:02ce04186583f7900dff4030930bc906b7d76a682cb432d53d533caa7e1e574a !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png +.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png :target: https://odoo-community.org/page/development-status - :alt: Beta + :alt: Production/Stable .. |badge2| image:: https://img.shields.io/badge/licence-OPL--1-blue.png :target: https://www.odoo.com/documentation/master/legal/licenses.html :alt: License: OPL-1 .. |badge3| image:: https://img.shields.io/badge/github-dhongu%2Fdeltatech-lightgray.png?logo=github - :target: https://github.com/dhongu/deltatech/tree/16.0/deltatech_sale_add_extra_line_pos + :target: https://github.com/dhongu/deltatech/tree/17.0/deltatech_sale_add_extra_line_pos :alt: dhongu/deltatech |badge1| |badge2| |badge3| Features: - - Automatically add an extra line for configured products in POS order + +- Automatically add an extra line for configured products in POS order **Table of contents** @@ -42,13 +43,13 @@ Credits ======= Authors -~~~~~~~ +------- * Terrabit * Dorin Hongu Maintainers -~~~~~~~~~~~ +----------- .. |maintainer-dhongu| image:: https://github.com/dhongu.png?size=40px :target: https://github.com/dhongu @@ -58,6 +59,6 @@ Current maintainer: |maintainer-dhongu| -This module is part of the `dhongu/deltatech `_ project on GitHub. +This module is part of the `dhongu/deltatech `_ project on GitHub. You are welcome to contribute. diff --git a/deltatech_sale_add_extra_line_pos/readme/DESCRIPTION.md b/deltatech_sale_add_extra_line_pos/readme/DESCRIPTION.md new file mode 100644 index 0000000000..573c1cfd97 --- /dev/null +++ b/deltatech_sale_add_extra_line_pos/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +Features: +- Automatically add an extra line for configured products in POS order diff --git a/deltatech_sale_add_extra_line_pos/readme/DESCRIPTION.rst b/deltatech_sale_add_extra_line_pos/readme/DESCRIPTION.rst deleted file mode 100644 index e7b987dc26..0000000000 --- a/deltatech_sale_add_extra_line_pos/readme/DESCRIPTION.rst +++ /dev/null @@ -1,2 +0,0 @@ -Features: - - Automatically add an extra line for configured products in POS order diff --git a/deltatech_sale_add_extra_line_pos/static/description/index.html b/deltatech_sale_add_extra_line_pos/static/description/index.html index b3ca95908f..a3cb7af13c 100644 --- a/deltatech_sale_add_extra_line_pos/static/description/index.html +++ b/deltatech_sale_add_extra_line_pos/static/description/index.html @@ -16,14 +16,11 @@

      POS Add Extra Line

      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:02ce04186583f7900dff4030930bc906b7d76a682cb432d53d533caa7e1e574a !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

      Beta License: OPL-1 dhongu/deltatech

      -
      -
      Features:
      -
        +

        Production/Stable License: OPL-1 dhongu/deltatech

        +

        Features:

        +
        • Automatically add an extra line for configured products in POS order
        -
      -

      Table of contents

      diff --git a/deltatech_sale_commission/README.rst b/deltatech_sale_commission/README.rst index 4e9b39148e..a6164053fa 100644 --- a/deltatech_sale_commission/README.rst +++ b/deltatech_sale_commission/README.rst @@ -22,19 +22,18 @@ Sale Commission |badge1| |badge2| |badge3| -- Features: - - - New technical access group for display margin and purchase price - in customer invoice - - Technical access group to prevent changing price in customer - invoice - - New technical access group to allow sale price below the purchase - price - - Warning/Error on customer invoice if sale price is below the - purchase price - - New report for analysis profitability - - Calculation of sales commissions on sale order salesperson or - invoice salesperson (configurable) +- Features: + + - New technical access group for display margin and purchase price in + customer invoice + - Technical access group to prevent changing price in customer invoice + - New technical access group to allow sale price below the purchase + price + - Warning/Error on customer invoice if sale price is below the + purchase price + - New report for analysis profitability + - Calculation of sales commissions on sale order salesperson or + invoice salesperson (configurable) **Table of contents** diff --git a/deltatech_sale_commission/static/description/index.html b/deltatech_sale_commission/static/description/index.html index 44f7b224ca..c39a9d910f 100644 --- a/deltatech_sale_commission/static/description/index.html +++ b/deltatech_sale_commission/static/description/index.html @@ -19,10 +19,9 @@

      Sale Commission

      Mature License: OPL-1 dhongu/deltatech

      • Features:
          -
        • New technical access group for display margin and purchase price -in customer invoice
        • -
        • Technical access group to prevent changing price in customer -invoice
        • +
        • New technical access group for display margin and purchase price in +customer invoice
        • +
        • Technical access group to prevent changing price in customer invoice
        • New technical access group to allow sale price below the purchase price
        • Warning/Error on customer invoice if sale price is below the diff --git a/deltatech_sale_contact/README.rst b/deltatech_sale_contact/README.rst index 92fd7dc019..ec0e5828b5 100644 --- a/deltatech_sale_contact/README.rst +++ b/deltatech_sale_contact/README.rst @@ -22,9 +22,9 @@ Sale Contact |badge1| |badge2| |badge3| -- Features: +- Features: - - Limitare selectare contacte + - Limitare selectare contacte **Table of contents** diff --git a/deltatech_sale_cost_product/README.rst b/deltatech_sale_cost_product/README.rst index 7d1f87773b..0d7cc6fb92 100644 --- a/deltatech_sale_cost_product/README.rst +++ b/deltatech_sale_cost_product/README.rst @@ -22,7 +22,7 @@ Deltatech Sale Cost on Order |badge1| |badge2| |badge3| -- Features: +- Features: **Table of contents** diff --git a/deltatech_sale_feedback/README.rst b/deltatech_sale_feedback/README.rst index a79eeb56c8..0fceb52ebd 100644 --- a/deltatech_sale_feedback/README.rst +++ b/deltatech_sale_feedback/README.rst @@ -24,20 +24,20 @@ Sale Feedback Features: -- Sends an automated e-mail to clients based on out invoices -- A cron job (default not active) is used to send the e-mails at 3 days - after the invoice date. Another interval can be set using the - sale.days_request_feedback system parameter -- E-mail template used: Invoice: request feedback +- Sends an automated e-mail to clients based on out invoices +- A cron job (default not active) is used to send the e-mails at 3 days + after the invoice date. Another interval can be set using the + sale.days_request_feedback system parameter +- E-mail template used: Invoice: request feedback Descriere: -- Trimite la client un email pentru a cere feedback pentru produsele - vandute. -- Trimiterea se face prin cron job (la instalare inactiv), default la 3 - zile dupa data facturii. Daca se doreste alt interval, se foloseste - paramentrul de sistem sale.days_request_feedback -- Template-ul de e-mail: Invoice: request feedback +- Trimite la client un email pentru a cere feedback pentru produsele + vandute. +- Trimiterea se face prin cron job (la instalare inactiv), default la 3 + zile dupa data facturii. Daca se doreste alt interval, se foloseste + paramentrul de sistem sale.days_request_feedback +- Template-ul de e-mail: Invoice: request feedback **Table of contents** diff --git a/deltatech_sale_feedback/models/account_invoice.py b/deltatech_sale_feedback/models/account_invoice.py index 8757b45701..1d2417724a 100644 --- a/deltatech_sale_feedback/models/account_invoice.py +++ b/deltatech_sale_feedback/models/account_invoice.py @@ -5,7 +5,6 @@ from datetime import date from dateutil.relativedelta import relativedelta - from odoo import api, models from odoo.tools.safe_eval import safe_eval diff --git a/deltatech_sale_followup/README.rst b/deltatech_sale_followup/README.rst index f50dbed216..4f8ef827a3 100644 --- a/deltatech_sale_followup/README.rst +++ b/deltatech_sale_followup/README.rst @@ -24,10 +24,10 @@ Sale Followup Features: -- Sends an automated e-mail to clients based on sale order -- A cron job (default not active) is used to send the e-mails after the - sale order. -- E-mail template used: Sale order: send followup +- Sends an automated e-mail to clients based on sale order +- A cron job (default not active) is used to send the e-mails after the + sale order. +- E-mail template used: Sale order: send followup **Table of contents** diff --git a/deltatech_sale_followup/models/sale_order.py b/deltatech_sale_followup/models/sale_order.py index 84d3db550a..f8ef1c32d9 100644 --- a/deltatech_sale_followup/models/sale_order.py +++ b/deltatech_sale_followup/models/sale_order.py @@ -5,7 +5,6 @@ from datetime import date from dateutil.relativedelta import relativedelta - from odoo import api, fields, models diff --git a/deltatech_sale_followup/tests/test_sale_followup.py b/deltatech_sale_followup/tests/test_sale_followup.py index ce5a85eb2e..756bf4c87f 100644 --- a/deltatech_sale_followup/tests/test_sale_followup.py +++ b/deltatech_sale_followup/tests/test_sale_followup.py @@ -1,7 +1,6 @@ from datetime import date, timedelta from dateutil.relativedelta import relativedelta - from odoo.tests.common import TransactionCase diff --git a/deltatech_sale_margin/README.rst b/deltatech_sale_margin/README.rst index e88f21f5a0..654ca17bc5 100644 --- a/deltatech_sale_margin/README.rst +++ b/deltatech_sale_margin/README.rst @@ -22,15 +22,15 @@ Sale Margin |badge1| |badge2| |badge3| -- Features: - - - New technical access group to hide margin and purchase price in - sale order - - New technical access group to prevent changing price in sale order - - New technical access group to allow sale price below the purchase - price - - Warning/Error on sale order if sale price is below the purchase - price +- Features: + + - New technical access group to hide margin and purchase price in sale + order + - New technical access group to prevent changing price in sale order + - New technical access group to allow sale price below the purchase + price + - Warning/Error on sale order if sale price is below the purchase + price sale.check_price_website - parmanetru pentru verificare pret pentru comenzile de pe website sale.margin_limit_check_validate - system diff --git a/deltatech_sale_margin/static/description/index.html b/deltatech_sale_margin/static/description/index.html index 5c9402090c..f18bbd5e3b 100644 --- a/deltatech_sale_margin/static/description/index.html +++ b/deltatech_sale_margin/static/description/index.html @@ -19,8 +19,8 @@

          Sale Margin

          Mature License: OPL-1 dhongu/deltatech

          • Features:
              -
            • New technical access group to hide margin and purchase price in -sale order
            • +
            • New technical access group to hide margin and purchase price in sale +order
            • New technical access group to prevent changing price in sale order
            • New technical access group to allow sale price below the purchase price
            • diff --git a/deltatech_sale_multiple/README.rst b/deltatech_sale_multiple/README.rst index 93a0bdfe20..add03c107c 100644 --- a/deltatech_sale_multiple/README.rst +++ b/deltatech_sale_multiple/README.rst @@ -24,13 +24,12 @@ Sale Qty Multiple Features: -- You can set a minimum quantity and a multiple quantity on the - product. -- if you try to sell less than minimum the number will be set to the - minimum quantity. -- if you set multiple quantity you can sell only in multiple of this - number. -- if set to 0 neither minimum nor multiple quantity will be checked. +- You can set a minimum quantity and a multiple quantity on the product. +- if you try to sell less than minimum the number will be set to the + minimum quantity. +- if you set multiple quantity you can sell only in multiple of this + number. +- if set to 0 neither minimum nor multiple quantity will be checked. **Table of contents** diff --git a/deltatech_sale_multiple/static/description/index.html b/deltatech_sale_multiple/static/description/index.html index 989b8cf152..3dfad47c90 100644 --- a/deltatech_sale_multiple/static/description/index.html +++ b/deltatech_sale_multiple/static/description/index.html @@ -19,8 +19,7 @@

              Sale Qty Multiple

              Beta License: LGPL-3 dhongu/deltatech

              Features:

                -
              • You can set a minimum quantity and a multiple quantity on the -product.
              • +
              • You can set a minimum quantity and a multiple quantity on the product.
              • if you try to sell less than minimum the number will be set to the minimum quantity.
              • if you set multiple quantity you can sell only in multiple of this diff --git a/deltatech_sale_multiple_website/README.rst b/deltatech_sale_multiple_website/README.rst index 1af91c9a17..3fa690165a 100644 --- a/deltatech_sale_multiple_website/README.rst +++ b/deltatech_sale_multiple_website/README.rst @@ -22,9 +22,9 @@ eCommerce Qty Multiple |badge1| |badge2| |badge3| -- Features: +- Features: - - Sale of multiple quantity + - Sale of multiple quantity **Table of contents** diff --git a/deltatech_sale_pallet/README.rst b/deltatech_sale_pallet/README.rst index 187541b3d5..8a61d89d21 100644 --- a/deltatech_sale_pallet/README.rst +++ b/deltatech_sale_pallet/README.rst @@ -24,14 +24,14 @@ Sale Pallet Features: -- create a product category with the "Pallet" option enabled -- select the pallet product and put in the the above category -- select a min quantity for a pallet -- when creating a sale order with a product that requires pallets, if - you reach the min qty for a pallet, the system will automatically add - a pallet product to the order -- the system will increase the quantity of required pallets when you - reach the next multiple of the min qty for a pallet +- create a product category with the "Pallet" option enabled +- select the pallet product and put in the the above category +- select a min quantity for a pallet +- when creating a sale order with a product that requires pallets, if + you reach the min qty for a pallet, the system will automatically add + a pallet product to the order +- the system will increase the quantity of required pallets when you + reach the next multiple of the min qty for a pallet **Table of contents** diff --git a/deltatech_sale_pallet_website/README.rst b/deltatech_sale_pallet_website/README.rst index d774b4e66c..60a53b9a0d 100644 --- a/deltatech_sale_pallet_website/README.rst +++ b/deltatech_sale_pallet_website/README.rst @@ -24,8 +24,8 @@ Sale Pallet Website Features: -- addon for deltatech_sale_pallet that makes it possible for customers - to see the price of the order with the pallets price included +- addon for deltatech_sale_pallet that makes it possible for customers + to see the price of the order with the pallets price included **Table of contents** diff --git a/deltatech_sale_payment/README.rst b/deltatech_sale_payment/README.rst index ea11d53983..837f2ab801 100644 --- a/deltatech_sale_payment/README.rst +++ b/deltatech_sale_payment/README.rst @@ -22,9 +22,9 @@ Sale Payment |badge1| |badge2| |badge3| -- Features: +- Features: - - Add payment button in sale order + - Add payment button in sale order **Table of contents** diff --git a/deltatech_sale_phone/README.rst b/deltatech_sale_phone/README.rst index d6a8781421..458c32ea7a 100644 --- a/deltatech_sale_phone/README.rst +++ b/deltatech_sale_phone/README.rst @@ -22,9 +22,9 @@ Sale Phone |badge1| |badge2| |badge3| -- Features: +- Features: - - add phone number in sales order + - add phone number in sales order **Table of contents** diff --git a/deltatech_sale_purchase/README.rst b/deltatech_sale_purchase/README.rst index 795208dc99..8fef3a2335 100644 --- a/deltatech_sale_purchase/README.rst +++ b/deltatech_sale_purchase/README.rst @@ -24,7 +24,7 @@ Sale Purchase Features: -- Eliminates product from purchase order when sale order is cancelled +- Eliminates product from purchase order when sale order is cancelled **Table of contents** diff --git a/deltatech_sale_stage/README.rst b/deltatech_sale_stage/README.rst index 65da1a9915..13304a4d43 100644 --- a/deltatech_sale_stage/README.rst +++ b/deltatech_sale_stage/README.rst @@ -24,8 +24,8 @@ Deltatech Sale Order Stage Features: -- Additional field in the sales order to specify the phase in which the - order is +- Additional field in the sales order to specify the phase in which the + order is **Table of contents** diff --git a/deltatech_sale_transfer/README.rst b/deltatech_sale_transfer/README.rst index 473c9dc488..485d9d5851 100644 --- a/deltatech_sale_transfer/README.rst +++ b/deltatech_sale_transfer/README.rst @@ -22,10 +22,10 @@ Sale Prepare Transfer |badge1| |badge2| |badge3| -- Features: +- Features: - - At sale order validation, stock is checked in other warehouses and - a transfer is generated if demand quantity is not available + - At sale order validation, stock is checked in other warehouses and a + transfer is generated if demand quantity is not available **Table of contents** diff --git a/deltatech_sale_transfer/static/description/index.html b/deltatech_sale_transfer/static/description/index.html index fe055fb289..40474ecc99 100644 --- a/deltatech_sale_transfer/static/description/index.html +++ b/deltatech_sale_transfer/static/description/index.html @@ -19,8 +19,8 @@

                Sale Prepare Transfer

                Production/Stable License: LGPL-3 dhongu/deltatech

                • Features:
                    -
                  • At sale order validation, stock is checked in other warehouses and -a transfer is generated if demand quantity is not available
                  • +
                  • At sale order validation, stock is checked in other warehouses and a +transfer is generated if demand quantity is not available
                diff --git a/deltatech_saleorder_pickup_list/README.rst b/deltatech_saleorder_pickup_list/README.rst index c563c105db..4810e901c0 100644 --- a/deltatech_saleorder_pickup_list/README.rst +++ b/deltatech_saleorder_pickup_list/README.rst @@ -24,7 +24,7 @@ Deltatech Sale Order Pickup List Features: -- Report with pickup list from sale order +- Report with pickup list from sale order **Table of contents** diff --git a/deltatech_saleorder_type/README.rst b/deltatech_saleorder_type/README.rst index 163dc7c1e8..607f2d9acd 100644 --- a/deltatech_saleorder_type/README.rst +++ b/deltatech_saleorder_type/README.rst @@ -22,9 +22,9 @@ Terrabit - Sale Order Type - Obsolete |badge1| |badge2| |badge3| -- Features: +- Features: - - + - **Table of contents** diff --git a/deltatech_select_journal/README.rst b/deltatech_select_journal/README.rst index 31d41a3e92..40a273a6ce 100644 --- a/deltatech_select_journal/README.rst +++ b/deltatech_select_journal/README.rst @@ -10,9 +10,9 @@ Deltatech Select Journal - Obsolete !! source digest: sha256:0734c99841fbbaf6ff52f0272b14da074d39752ea72595db2bbc83a188eb2db7 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png +.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png :target: https://odoo-community.org/page/development-status - :alt: Mature + :alt: Production/Stable .. |badge2| image:: https://img.shields.io/badge/licence-OPL--1-blue.png :target: https://www.odoo.com/documentation/master/legal/licenses.html :alt: License: OPL-1 @@ -22,14 +22,14 @@ Deltatech Select Journal - Obsolete |badge1| |badge2| |badge3| -- Features: +- Features: - - Selectie jurnal si termen de plata in momentul generarii facturii - din comanda de vanzare - - la stergerea unui produs din lista unei comenzi de vanzare se - sterge si produsul 'avans' daca nu a fost facturat - - cursul valutar se poate seta in wizard-ul de selectie jurnal - - configurare jurnal de stornare (in jurnal) + - Selectie jurnal si termen de plata in momentul generarii facturii + din comanda de vanzare + - la stergerea unui produs din lista unei comenzi de vanzare se sterge + si produsul 'avans' daca nu a fost facturat + - cursul valutar se poate seta in wizard-ul de selectie jurnal + - configurare jurnal de stornare (in jurnal) **Table of contents** diff --git a/deltatech_select_journal/static/description/index.html b/deltatech_select_journal/static/description/index.html index 792d8fc63a..8b8c28076d 100644 --- a/deltatech_select_journal/static/description/index.html +++ b/deltatech_select_journal/static/description/index.html @@ -16,13 +16,13 @@

                Deltatech Select Journal - Obsolete

                !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:0734c99841fbbaf6ff52f0272b14da074d39752ea72595db2bbc83a188eb2db7 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

                Mature License: OPL-1 dhongu/deltatech

                +

                Production/Stable License: OPL-1 dhongu/deltatech

                • Features:
                  • Selectie jurnal si termen de plata in momentul generarii facturii din comanda de vanzare
                  • -
                  • la stergerea unui produs din lista unei comenzi de vanzare se -sterge si produsul ‘avans’ daca nu a fost facturat
                  • +
                  • la stergerea unui produs din lista unei comenzi de vanzare se sterge +si produsul ‘avans’ daca nu a fost facturat
                  • cursul valutar se poate seta in wizard-ul de selectie jurnal
                  • configurare jurnal de stornare (in jurnal)
                  diff --git a/deltatech_service_agreement/README.rst b/deltatech_service_agreement/README.rst index 4e5543d4cf..d6f5048e5b 100644 --- a/deltatech_service_agreement/README.rst +++ b/deltatech_service_agreement/README.rst @@ -24,14 +24,14 @@ Services Agreement Features: -- Offers the possibility to define service contracts. +- Offers the possibility to define service contracts. - - in contract you can specify: currency, billing date, recurrence + - in contract you can specify: currency, billing date, recurrence -- Periodically based on these contracts invoices are generated +- Periodically based on these contracts invoices are generated - - planned service consumptions can be updated with the actual ones - before billing + - planned service consumptions can be updated with the actual ones + before billing **Table of contents** diff --git a/deltatech_service_agreement/models/service_agreement.py b/deltatech_service_agreement/models/service_agreement.py index 15e78533b3..d1e04564b1 100644 --- a/deltatech_service_agreement/models/service_agreement.py +++ b/deltatech_service_agreement/models/service_agreement.py @@ -3,7 +3,6 @@ from dateutil.relativedelta import relativedelta - from odoo import _, api, fields, models from odoo.exceptions import UserError diff --git a/deltatech_service_base/models/service_cycle.py b/deltatech_service_base/models/service_cycle.py index 5e1fd84039..06be3feaa2 100644 --- a/deltatech_service_base/models/service_cycle.py +++ b/deltatech_service_base/models/service_cycle.py @@ -4,7 +4,6 @@ from datetime import timedelta from dateutil.relativedelta import relativedelta - from odoo import api, fields, models diff --git a/deltatech_service_base/models/service_date_range.py b/deltatech_service_base/models/service_date_range.py index f926c6114d..f686ae8a4a 100644 --- a/deltatech_service_base/models/service_date_range.py +++ b/deltatech_service_base/models/service_date_range.py @@ -3,7 +3,6 @@ from dateutil.relativedelta import relativedelta - from odoo import api, fields, models diff --git a/deltatech_service_consumable/tests/test_equipment.py b/deltatech_service_consumable/tests/test_equipment.py index 34eae5b705..b5383ae6c5 100644 --- a/deltatech_service_consumable/tests/test_equipment.py +++ b/deltatech_service_consumable/tests/test_equipment.py @@ -2,11 +2,10 @@ # See README.rst file on addons root folder for license details -from odoo.tests import Form -from odoo.tools.safe_eval import safe_eval - from odoo.addons.deltatech_service_agreement.tests.test_agreement import TestAgreement from odoo.addons.deltatech_service_equipment_base.tests.test_service import TestService +from odoo.tests import Form +from odoo.tools.safe_eval import safe_eval class TestAgreementEquipment(TestAgreement, TestService): diff --git a/deltatech_service_equipment/README.rst b/deltatech_service_equipment/README.rst index 908387ceae..49f00eb2d7 100644 --- a/deltatech_service_equipment/README.rst +++ b/deltatech_service_equipment/README.rst @@ -22,14 +22,14 @@ Services Equipment |badge1| |badge2| |badge3| -- Features: - - - equipment management - - counters management - - reading counters management - - biling based on readings - - reading estimate calculation - - automatic introduction at end of the period at estimated values +- Features: + + - equipment management + - counters management + - reading counters management + - biling based on readings + - reading estimate calculation + - automatic introduction at end of the period at estimated values **Table of contents** diff --git a/deltatech_service_equipment/models/service_equipment.py b/deltatech_service_equipment/models/service_equipment.py index 2f7ae5317b..6c3b1c67a5 100644 --- a/deltatech_service_equipment/models/service_equipment.py +++ b/deltatech_service_equipment/models/service_equipment.py @@ -5,7 +5,6 @@ from datetime import date from dateutil.relativedelta import relativedelta - from odoo import _, api, fields, models from odoo.exceptions import UserError diff --git a/deltatech_service_equipment/tests/test_equipment.py b/deltatech_service_equipment/tests/test_equipment.py index 22c436fec2..f476c6905c 100644 --- a/deltatech_service_equipment/tests/test_equipment.py +++ b/deltatech_service_equipment/tests/test_equipment.py @@ -2,10 +2,9 @@ # See README.rst file on addons root folder for license details -from odoo.tests import Form - from odoo.addons.deltatech_service_agreement.tests.test_agreement import TestAgreement from odoo.addons.deltatech_service_equipment_base.tests.test_service import TestService +from odoo.tests import Form class TestAgreementEquipment(TestAgreement, TestService): diff --git a/deltatech_service_maintenance/README.rst b/deltatech_service_maintenance/README.rst index 9d89260c99..27c436930e 100644 --- a/deltatech_service_maintenance/README.rst +++ b/deltatech_service_maintenance/README.rst @@ -22,12 +22,12 @@ Deltatech Services Maintenance |badge1| |badge2| |badge3| -- Features: +- Features: - - gestionare sesizari - - gestionare comenzi de service - - gestionare planuri de revizii - - generare automat a comenzilor de service in baza planului + - gestionare sesizari + - gestionare comenzi de service + - gestionare planuri de revizii + - generare automat a comenzilor de service in baza planului ToDo: de utilizat si modulul de maintenance diff --git a/deltatech_service_maintenance_agreement/README.rst b/deltatech_service_maintenance_agreement/README.rst index fa56ce4892..cb39c15945 100644 --- a/deltatech_service_maintenance_agreement/README.rst +++ b/deltatech_service_maintenance_agreement/README.rst @@ -24,7 +24,7 @@ Deltatech Services Maintenance Agreement Features: -- bridges the gap between contracts and orders +- bridges the gap between contracts and orders **Table of contents** diff --git a/deltatech_service_maintenance_plan/README.rst b/deltatech_service_maintenance_plan/README.rst index 48edd5fd8c..da12f14a6e 100644 --- a/deltatech_service_maintenance_plan/README.rst +++ b/deltatech_service_maintenance_plan/README.rst @@ -24,8 +24,8 @@ Deltatech Services Maintenance Plan Features: -- maintenance plan management -- automatic service orders generation based on the plan +- maintenance plan management +- automatic service orders generation based on the plan **Table of contents** diff --git a/deltatech_sms/README.rst b/deltatech_sms/README.rst index aac4de8656..e7fc099ce7 100644 --- a/deltatech_sms/README.rst +++ b/deltatech_sms/README.rst @@ -22,15 +22,15 @@ Deltatech SMS |badge1| |badge2| |badge3| -- Features: +- Features: - - + - - - in endpointse folosesc parametrii: - - {number}: string: E164 formatted phone number, - - {content}: string: content to send + - in endpointse folosesc parametrii: + - {number}: string: E164 formatted phone number, + - {content}: string: content to send -[`https://sms.4pay.ro/smscust/api.send_sms?servID={ID}\\&msg_dst={number}\\&msg_text={content}\\&API\\&password={password}@\\&external_messageID=1](https://sms.4pay.ro/smscust/api.send_sms?servID=%7BID%7D&msg_dst=%7Bnumber%7D&msg_text=%7Bcontent%7D&API&password=%7Bpassword%7D@&external_messageID=1) `__ +`https://sms.4pay.ro/smscust/api.send_sms?servID={ID}\\&msg_dst={number}\\&msg_text={content}\\&API\\&password={password}@\\&external_messageID=1 `__ **Table of contents** @@ -58,10 +58,10 @@ Authors Contributors ------------ -- `Terrabit `__: +- `Terrabit `__: - - Dorin Hongu - - Dan Stoica + - Dorin Hongu + - Dan Stoica Do not contact contributors directly about support or help with technical issues. diff --git a/deltatech_sms/__manifest__.py b/deltatech_sms/__manifest__.py index 0599a19d9e..b09aa33446 100644 --- a/deltatech_sms/__manifest__.py +++ b/deltatech_sms/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Deltatech SMS", "summary": "Send SMS to custom endpoint", - "version": "17.0.1.0.0", + "version": "17.0.1.0.1", "author": "Terrabit, Dorin Hongu, Dan Stoica", "website": "https://www.terrabit.ro", "category": "Extra Tools", diff --git a/deltatech_sms/models/iap.py b/deltatech_sms/models/iap.py index 71f7ea0e06..9068fd29d4 100644 --- a/deltatech_sms/models/iap.py +++ b/deltatech_sms/models/iap.py @@ -2,28 +2,29 @@ # Dorin Hongu Deltatech SMS - +
                  @@ -381,7 +28,7 @@

                  Deltatech SMS

              -

              [https://sms.4pay.ro/smscust/api.send_sms?servID={ID}\&msg_dst={number}\&msg_text={content}\&API\&password={password}@\&external_messageID=1](https://sms.4pay.ro/smscust/api.send_sms?servID=%7BID%7D&msg_dst=%7Bnumber%7D&msg_text=%7Bcontent%7D&API&password=%7Bpassword%7D@&external_messageID=1)

              +

              https://sms.4pay.ro/smscust/api.send_sms?servID={ID}\&msg_dst={number}\&msg_text={content}\&API\&password={password}@\&external_messageID=1

              Table of contents

                diff --git a/deltatech_sms_sale/README.rst b/deltatech_sms_sale/README.rst index 1883b80220..5e6186c9aa 100644 --- a/deltatech_sms_sale/README.rst +++ b/deltatech_sms_sale/README.rst @@ -24,8 +24,8 @@ Deltatech SMS Sale Features: -- can send " We are glad to inform you that your order n° ' + - object.name + ' has been confirmed.'" when you confirm or post sa SO +- can send " We are glad to inform you that your order n° ' + + object.name + ' has been confirmed.'" when you confirm or post sa SO **Table of contents** diff --git a/deltatech_stock_account/README.rst b/deltatech_stock_account/README.rst index 78a4084fb0..7707d8d1f2 100644 --- a/deltatech_stock_account/README.rst +++ b/deltatech_stock_account/README.rst @@ -24,8 +24,8 @@ Stock Account Extension Features: -- adds the stock valuation on the picking -- display the stock valuation on the picking form +- adds the stock valuation on the picking +- display the stock valuation on the picking form **Table of contents** diff --git a/deltatech_stock_analytic/README.rst b/deltatech_stock_analytic/README.rst index 9d6c18ae8e..8da39217a6 100644 --- a/deltatech_stock_analytic/README.rst +++ b/deltatech_stock_analytic/README.rst @@ -24,13 +24,13 @@ Deltatech stock move analytic Features: -- An analytic account can be assign to a stock location -- At stock move confirmation, if both source and destination locations - have analytics accounts set, two analytics line are created: one with - plus (+) sign on the source location analytic and one with minus (-) - sign on the destination location analytic. -- The values for the analytic lines are computed from the stoc move - price unit or, if not present, from the product cost price +- An analytic account can be assign to a stock location +- At stock move confirmation, if both source and destination locations + have analytics accounts set, two analytics line are created: one with + plus (+) sign on the source location analytic and one with minus (-) + sign on the destination location analytic. +- The values for the analytic lines are computed from the stoc move + price unit or, if not present, from the product cost price **Table of contents** diff --git a/deltatech_stock_inventory/README.rst b/deltatech_stock_inventory/README.rst index ddaa64e43c..f0af968db8 100644 --- a/deltatech_stock_inventory/README.rst +++ b/deltatech_stock_inventory/README.rst @@ -22,12 +22,12 @@ Stock Inventory |badge1| |badge2| |badge3| -- Features: +- Features: - - Adds the old stock.inventory model, with its functionalities - - Display stock price column at inventory - - Security group "Can update quantities" is added. Only users in - this group can update product quantities + - Adds the old stock.inventory model, with its functionalities + - Display stock price column at inventory + - Security group "Can update quantities" is added. Only users in this + group can update product quantities If system parameter "stock.use_inventory_price" is set to True, the cost price of the product is updated with the price on the inventory line diff --git a/deltatech_stock_inventory/models/stock_inventory.py b/deltatech_stock_inventory/models/stock_inventory.py index 3f72684970..a50da5895b 100644 --- a/deltatech_stock_inventory/models/stock_inventory.py +++ b/deltatech_stock_inventory/models/stock_inventory.py @@ -1,14 +1,13 @@ # Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import _, api, fields, models +from odoo.addons.base.models.ir_model import MODULE_UNINSTALL_FLAG from odoo.exceptions import UserError, ValidationError from odoo.osv import expression from odoo.tools import float_compare, float_is_zero from odoo.tools.misc import OrderedSet from odoo.tools.safe_eval import safe_eval -from odoo.addons.base.models.ir_model import MODULE_UNINSTALL_FLAG - class Inventory(models.Model): _name = "stock.inventory" diff --git a/deltatech_stock_inventory/static/description/index.html b/deltatech_stock_inventory/static/description/index.html index f62cdcad4f..3798c68da4 100644 --- a/deltatech_stock_inventory/static/description/index.html +++ b/deltatech_stock_inventory/static/description/index.html @@ -21,8 +21,8 @@

                Stock Inventory

              • Features:
                • Adds the old stock.inventory model, with its functionalities
                • Display stock price column at inventory
                • -
                • Security group “Can update quantities” is added. Only users in -this group can update product quantities
                • +
                • Security group “Can update quantities” is added. Only users in this +group can update product quantities
              diff --git a/deltatech_stock_negative/README.rst b/deltatech_stock_negative/README.rst index e601267280..397c0d9ba9 100644 --- a/deltatech_stock_negative/README.rst +++ b/deltatech_stock_negative/README.rst @@ -22,10 +22,10 @@ No Negative Stock |badge1| |badge2| |badge3| -- Features: +- Features: - - No negative stock for internal location - - Allows negative stock at certain locations + - No negative stock for internal location + - Allows negative stock at certain locations **Table of contents** @@ -35,12 +35,12 @@ No Negative Stock Usage ===== -- Inventory -> Configuration -> Settings -- Traceability -> Negative Stock +- Inventory -> Configuration -> Settings +- Traceability -> Negative Stock |image1| -- Inventory -> Configuration -> Location +- Inventory -> Configuration -> Location |image2| diff --git a/deltatech_stock_report/README.rst b/deltatech_stock_report/README.rst index f493acf2b4..75c2c764b3 100644 --- a/deltatech_stock_report/README.rst +++ b/deltatech_stock_report/README.rst @@ -22,9 +22,9 @@ Stock Reports |badge1| |badge2| |badge3| -- Features: +- Features: - - Report with positions from picking lists + - Report with positions from picking lists **Table of contents** diff --git a/deltatech_stock_report/report/monthly_stock_report.py b/deltatech_stock_report/report/monthly_stock_report.py index d180aeab29..6f49990133 100644 --- a/deltatech_stock_report/report/monthly_stock_report.py +++ b/deltatech_stock_report/report/monthly_stock_report.py @@ -3,7 +3,6 @@ # See README.rst file on addons root folder for license details from dateutil.relativedelta import relativedelta - from odoo import _, api, fields, models # todo: de verificat ca sunt utilizate corect unitatile de masura! diff --git a/deltatech_stock_reseller/README.rst b/deltatech_stock_reseller/README.rst index e425b21ebf..d6449d0a5d 100644 --- a/deltatech_stock_reseller/README.rst +++ b/deltatech_stock_reseller/README.rst @@ -24,11 +24,11 @@ Stock Report Reseller Features: -- Report with positions from stock location, with pricelist -- Choose stock location -- Choose partner or pricelist for price computation -- Two thresholds can be set for "text" quantities (i.e. Low stock, - Limited stock, Stock) with their respective stock texts +- Report with positions from stock location, with pricelist +- Choose stock location +- Choose partner or pricelist for price computation +- Two thresholds can be set for "text" quantities (i.e. Low stock, + Limited stock, Stock) with their respective stock texts **Table of contents** diff --git a/deltatech_stock_sn/README.rst b/deltatech_stock_sn/README.rst index 2c858f7499..5515910b36 100644 --- a/deltatech_stock_sn/README.rst +++ b/deltatech_stock_sn/README.rst @@ -24,9 +24,9 @@ Stock Serial Number Features: -- hides used lots -- generates lot number at reception if / is used -- generates warranty certificate +- hides used lots +- generates lot number at reception if / is used +- generates warranty certificate **Table of contents** diff --git a/deltatech_stock_valuation/tests/test_stock_valuation.py b/deltatech_stock_valuation/tests/test_stock_valuation.py index d9d1ee76f0..9ce8c39987 100644 --- a/deltatech_stock_valuation/tests/test_stock_valuation.py +++ b/deltatech_stock_valuation/tests/test_stock_valuation.py @@ -3,11 +3,9 @@ # See README.rst file on addons rcoot folder for license details from dateutil.relativedelta import relativedelta - from odoo import Command, fields -from odoo.tests import tagged - from odoo.addons.account.tests.common import AccountTestInvoicingCommon +from odoo.tests import tagged @tagged("post_install", "-at_install") diff --git a/deltatech_test_system/README.rst b/deltatech_test_system/README.rst index 3342cf9970..5941651de2 100644 --- a/deltatech_test_system/README.rst +++ b/deltatech_test_system/README.rst @@ -24,8 +24,8 @@ Deltatech Test System Features: -- can neutralizes the DB in settings and adds a permanent banner up top - to know the DB is a test DB +- can neutralizes the DB in settings and adds a permanent banner up top + to know the DB is a test DB **Table of contents** diff --git a/deltatech_transfer_product_to_product/README.rst b/deltatech_transfer_product_to_product/README.rst index 5f29bf0351..14f33a1a68 100644 --- a/deltatech_transfer_product_to_product/README.rst +++ b/deltatech_transfer_product_to_product/README.rst @@ -24,11 +24,11 @@ Transfer Product to Product Features: - - Adds the menu item "Transfer Product to Product" this button opens - a wizard where you can select 2 products a location and a quantity - and makes 2 internal moves between the location and inventory - adjustment location so it adds X amount of product A and removes X - quantity of product B. + - Adds the menu item "Transfer Product to Product" this button opens + a wizard where you can select 2 products a location and a quantity + and makes 2 internal moves between the location and inventory + adjustment location so it adds X amount of product A and removes X + quantity of product B. **Table of contents** diff --git a/deltatech_utils/README.rst b/deltatech_utils/README.rst index 039302abb0..0c92b91e08 100644 --- a/deltatech_utils/README.rst +++ b/deltatech_utils/README.rst @@ -22,10 +22,10 @@ Deltatech Utils |badge1| |badge2| |badge3| -- Features: +- Features: - - remove unused files from filestore - - delete view in cascade + - remove unused files from filestore + - delete view in cascade **Table of contents** diff --git a/deltatech_vendor_stock/README.rst b/deltatech_vendor_stock/README.rst index a1f2e81d73..ee4fc4720c 100644 --- a/deltatech_vendor_stock/README.rst +++ b/deltatech_vendor_stock/README.rst @@ -24,9 +24,9 @@ Vendor Stock Features: -- Update available quantity at supplier in product base data -- Display available quantity at supplier in sale order -- Display icon with yellow if current quantity is zero but will come +- Update available quantity at supplier in product base data +- Display available quantity at supplier in sale order +- Display icon with yellow if current quantity is zero but will come **Table of contents** diff --git a/deltatech_warehouse_arrangement/README.rst b/deltatech_warehouse_arrangement/README.rst index 7a8fc84a1d..435ddc5a12 100644 --- a/deltatech_warehouse_arrangement/README.rst +++ b/deltatech_warehouse_arrangement/README.rst @@ -24,7 +24,7 @@ Deltatech Warehouse Arrangement Features: -- Manages warehouse locations, parallel to standard Odoo locations +- Manages warehouse locations, parallel to standard Odoo locations **Table of contents** diff --git a/deltatech_watermark/README.rst b/deltatech_watermark/README.rst index 5410a1edc7..8b63b08fe4 100644 --- a/deltatech_watermark/README.rst +++ b/deltatech_watermark/README.rst @@ -36,7 +36,7 @@ This field is used in other modules (deltatech_website_watermark) Usage ===== -- Go to: Setting -> General Settings - Business Documents +- Go to: Setting -> General Settings - Business Documents |image1| diff --git a/deltatech_website_authentication_request/controllers/website_sale.py b/deltatech_website_authentication_request/controllers/website_sale.py index a3b20dc975..0639743b50 100644 --- a/deltatech_website_authentication_request/controllers/website_sale.py +++ b/deltatech_website_authentication_request/controllers/website_sale.py @@ -3,7 +3,6 @@ # See README.rst file on addons root folder for license details from odoo import http - from odoo.addons.website_sale.controllers.main import WebsiteSale as WebsiteSaleBase diff --git a/deltatech_website_billing_addresses/README.rst b/deltatech_website_billing_addresses/README.rst index 83a3ee9621..ede2108c28 100644 --- a/deltatech_website_billing_addresses/README.rst +++ b/deltatech_website_billing_addresses/README.rst @@ -24,13 +24,13 @@ Website Billing Addresses Features: -- Separate billing adresses in person/company adresses -- Frontend users can create billing addresses connected to an existing - partner -- Wizard to create billing address for a user from an existing partner - (backend) -- Adress type field in partner (Contact, Company, Billing address, - Shipping address) +- Separate billing adresses in person/company adresses +- Frontend users can create billing addresses connected to an existing + partner +- Wizard to create billing address for a user from an existing partner + (backend) +- Adress type field in partner (Contact, Company, Billing address, + Shipping address) **Table of contents** diff --git a/deltatech_website_billing_addresses/controllers/main.py b/deltatech_website_billing_addresses/controllers/main.py index c6bbcaa9b6..c53dfa0450 100644 --- a/deltatech_website_billing_addresses/controllers/main.py +++ b/deltatech_website_billing_addresses/controllers/main.py @@ -3,11 +3,10 @@ # See README.rst file on addons root folder for license details from odoo import _, http -from odoo.http import request, route -from odoo.osv import expression - from odoo.addons.payment.controllers import portal as payment_portal from odoo.addons.website_sale.controllers.main import WebsiteSale +from odoo.http import request, route +from odoo.osv import expression class WebsiteSaleBillingAddresses(WebsiteSale): diff --git a/deltatech_website_billing_addresses/controllers/portal.py b/deltatech_website_billing_addresses/controllers/portal.py index c1c21b3f5f..ad88c3b063 100644 --- a/deltatech_website_billing_addresses/controllers/portal.py +++ b/deltatech_website_billing_addresses/controllers/portal.py @@ -3,13 +3,11 @@ # See README.rst file on addons root folder for license details from markupsafe import Markup - from odoo import _, http -from odoo.http import request -from odoo.osv import expression - from odoo.addons.portal.controllers import portal from odoo.addons.portal.controllers.portal import pager as portal_pager +from odoo.http import request +from odoo.osv import expression class CustomerPortal(portal.CustomerPortal): diff --git a/deltatech_website_breadcrumb/README.rst b/deltatech_website_breadcrumb/README.rst index 8519123b8f..156fe2febb 100644 --- a/deltatech_website_breadcrumb/README.rst +++ b/deltatech_website_breadcrumb/README.rst @@ -24,7 +24,7 @@ eCommerce Category Breadcrumb Features: -- adds breadcrumbs to the top of the page on website +- adds breadcrumbs to the top of the page on website **Table of contents** diff --git a/deltatech_website_category/README.rst b/deltatech_website_category/README.rst index 9484279312..48b187fc2c 100644 --- a/deltatech_website_category/README.rst +++ b/deltatech_website_category/README.rst @@ -24,7 +24,7 @@ eCommerce Product Category Features: -- Archive public categories +- Archive public categories .. IMPORTANT:: This is an alpha version, the data model and design can change at any time without warning. diff --git a/deltatech_website_category/models/product.py b/deltatech_website_category/models/product.py index e80b50f2e9..a9272d9758 100644 --- a/deltatech_website_category/models/product.py +++ b/deltatech_website_category/models/product.py @@ -4,7 +4,6 @@ from odoo import api, fields, models - from odoo.addons.http_routing.models.ir_http import slug diff --git a/deltatech_website_checkout_confirm/README.rst b/deltatech_website_checkout_confirm/README.rst index aac0516e22..d370561ad1 100644 --- a/deltatech_website_checkout_confirm/README.rst +++ b/deltatech_website_checkout_confirm/README.rst @@ -24,7 +24,7 @@ eCommerce Checkout Confirm Order Features: -- +- **Table of contents** diff --git a/deltatech_website_checkout_confirm/controllers/website_sale.py b/deltatech_website_checkout_confirm/controllers/website_sale.py index 7f4b17c0a5..655993c5f1 100644 --- a/deltatech_website_checkout_confirm/controllers/website_sale.py +++ b/deltatech_website_checkout_confirm/controllers/website_sale.py @@ -1,7 +1,6 @@ from odoo import http -from odoo.http import request - from odoo.addons.website_sale.controllers.main import WebsiteSale +from odoo.http import request class WebsiteSaleCheckout(WebsiteSale): diff --git a/deltatech_website_city/README.rst b/deltatech_website_city/README.rst index ae55c17292..ad71bc7847 100644 --- a/deltatech_website_city/README.rst +++ b/deltatech_website_city/README.rst @@ -24,7 +24,7 @@ Website City Features: -- select city from the list in website +- select city from the list in website **Table of contents** diff --git a/deltatech_website_city/controller/portal.py b/deltatech_website_city/controller/portal.py index 7f4e6223c6..c0f671e635 100644 --- a/deltatech_website_city/controller/portal.py +++ b/deltatech_website_city/controller/portal.py @@ -3,9 +3,8 @@ # See README.rst file on addons root folder for license details from odoo import http -from odoo.http import request - from odoo.addons.portal.controllers.portal import CustomerPortal +from odoo.http import request class CustomerPortalCity(CustomerPortal): diff --git a/deltatech_website_city/controller/website_sale.py b/deltatech_website_city/controller/website_sale.py index 6e14c23e6b..4d797c258e 100644 --- a/deltatech_website_city/controller/website_sale.py +++ b/deltatech_website_city/controller/website_sale.py @@ -2,9 +2,8 @@ # Dorin Hongu # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). -from odoo.http import request, route - from odoo.addons.website_sale.controllers.main import WebsiteSale as Base +from odoo.http import request, route class WebsiteSale(Base): diff --git a/deltatech_website_delivery_and_payment/README.rst b/deltatech_website_delivery_and_payment/README.rst index 1c5f6757df..26e2aadb7a 100644 --- a/deltatech_website_delivery_and_payment/README.rst +++ b/deltatech_website_delivery_and_payment/README.rst @@ -24,11 +24,11 @@ Delivery and Payment Features: -- restrict payment selection by delivery method -- restrict payment acquirers for partners (linked with logged in user) - with certain label -- restrict delivery methods for partners (linked with logged in user) - with certain label +- restrict payment selection by delivery method +- restrict payment acquirers for partners (linked with logged in user) + with certain label +- restrict delivery methods for partners (linked with logged in user) + with certain label **Table of contents** diff --git a/deltatech_website_disable_fuzzy_search/controllers/main.py b/deltatech_website_disable_fuzzy_search/controllers/main.py index a14a6815e4..76aab211b8 100644 --- a/deltatech_website_disable_fuzzy_search/controllers/main.py +++ b/deltatech_website_disable_fuzzy_search/controllers/main.py @@ -3,7 +3,6 @@ # See README.rst file on addons root folder for license details from odoo import http - from odoo.addons.website_sale.controllers import main diff --git a/deltatech_website_phone_validation/controllers/portal.py b/deltatech_website_phone_validation/controllers/portal.py index 1e2b58345c..fa46799b5f 100644 --- a/deltatech_website_phone_validation/controllers/portal.py +++ b/deltatech_website_phone_validation/controllers/portal.py @@ -2,10 +2,9 @@ # Dorin Hongu +- **Table of contents** diff --git a/deltatech_work_days_report/README.rst b/deltatech_work_days_report/README.rst index 9ebdaaa37c..946941ed72 100644 --- a/deltatech_work_days_report/README.rst +++ b/deltatech_work_days_report/README.rst @@ -22,16 +22,16 @@ Work Days Report |badge1| |badge2| |badge3| -- This module: - - - adds the field "code" in the Time Off Type form - - in the employee menu in list view you can select employees then - press "Action" -> "Export Working Days" to make an Excel file that - contains the employees with their hours worked per day number of - hours worked in total , the number of meal vouchers earn by the - employee and see the days they were on time off - - if the code field in Time Off Type form is empty the cell will - have "ABS" instead of the type of time off code +- This module: + + - adds the field "code" in the Time Off Type form + - in the employee menu in list view you can select employees then + press "Action" -> "Export Working Days" to make an Excel file that + contains the employees with their hours worked per day number of + hours worked in total , the number of meal vouchers earn by the + employee and see the days they were on time off + - if the code field in Time Off Type form is empty the cell will have + "ABS" instead of the type of time off code **Table of contents** diff --git a/deltatech_work_days_report/static/description/index.html b/deltatech_work_days_report/static/description/index.html index c4d4bf2dc2..0e4960fc5e 100644 --- a/deltatech_work_days_report/static/description/index.html +++ b/deltatech_work_days_report/static/description/index.html @@ -25,8 +25,8 @@

              Work Days Report

              contains the employees with their hours worked per day number of hours worked in total , the number of meal vouchers earn by the employee and see the days they were on time off -
            • if the code field in Time Off Type form is empty the cell will -have “ABS” instead of the type of time off code
            • +
            • if the code field in Time Off Type form is empty the cell will have +“ABS” instead of the type of time off code
          diff --git a/deltatech_work_days_report/wizard/export_working_days.py b/deltatech_work_days_report/wizard/export_working_days.py index bbbda18167..0df5ad86cd 100644 --- a/deltatech_work_days_report/wizard/export_working_days.py +++ b/deltatech_work_days_report/wizard/export_working_days.py @@ -4,7 +4,6 @@ from io import BytesIO import xlsxwriter - from odoo import _, fields, models from odoo.exceptions import UserError From 5a77479ea00d58451ea951563405e12da7b1d25c Mon Sep 17 00:00:00 2001 From: Dorin Hongu Date: Tue, 4 Feb 2025 07:54:03 +0200 Subject: [PATCH 3/9] Add description for extra line feature in POS module Updated the README to include details about the feature that adds an extra line for configured products in POS orders. This enhances clarity for users regarding module functionality. --- deltatech_sale_add_extra_line_pos/readme/DESCRIPTION.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deltatech_sale_add_extra_line_pos/readme/DESCRIPTION.md b/deltatech_sale_add_extra_line_pos/readme/DESCRIPTION.md index 573c1cfd97..78051a35f2 100644 --- a/deltatech_sale_add_extra_line_pos/readme/DESCRIPTION.md +++ b/deltatech_sale_add_extra_line_pos/readme/DESCRIPTION.md @@ -1,2 +1,3 @@ -Features: +Features: + - Automatically add an extra line for configured products in POS order From ba24d284c0c6d709a70c9e87c7fece62405dd5fe Mon Sep 17 00:00:00 2001 From: Dorin Hongu Date: Tue, 4 Feb 2025 07:58:31 +0200 Subject: [PATCH 4/9] "Fix markdown formatting across multiple addon README files" Improved consistency by adjusting bullet point indentation and spacing across various README files. Ensured formatting aligns with standard markdown practices to enhance readability and maintain uniformity. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4231d7333d..e9dd701fab 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -130,7 +130,7 @@ repos: - id: ruff-format - repo: https://github.com/OCA/pylint-odoo - rev: v9.1.3 + rev: v9.2.0 hooks: - id: pylint_odoo name: pylint with optional checks From c79ec1bcdf9ce8d463f0a8f355c16d997fd7409b Mon Sep 17 00:00:00 2001 From: Dorin Hongu Date: Tue, 4 Feb 2025 09:43:32 +0200 Subject: [PATCH 5/9] Upgrade GitHub Actions workflows to latest versions Updated various workflows across repositories to use newer versions of GitHub Actions, including checkout (v4), setup-python (v5), and cache (v4). This ensures compatibility, improved performance, and access to the latest features. No functional changes were made to the workflow logic. --- .github/workflows/pre-commit.yml | 6 +++--- .github/workflows/test.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 53381cb1a9..5658a74c1f 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -12,13 +12,13 @@ jobs: pre-commit: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: "3.11" - name: Get python version run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV - - uses: actions/cache@v1 + - uses: actions/cache@v4 with: path: ~/.cache/pre-commit key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 879431f94e..603607954e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest name: Detect unreleased dependencies steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: | for reqfile in requirements.txt test-requirements.txt ; do if [ -f ${reqfile} ] ; then @@ -50,7 +50,7 @@ jobs: ports: - 5432:5432 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - name: Install addons and dependencies From 49f21fff3b7991100c38a8e9a9a7f3879f970a77 Mon Sep 17 00:00:00 2001 From: Dorin Hongu Date: Tue, 4 Feb 2025 13:46:13 +0200 Subject: [PATCH 6/9] Enable sudo mode for SMS sending via API Added `sudo()` to the `send_sms` method call to ensure proper permissions when sending SMS. This prevents potential access rights issues that might arise during message processing. --- deltatech_sms/models/sms_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deltatech_sms/models/sms_api.py b/deltatech_sms/models/sms_api.py index c9402da619..d79fde79a2 100644 --- a/deltatech_sms/models/sms_api.py +++ b/deltatech_sms/models/sms_api.py @@ -19,7 +19,7 @@ def _contact_iap(self, local_endpoint, params, timeout=15): for message in params["messages"]: res_value = {"state": "success", "res_id": message["res_id"]} - response = account.send_sms(message["number"], message["content"]) + response = account.sudo().send_sms(message["number"], message["content"]) if response["status"] != 200: res_value["state"] = "server_error" From 3c3eb0290c32cf7f752f0d6a1bbca643d612b047 Mon Sep 17 00:00:00 2001 From: Dorin Hongu Date: Tue, 4 Feb 2025 13:55:13 +0200 Subject: [PATCH 7/9] Refactor SMS API to support multiple recipients per message Updated the `_contact_iap` method to handle messages with multiple recipient numbers. This change simplifies the response handling logic, improving support for bulk SMS sending while maintaining error handling for each individual recipient. --- deltatech_sms/models/sms_api.py | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/deltatech_sms/models/sms_api.py b/deltatech_sms/models/sms_api.py index d79fde79a2..1aa891da37 100644 --- a/deltatech_sms/models/sms_api.py +++ b/deltatech_sms/models/sms_api.py @@ -13,18 +13,13 @@ class SmsApi(BaseSmsApi): def _contact_iap(self, local_endpoint, params, timeout=15): account = self.env["iap.account"].get("sms") - res = [] - for message in params["messages"]: - res_value = {"state": "success", "res_id": message["res_id"]} - - response = account.sudo().send_sms(message["number"], message["content"]) - - if response["status"] != 200: - res_value["state"] = "server_error" - res_value["error"] = response["message"] - - res += [res_value] - + for number in message["numbers"]: + res_value = {"state": "success"} + response = account.sudo().send_sms(number["number"], message["content"]) + if response["status"] != 200: + res_value["state"] = "server_error" + res_value["error"] = response["message"] + res += [res_value] return res From 949153061b81a1f3f8dd7e0695025f03d74cc7f3 Mon Sep 17 00:00:00 2001 From: Dorin Hongu Date: Tue, 4 Feb 2025 13:56:45 +0200 Subject: [PATCH 8/9] Add UUID to SMS response dictionary This change ensures that each SMS response now includes a unique identifier (UUID) for better tracking and identification of messages. It enhances the handling of SMS responses by providing an additional reference field. --- deltatech_sms/models/sms_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deltatech_sms/models/sms_api.py b/deltatech_sms/models/sms_api.py index 1aa891da37..1056356311 100644 --- a/deltatech_sms/models/sms_api.py +++ b/deltatech_sms/models/sms_api.py @@ -16,7 +16,7 @@ def _contact_iap(self, local_endpoint, params, timeout=15): res = [] for message in params["messages"]: for number in message["numbers"]: - res_value = {"state": "success"} + res_value = {"state": "success", "uuid": number["uuid"]} response = account.sudo().send_sms(number["number"], message["content"]) if response["status"] != 200: res_value["state"] = "server_error" From 3689bb22d3c6d8fe9858d6e9b5a7e70055ca9dbf Mon Sep 17 00:00:00 2001 From: Dorin Hongu Date: Tue, 4 Feb 2025 14:10:35 +0200 Subject: [PATCH 9/9] Update business process view and version. Set statusbar readonly in the business process test view to prevent unwanted modifications. Increment module version to 17.0.1.3.8 for compatibility and change tracking. --- deltatech_business_process/__manifest__.py | 2 +- deltatech_business_process/views/business_process_test_view.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/deltatech_business_process/__manifest__.py b/deltatech_business_process/__manifest__.py index 1b71e32281..47d2e9f06f 100644 --- a/deltatech_business_process/__manifest__.py +++ b/deltatech_business_process/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Business process", "summary": "Business process", - "version": "17.0.1.3.7", + "version": "17.0.1.3.8", "author": "Terrabit, Dorin Hongu", "website": "https://www.terrabit.ro", "license": "OPL-1", diff --git a/deltatech_business_process/views/business_process_test_view.xml b/deltatech_business_process/views/business_process_test_view.xml index 8e49797062..bf03239a9a 100644 --- a/deltatech_business_process/views/business_process_test_view.xml +++ b/deltatech_business_process/views/business_process_test_view.xml @@ -49,6 +49,7 @@ widget="statusbar" options="{'clickable': '1'}" statusbar_visible="draft,run,done" + readonly="1" />