[16.0][MIG] container_meals: Migration to 16.0#382
Conversation
There was a problem hiding this comment.
@mihien tested on cookingo-test
some tests were unsuccessful
- Creates an “Is Meal?” button for meal products, which enables the user to set the volumes of a single portion for containers 1 and 2.
- Adds a portion size
product categoryproduct variant attribute. Child portions have 2/3 the volume of adult portions. This module does not adjust the price of child portions. - Adds an “Is Container?” button for container products, which enables the user to set the volume of the container.
- Keeps track of the built up deposit by customers across sales, in the deposit tab on the customer contacts
- Allows the user to set unreturned containers
on sale ordersin the "deposit" tab on contacts
. All containers are assumed to be returned, and must be manually flagged as unreturned. Unreturned containers can be found on a customer’s contact view and in a special “Unreturned Containers” menu under Sales. - Calculates and automatically adds the containers needed to hold the to-purchase meals on the purchase page and
- applies a discount depending on the customer’s current stored deposit
9d45051 to
011f75e
Compare
polchampion
left a comment
There was a problem hiding this comment.
all functional tests are successful
|
Depends on this : OCA/product-attribute#2110 |
…emplate Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
…ring installation During installation, the _compute_container_volume is executed for all products. Apparently the XML ID 'cookingo_custom.child_portion' is not yet available at that time, causing an error. This commit circumvents that error. Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
… volumes Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
…roduct Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
…to the biggest container Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
011f75e to
0407366
Compare
|
added lost history (when the module was named |
|
This PR has the |
|
/ocabot merge nobump |
|
What a great day to merge this nice PR. Let's do it! |
|
Congratulations, your PR was merged at 515a781. Thanks a lot for contributing to coopiteasy. ❤️ |
14702