CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I'm creating a new view for a personalized POS module for my restaurant. It's a specific view for kitchen, already filtered to show just kitchen's related items of a POS order.
Now I would like to show a particular series of product with the name starting with "#" as a unique in a column populated by a new field side by side with the "standard" products. In fact I'm speaking of a set of instructions coded as products to be available on POS and since I was unable to edit the js and css of the pos for suit my needs I decided to create kitchen instructions as a product (service). In my POS there are 3 categories that are not products but instructions (ADD, SUBTRACT, ADDITIONAL NOTE).
What I would like to archive is a view like:
|Product ||Note ||Quantity |
| Pom. Secchi ||# + Búfala # - Mussarela ||1|
| Nutella banana ||# + Mussarela ||1|
| Fanta Uva 350ml ||1|
The original view is:
|Product ||Category||Quantity |
| Pom. Secchi ||Piadine||1|
|# + Búfala ||Extra-Rid||1|
|# - Mussarela ||Extra-Rid ||1|
| Nutella banana ||Piadine Dolci||1|
|# + Mussarela ||Extra-Rid ||1|
| Fanta Uva 350ml ||Bebida||1|
I know I can group field values in a unique, new field with fields.function(_get_concatenate_values) but my problem is how to filter the products before write them respecting the id sequence for the new view. Other than this I need to select just the "#" product between two internal code starting with "[code]" and this is the hard thing to do.
Someone could gently drive me to the right direction?
I can see added pictures on my post during creation/edit but not when I save the post. Is because I don't have enough Karma?
About This Community
Odoo Training Center
|Asked: 5/8/15, 7:52 PM|
|Seen: 761 times|
|Last updated: 6/17/15, 12:36 PM|