Files
odoo_source/addons/event_booth_sale/data
Mitul Shah 1dcf1b6554 [FIX] event_booth_sale: set correct product type for 'Event Booth' product
When booth management is activated, we have a dedicated product for the event
booth. Currently, the product type for this product is set as 'Service'.

This happens after a recent commit[1]. With this commit, we now have a
dedicated detailed product type for event booth, but in data file of
booth product it is set to `service`, which in this case should be
`event_booth`. Apart from that, when creating a booth product for event
booth category, the product type is set as 'consumable', which should
be 'service'.

This commit updates the data for the default booth product and sets the
detailed product type to `event_booth`. And this commit also passes
correct context when creating a product for the event booth category so
that the product type is now set as 'service'.

commit[1] - https://github.com/odoo/odoo/commit/3d7b9bbf27298dc7f2f7e61a13120988f9bd422a

Task-2648950

closes odoo/odoo#77146

X-original-commit: e466430e44844339f1ec9f2ed3c79f6f34501291
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-09-24 12:35:17 +00:00
..