My Question is That
if i have A product it's actually have 10 stock only for A1 POS ...Not for other POS ..
i want to show this product only ine A1 POS not else....
some specifice product for some specific point of sale
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
My Question is That
if i have A product it's actually have 10 stock only for A1 POS ...Not for other POS ..
i want to show this product only ine A1 POS not else....
some specifice product for some specific point of sale
Usman,
U need to have some field(can be a many2one to pos.config) in products which you can use to identify the POS to which this product belongs to while loading.
then, in point_of_sale/static/src/js/models.js, under 'models' array-of-objects for 'product.product' model you can pass some 'unique identifier' in context.
After all override the search method of product.product and if you found that 'unique identifier' in context(or self.env.context (for new api) ) then filter the products on basis of your pos.config many2one field defined in product.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
May 22
|
5050 | ||
|
2
May 18
|
7361 | ||
|
0
Dec 24
|
46 | ||
|
1
Dec 24
|
173 | ||
|
0
Nov 24
|
87 |