summaryrefslogtreecommitdiff
path: root/addons/barcodes/models/__init__.py
AgeCommit message (Collapse)Author
2018-09-10[REF] barcodes, stock, point_of_sale: one nomenclature per companyWilliam Henrotin
This commit adds a many2one between barcode.nomenclature and res.company and removes Many2one pointing toward a nomenclature record. This aims to improve the usability and allows using nomenclature in inventory adjustment where a `nomenclature_id` field was set.
2018-02-01[MERGE] forward port branch saas-15 up to e0422bfd6c5Christophe Simonis
2018-01-31[FIX] barcodes: delay between keysNicolas Martinelli
In order to detect if a barcode scanner is being used, we detect the delay between keypresses. The value is hardcoded to 55 ms. However, in the case of a bluetooth scanner, this delay is often not enough, resulting in an incorrect capture of the barcode. We add the config parameter `barcode.max_time_between_keys_in_ms` which allows the user to fine tune this delay for his hardware. opw-806398
2017-04-28[FIX] Various P3-related import changesxmo-odoo
* LDAP import: python-ldap is not python3-compatible, pyldap is Warning: only supported from debian Stretch (current testing)? https://packages.debian.org/search?searchon=names&keywords=pyldap * implicitly relative imports * imports of moved or removed stdlib modules issue #8530
2016-06-07[MOV] barcodes: Reorganised file structure.Ranjit Pillai
2015-09-01[ADD] barcodes: onchange-like mechanism to react to scans in form viewArthur Maniet
For a model to use it, it must : - Inherit barcodes.barcode_events_mixin and override on_barcode_scanned(self, barcode) - Add <field name=barcode_scanned widget=barcode_handler/> to each form view that should listen to barcode events and trigger on_barcode_scanned. The method on_barcode_scanned works just like an onchange.