Pos Attachment

pos_order_attachment
REPOSITORY
REPOSITORYOCA/pos
GIT
GIThttps://github.com/OCA/pos.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/pos/tree/17.0/pos_order_attachment
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Dixmit, Invitu
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Dixmit, Invitu
COMMITTERS
COMMITTERSEnric Tobella, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/pos
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Add attachments to orders directly from your Pos Frontend.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
pos_order_attachment_filter_view pos.order xpath Inherits point_of_sale.view_pos_order_filter
pos_order_form_view pos.order div Inherits point_of_sale.view_pos_pos_form
Models touched (1)

New fields (2)
  • attachment_ids One2many → ir.attachment
    compute='_compute_attachment_ids' help="Attachment that don't come from message." string='Main_Attachments' args: 'ir.attachment'
  • doc_count Integer
    compute='_compute_attached_docs_count' store=True string='Number of documents attached'
Public methods (3)
  • attachment_tree_view(self)
  • create(self, vals_list)
    @api.model_create_multi
  • pos_attachments(self)