Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
835 Tampilan

Hello :)


We have some products which contain the price in the EAN-Barcode. The barcodes follow this structure:

  • 419 = prefix
  • 61606 = code for the name of the product (not important)
  • 0230 = price (02,30€)
  • 0 = check digit


The desired outcome is this:

  • 1 product with the EAN 4190000000004
  • If one of the products with the barcodes starting with 419 is scanned, the PoS should use the product 4190000000004 and get the price from the barcode.


I thought that this wouldn't be a big problem and created a rule in the barcode-nomenclature:

  • priced product
  • Pattern: 419.....{NNDD}

Sadly the PoS doesn't find the product if I scan a product with a barcode (for example 4190106602904). It just tries to find a product with the code 4190106600009. It only changes the digits where the {NNDD} is defined to "0". That way it doesn't find the product. It should instead look for 4190000000004 (so change ".....{NNDD}" to zeros).

I also tried to create an Alias with the pattern "419" and the product "4190000000004". Now it finds the product in the PoS, but doesn't get the price.


It's not feasible to create a product for every possible code after the prefix, because there are to many products which can also change every day (they are magazines, which all have this EAN-Pattern in Germany).


Do you have any ideas how to configure Odoo for this scenario?

Thanks!


Version:  saas~17.1+e

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Jun 25
905
0
Feb 25
1009
0
Mei 24
1559
2
Feb 24
10531
0
Jan 16
3961