تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3578 أدوات العرض

Hello,

I added a field to product_supplierinfo_form_view pricelist_ids, called product_percent so instead of setting supplier price i can set percent of base price. I added same percent field on res.partner model to enter one global value for each supplier (for example 70%) that could be used in pricelist.partnerinfo or custom value set for each pricelist.partnerinfo record.

All this works well and when i select adding new Seller to product, i chose supplier from the dropdown and in the pricelist table i click on Add an item link and it loads the default percent value in the form field.

If i blur the form row without changing any of the values, the form row disappears. If i type in the percent field, even i type the same percent (70) and then blur (click somewhere else out of the form row) the form row stays saved.

Video of the behavior: http://youtu.be/7YkI2HXFBD0

Is there any way to prevent this behavior and disable form row hide effect when default value satisfies the required attributes?

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يونيو 22
3273
3
سبتمبر 17
7840
1
أغسطس 16
8957
0
مارس 15
4461
1
مارس 15
17986