Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
cze 25
905
0
lut 25
1008
0
maj 24
1556
2
lut 24
10530
0
sty 16
3960