RUC and DIN Validation on Sales

l10n_pe_sale
REPOSITORY
REPOSITORYOCA/l10n-peru
GIT
GIThttps://github.com/OCA/l10n-peru.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-peru/tree/7.0/l10n_pe_sale
VERSION
VERSION 1.1
CATEGORY
CATEGORYSale Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSVauxoo
MAINTAINERS
MAINTAINERSVauxoo
COMMITTERS
COMMITTERSJulio Serna, julioserna, dsabrinarg
WEBSITE
WEBSITEhttp://www.openerp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-peru:
    - l10n_pe_multifunctions
odoo/odoo:
    - base
    - sale
    - account_voucher
    - account
    - base_setup
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
    - base_vat
    - sale_stock
    - stock
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Validation for sale when exceeding minimum amount.
=========================================================

This module modifies the sale workflow in order to validate RUC and DIN in
sale that exceeds minimum amount set by configuration wizard.
    

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_validation_sale_configuration Sale Application sale.config.settings group Inherits sale.view_sales_config
Models touched (1)

New fields (0)

No new fields.

Public methods (4)
  • check_ruc(self, cr, uid, ids, context=None)
  • check_ruc_dni(self, cr, uid, ids, context=None)
  • show_message_ruc_dni(self, cr, uid, ids, context=None)
  • show_message_ruc_dni2(self, cr, uid, ids, context=None)