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


I dont know how but On Product attribute page we can add same Value multiple time


Example : Fabric Product Attribute I can add Cotton Value Multiple times (Duplicate Entry)


Due to Duplicate Product Attribute value I am getting Product import Error SO I just need to Remove extra one Values from the product attribute page and then import Product from the product page


Anyone having any idea how to stop Duplicate entry on Product Attribute page?


please help


thanks

VP

Awatar
Odrzuć
Najlepsza odpowiedź

You can achieve it via `Automation Rules

  1. first install the module `Automation Rules` via app menu (don't forget to remove `app` filter)
  2. go to menu setting => Technical => Automation Rules
  3. if you don't see `Technical` button, you can activate developer mode first by scroll down and click `Activate the developer mode`
  4. create new record, and add this code
exist = model.search([
    ('name', '=', record.name),
    ('id', '!=', record.id),
])
if exist:
    raise UserError('The attribute name already used!')

Awatar
Odrzuć
Autor

Hello

I have followed all steps from setting page-->Technical option--->Automation Rules

After clicking on Automation Rules received message like "Connection lost. Trying to reconnect"

after few seconds message received like this "Connection Restored. You are back online"

Same Message appearing after clicking on setting page-->Technical option--->Automation Rules button

please let me know what is the exact issue?

thanks

Autor Najlepsza odpowiedź

Hello

I have followed all steps from setting page-->Technical option--->Automation Rules

After clicking on Automation Rules received message like "Connection lost. Trying to reconnect"


after few seconds message received like this "Connection Restored. You are back online"

Same Message appearing after clicking on setting page-->Technical option--->Automation Rules button


please let me know what is the exact issue?

thanks


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 25
887
2
paź 24
1480
1
sie 24
1340
1
sie 24
2040
2
sie 24
2647