Vouchers with Operating Units

account_voucher_operating_unit
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/10.0/account_voucher_operating_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules/Sales & Purchases
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, Ecosoft Co. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, Ecosoft Co. Ltd.
COMMITTERS
COMMITTERSJordi Ballester Alomar, OCA-git-bot
WEBSITE
WEBSITEhttp://www.eficent.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - account_operating_unit
    - operating_unit
    - analytic_operating_unit
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
    - account_voucher
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_purchase_receipt_form account.voucher.purchase.form account.voucher field Inherits account_voucher.view_purchase_receipt_form
view_sale_receipt_form account.voucher.sale.form account.voucher field Inherits account_voucher.view_sale_receipt_form
view_voucher_filter_sale account.voucher.sale.select account.voucher field Inherits account_voucher.view_voucher_filter_sale
view_voucher_filter_vendor account.voucher.purchase.select account.voucher field Inherits account_voucher.view_voucher_filter_vendor
Models touched (2)

New fields (1)
  • operating_unit_id Many2one → operating.unit
    default=<expr> string='Operating Unit' args: 'operating.unit'
Public methods (2)
  • account_move_get(self)
    @api.multi
  • first_move_line_get(self, move_id, company_currency, current_currency)
    @api.multi

New fields (1)
  • operating_unit_id Many2one → operating.unit
    readonly=True related='voucher_id.operating_unit_id' store=True string='Operating Unit' args: 'operating.unit'
Public methods (1)
  • create(self, vals)
    @api.model
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/9.0/account_voucher_operating_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules/Sales & Purchases
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent Business and IT Consulting Services S.L., Ecosoft Co. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent Business and IT Consulting Services S.L., Ecosoft Co. Ltd.
COMMITTERS
COMMITTERSahenriquez, OCA-git-bot
WEBSITE
WEBSITEhttp://www.eficent.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - account_operating_unit
    - operating_unit
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
    - account_voucher
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_purchase_receipt_form account.voucher.purchase.form account.voucher field Inherits account_voucher.view_purchase_receipt_form
view_sale_receipt_form account.voucher.sale.form account.voucher field Inherits account_voucher.view_sale_receipt_form
view_voucher_filter_sale account.voucher.sale.select account.voucher field Inherits account_voucher.view_voucher_filter_sale
view_voucher_filter_vendor account.voucher.purchase.select account.voucher field Inherits account_voucher.view_voucher_filter_vendor
Models touched (2)

New fields (1)
  • operating_unit_id Many2one → operating.unit
    default=_get_default_operating_unit string='Operating Unit' args: 'operating.unit'
Public methods (2)
  • account_move_get(self)
    @api.multi
  • first_move_line_get(self, move_id, company_currency, current_currency)
    @api.multi

New fields (1)
  • operating_unit_id Many2one → operating.unit
    readonly=True related='voucher_id.operating_unit_id' store=True string='Operating Unit' args: 'operating.unit'
Public methods (1)
  • create(self, vals)
    @api.model