mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 11:12:04 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
from odoo import fields, models
|
||||
|
||||
|
||||
class BarcodeAction(models.TransientModel):
|
||||
_name = "barcode.action"
|
||||
_inherit = "barcodes.barcode_events_mixin"
|
||||
_description = "Barcode Action"
|
||||
|
||||
model = fields.Char(required=True, readonly=True)
|
||||
res_id = fields.Integer()
|
||||
method = fields.Char(required=True, readonly=True)
|
||||
state = fields.Selection(
|
||||
[("waiting", "Waiting"), ("warning", "Warning")],
|
||||
default="waiting",
|
||||
readonly=True,
|
||||
)
|
||||
status = fields.Text(readonly=True, default="Start scanning")
|
||||
Loading…
Add table
Add a link
Reference in a new issue