Community mailing list archives
Re: Barcode Scanner support in Sale and Purchase line for productsby
Sorry Moises, next time I will read better
2016-05-12 18:02 GMT+02:00 Moises Lopez <firstname.lastname@example.org>:
> Hello, there is a module from Argil Consulting which you may find interesting. https://github.com/argilsoft/argil-addons-v8/tree/master/argil_purchase_order_w_barcodeWhat?2016-05-12 10:37 GMT-05:00 patel turkesh <email@example.com>:@Moises Lopez: i checked code for name_search it is not because of code issue. it is may be because of some what framework behaviour. it search product properly but insted of adding line it removes line itself. If i enter any char and remove that and then scan code it will work properly so it cna be issue of focus or something.
@Javi García PanachL i will check that module lf it is helpful.On Thu, May 12, 2016 at 7:37 PM, Javi García Panach <firstname.lastname@example.org> wrote:Hello, there is a module from Argil Consulting which you may find interesting."This module adds in Purchase Order Form View a new field to read Product EAN13 and adds such product as a Line in Purchase Order."Cheers2016-05-12 15:52 GMT+02:00 Moises Lopez <email@example.com>:You can see the original method product.name_search
First try search with `default_code` if had results return them else try search with `barcode`Review if you have a custom module that change this behaivour--2016-05-12 8:40 GMT-05:00 patel turkesh <firstname.lastname@example.org>:Is there any suggestion or idea?Hello All,We are trying to use Barcode scanner for entering so and po line in normal form view of odoo backend but it is not working as expected. when we scan barcode in product field it does not add related product based on scanned value(in code it allow to search based on barcode in name_search method).--