跳至内容
菜单
此问题已终结
3 回复
7921 查看

Hi have around 4000 items, newly uploaded to Odoo, how can enable these items at POS in an automatic way.

I would not like to go over 4K+ items to check the box individually. 


形象
丢弃
最佳答案

Create a Server Action and set it as a Contextual Action.

Model: Product Template
Action To Do: Update the Record 

Data to Write

Field					Evaluation type	Value
Available in POS (product.template)	Value		true

Here's an example of using a Server action in this way: https://odootricks.tips/use-server-actions-contact-customer-supplier/

形象
丢弃
最佳答案

Prepare the import file accordingly. Add the "available_in_pos" column to it
and set all records in it to 1

形象
丢弃

This is the right and easiest way to do this, as Zbik wrote.

最佳答案

Hi,

In addition to the method chris specified in his answer, you can use the mass editing option if you are using the v13.

You can see the illustration here: How To Enable Mass Editing In Tree View Odoo13


If you are using below version you can try with this custom module: Mass Editing

Thanks

形象
丢弃
相关帖文 回复 查看 活动
2
12月 22
1875
0
4月 16
5501
0
3月 15
6074
1
8月 25
792
1
7月 25
1048