-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Split beesdoo_product #264
[WIP] Split beesdoo_product #264
Conversation
The previous version of black had a bug where the following list: foo = [ 1, 2, ] would be formatted as: foo = [1, 2,] which caused flake8 to complain. The new version doesn't have this problem. Signed-off-by: Carmen Bianca Bakker <[email protected]>
The new module more or less works after this commit. beesdoo_product has not been tested, and is probably in a bad way from this invasive surgery. That's OK---it will recover from this. Signed-off-by: Carmen Bianca Bakker <[email protected]>
Some notes on converting beesdoo_product into product_labe;. beesdoo_product contains considerably more functionality than suggested in #247. It contains:
I think that's fairly comprehensive. I'm not sure whether it's sensible to put all of that in product_label, but I'm not familiar enough with the codebase to make a good call on what to split where. |
Cool, we'll make that call together when we get to this module. The main point of the exercise now is to evaluate how long and complex the migration script will (not) be so that we can plan the project with @polchampion |
@carmenbianca can you ?
|
List extracted from analysis done in <beescoop#264>. Signed-off-by: Carmen Bianca Bakker <[email protected]>
List extracted from analysis done in <#264>. Signed-off-by: Carmen Bianca Bakker <[email protected]>
WIP PR to split beesdoo_product into sale_suggested_price and product_label, although I suspect that it will be split up into more modules than two.
Some misc notes:
Updated black because it would complain on me otherwise.
Should this not be product_suggested_price?
Make category product_margin default value configurable?
main_seller_id
was used in a view, but is no longer available to this module.There's a
views/point_of_sale_view.xml
file, butpoint_of_sale
is not a dependency. Should there be a modulesale_suggested_price_point_of_sale
or some such that exists solely to add the view iffpoint_of_sale
is installed?