Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
2375 Представления

I want to add a field after Barcode.

So, i create a field :

Field Name :x_millesime

Model : Product

Field Label : Millesime

Field Help

Field Type : integer 

After this, i duplicate product.product.form

View Name : vin product.product.form

View Type : Form

Object : product.product

Inherited View : product.product.form 

architecture :

<?xml version="1.0"?>

<xpath expr="//field[@name='barcode']" position="after">

<field name="x_millesime" />

</xpath>


But the field doesn't appear in inventory->product   ....:/


Аватар
Отменить

which version ? be aware that there are several form view for product. (product, product simplified, ...).

And what do you have duplicate... you just need to find the right view, and in the that 'inherited view' click en create to add an new inherited view...

Автор Лучший ответ

Version 9.0c-20160415 (Community Edition).

I duplicate Product.product.form

Technical->User Interface->Views : I open product.product.form. here button action->duplicate

What is the view for inventory-> inventory control->product->create ?



Аватар
Отменить