Repository
OCA/vertical-isp · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/vertical-isp
Last tracking update
2026-08-07 07:32:03
Authors
Odoo Community Association (OCA), Open Source Integrators
Maintainers
Odoo Community Association (OCA), Open Source Integrators
Committers
Daniel Reis, OCA-git-bot, oca-travis, Murtuza Saleh
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
agreement_service_profile_inherited_view agreement.service.profile.inherited.view agreement.serviceprofile form Inherits agreement_serviceprofile.agreement_serviceprofile_form
backend_equipment_inherited_view backend.equipment.inherited.view backend.equipment form Inherits connector_equipment.backend_equipment_form_view
backend_equipment_product_line_form_view backend.equipment.product_line.form.view backend.equipment.product_line form New
backend_equipment_product_line_tree_view backend.equipment.product_line.tree.view backend.equipment.product_line tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (3)
  • last_cdr_sync Datetime
    copy=False args: 'Last CDR Sync Date'
  • query_parameter Char
  • query_type Selection
    args: [('domain', 'Query by Domain'), ('uid', 'Query by User')]
Public methods (3)
  • button_import_cdr(self)
    @api.multi
  • cron_import_cdr(self)
    @api.model
  • import_cdr(self)
    @api.multi
    Get call data records: type (in, out, ...), number, seconds Filter only outbound calls, type==0 Add billing Product, from number, using product map And Group by Product

New fields (2)
  • product_line_ids One2many → backend.equipment.product_line
    string='Products' args: 'backend.equipment.product_line', 'backend_id'
  • sync_schedule Selection
    args: [('all_service', 'All Service Profiles Every Day')], 'Sync Schedule'
Public methods (3)
  • api_generate_access_token(self)
    @api.multi
    Login to Netsapiens and return the access token
  • api_get_cdr_data(self, service, from_date, to_date)
    @api.model
    Given a Service Profile, call the API to get CRD data. Returns a dict with the retrieved data.
  • api_url_build(self, endpoint)
    @api.multi
    Given an endpoint, return full Netsapiens API URL for the endpoint

New fields (4)
  • backend_id Many2one → backend.equipment
    args: 'backend.equipment', 'Backend'
  • name Many2one → product.product
    args: 'product.product', 'Product'
  • pattern Char
    help='The pattern is a regular expression that will applied on the phone number to detect a domestic call, an international call or a toll free call.' args: 'Pattern'
  • sequence Integer
    args: 'Sequence'
Public methods (0)

No public methods.