Repository
OCA/l10n-spain · module folder · Try on Runboat
Module version
1.0.3
Category
Accounting
Folder size
0.17 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-spain
Last tracking update
2026-08-07 08:09:10
Authors
Odoo Community Association (OCA), Sygel
Maintainers
Odoo Community Association (OCA), Sygel
Committers
Pedro M. Baeza, manu, sygel, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_es_sigaus_purchase, l10n_es_sigaus_sale
Description

Code Analysis

Views touched (11)
XML IDNameModelTypeStatus
exception_sigaus exception_sigaus ir.ui.view qweb New
l10n_es_sigaus_account_amount_form_view l10n.es.sigaus.account.amount.form.view l10n.es.sigaus.amount form New
l10n_es_sigaus_account_amount_tree_view l10n.es.sigaus.account.amount.tree.view l10n.es.sigaus.amount tree New
l10n_es_sigaus_account_product_category_form_view l10n.es.sigaus.account.product.category.form.view product.category form Inherits product.product_category_form_view
l10n_es_sigaus_account_product_template_form_view l10n.es.sigaus.account.product.template.form.view product.template form Inherits product.product_template_form_view
l10n_es_sigaus_account_view_account_position_form l10n.es.sigaus.account.view.account.position.form account.fiscal.position form Inherits account.view_account_position_form
l10n_es_sigaus_account_view_account_position_tree l10n.es.sigaus.account.view.account.position.tree account.fiscal.position tree Inherits account.view_account_position_tree
l10n_es_sigaus_account_view_company_form l10n.es.sigaus.account.view.company.form res.company form Inherits base.view_company_form
l10n_es_sigaus_account_view_move_form l10n.es.sigaus.account.view.move.form account.move form Inherits account.view_move_form
report_invoice_document report_invoice_document ir.ui.view qweb Inherits account.report_invoice_document
view_partner_form_sigaus_subject res.partner.form.sigaus.subject res.partner form Inherits account.view_partner_property_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (12)

New fields (1)
  • sigaus_subject Boolean
    string='Subject To SIGAUS'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (7)
  • apply_sigaus(self)
  • create(self, vals_list)
    @api.model_create_multi
  • create_sigaus_line(self, lines, **kwargs)
  • get_independent_invoice_lines_domain(self)
    @api.model
    Override this method to get the invoice lines not related to other models (i.e. sale orders)
  • manage_sigaus_invoice_lines(self)
  • sigaus_default_date(self, lines)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • unlink(self)

New fields (0)

No new fields.

Public methods (1)
  • reverse_moves(self)

New fields (4)
  • date_from Date
    required=True
  • date_to Date
  • name Char
    required=True
  • price Float
    digits='Product Price' required=True
Public methods (1)
  • get_sigaus_amount(self, date)
    @api.model

New fields (1)
  • sigaus_subject Boolean
    string='Subject to SIGAUS'
Public methods (0)

No public methods.

New fields (1)
  • sigaus_has_amount Boolean
    compute='_compute_sigaus_has_amount' store=True
Public methods (0)

No public methods.

New fields (1)
  • sigaus_subject Selection
    default='category' required=True string='Subject To SIGAUS' args: [('category', 'Category'), ('yes', 'Yes'), ('no', 'No')]
Public methods (0)

No public methods.

New fields (3)
  • sigaus_date_from Date
    help='SIGAUS can only be applied from this date.'
  • sigaus_enable Boolean
  • sigaus_show_in_reports Boolean
    help='If active, SIGAUS amount is shown in reports.' string='Show detailed SIGAUS amount in report lines'
Public methods (0)

No public methods.

New fields (1)
  • sigaus_subject Boolean
    default=True string='Subject To SIGAUS'
Public methods (0)

No public methods.

New fields (2)
  • is_sigaus Boolean
    copy=True default=False
  • sigaus_amount Float
    compute='_compute_sigaus_amount' digits='Product Price'
Public methods (0)

No public methods.

New fields (5)
  • is_sigaus Boolean
    compute='_compute_is_sigaus' readonly=False store=True string='Subject to SIGAUS'
  • sigaus_automated_exception_id Many2one → mail.activity
    comodel_name='mail.activity' readonly=True
  • sigaus_company Boolean
    compute='_compute_sigaus_company'
  • sigaus_has_line Boolean
    compute='_compute_sigaus_has_line'
  • sigaus_is_date Boolean
    compute='_compute_sigaus_is_date' help='Technical field to determine whether the date of a document subject to SIGAUS is equal or after the date selected in the company from which SIGAUS has to be applied.' store=True
Public methods (1)
  • automatic_sigaus_exception(self)