Base Phone Rate

base_phone_rate
REPOSITORY
REPOSITORYOCA/vertical-isp
GIT
GIThttps://github.com/OCA/vertical-isp.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-isp/tree/12.0/base_phone_rate
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Open Source Integrators
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Open Source Integrators
COMMITTERS
COMMITTERSDaniel Reis, oca-travis
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-isp
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - decimal_precision
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
phone_rate_form_view phone.rate.form.view phone.rate form New
phone_rate_search_view phone.rate.search phone.rate search New
phone_rate_tree_view phone.rate.tree.view phone.rate tree New
product_product_form_view product.product.form (in base_phone_rate) product.product field Inherits product.product_normal_form_view
Models touched (2)

New fields (5)
  • country_id Many2one → res.country
    required=True args: 'res.country', 'Country'
  • dial_prefix Char
    required=True args: 'Dial Prefix'
  • name Char
    required=True args: 'Name'
  • rate Float
    digits=dp.get_precision('Phone Rate') required=True args: 'Rate'
  • state_id Many2one → res.country.state
    args: 'res.country.state', 'Country State'
Public methods (1)
  • get_rate_from_phonenumber(self, phonenumber)
    @api.model
    Given a phone number, find the corresponding rate

New fields (1)
  • is_international_call Boolean
Public methods (0)

No public methods.