Sale Order Customer Free Reference

sale_order_customer_free_ref
REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/18.0/sale_order_customer_free_ref
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Rafael Lima
WEBSITE
WEBSITEhttps://github.com/OCA/edi
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
The goal of this module is to improve on the client_order_ref on
sale.order.

By default, Odoo only has one field to handle the customer reference of
a sales order.

However, an order provided by the buyer can contain an id (PO number)
and a free reference. When exchanging with the other parties, you
sometimes need to differentiate them. For instance, this is required by
some EDI flows.

To help with this, this module adds two specific fields for them and
transforms the client_order_ref standard field into a computed one.

The two new fields are also passed on to generated invoices.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_move_form account.move.customer.free.ref.form account.move field Inherits account.view_move_form
view_order_form sale.order.customer.free.ref.form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • customer_order_free_ref Char
    copy=False string='Customer Free Reference'
  • customer_order_number Char
    copy=False
Public methods (0)

No public methods.

New fields (3)
  • client_order_ref Char
    compute='_compute_client_order_ref' copy=False inverse='_inverse_client_order_ref' store=True string='Customer Reference'
  • customer_order_free_ref Char
    copy=False string='Customer Free Reference'
  • customer_order_number Char
    copy=False
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/14.0/sale_order_customer_free_ref
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, Vincent Van Rossem, Dũng (Trần Đình)
WEBSITE
WEBSITEhttps://github.com/OCA/edi
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_move_form account.move.customer.free.ref.form account.move field Inherits account.view_move_form
view_order_form sale.order.customer.free.ref.form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • customer_order_free_ref Char
    copy=False string='Customer Free Reference'
  • customer_order_number Char
    copy=False string='Customer Order Number'
Public methods (0)

No public methods.

New fields (3)
  • client_order_ref Char
    compute='_compute_client_order_ref' copy=False inverse='_inverse_client_order_ref' store=True string='Customer Reference'
  • customer_order_free_ref Char
    copy=False string='Customer Free Reference'
  • customer_order_number Char
    copy=False string='Customer Order Number'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/13.0/sale_order_customer_free_ref
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSThierry Ducrest, oca-travis, OCA-git-bot, Simone Orsi, Vincent Van Rossem
WEBSITE
WEBSITEhttps://github.com/OCA/edi
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_move_form account.move.customer.free.ref.form account.move field Inherits account.view_move_form
view_order_form sale.order.customer.free.ref.form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • customer_order_free_ref Char
    copy=False string='Customer Free Reference'
  • customer_order_number Char
    copy=False string='Customer Order Number'
Public methods (0)

No public methods.

New fields (3)
  • client_order_ref Char
    compute='_compute_client_order_ref' copy=False inverse='_inverse_client_order_ref' store=True string='Customer Reference'
  • customer_order_free_ref Char
    copy=False string='Customer Free Reference'
  • customer_order_number Char
    copy=False string='Customer Order Number'
Public methods (0)

No public methods.