-
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
[16.0] [MIG] member_card #522
Conversation
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## 16.0 #522 +/- ##
==========================================
+ Coverage 64.17% 66.35% +2.18%
==========================================
Files 34 43 +9
Lines 1485 1608 +123
Branches 207 211 +4
==========================================
+ Hits 953 1067 +114
- Misses 491 500 +9
Partials 41 41
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly LGTM, but some criticisms.
Can we try to make the compute method work?
Note : we spent some time investigating with Hugues on how to make the compute method work. It's likely to be a problem related to multi-company, and the fact that the original barcode field (in odoo/base) is company_dependent. |
@carmenbianca @huguesdk How do we move on with this ? Should we give up trying to make the compute method work and do it another way ? |
i think we should first make some tests with a minimal module to understand how we’re supposed to do it (i did something similar to test out how to do company-dependent related fields for cooperator). |
I'm making some progress on this, but I am (partially) blocked by odoo/odoo#137141 |
Reverted the workaround, added a fix. Setting Awaiting review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're getting there
[UPD] Update member_card.pot
[UPD] Update eater_member_card.pot
[FIX] contributors [FIX] remove deprecated demo data
We do not need to rename view names when moved from one module to the other. Odoo cleans up by himself as long as they are not defined as noupdate.
into: - product_main_supplier - sale_suggested_price - sale_adapt_price_wizard [REF] split beesdoo_product -> product_main_supplier [FIX] sale_suggested_price dep on product_main_supplier [ADD] module sale_edit_price_wizard [REF] rename sale_edit_price_wizard -> sale_adapt_price_wizard [REF] move rounding_method to sale_suggested_price [REF] refactor following PR 320 [REF] search product_code -> product_main_seller [FIX] bug adapt_sales_price [IMP] use float_compare to compare prices [REF] move list_price_write_date to sale_adapt_price_wizard [FIX] beesdoo_product: main_seller_id search [FIX] run precommit fix
05ed8db
to
36fb0dd
Compare
Functional test on 04/01/2023 and 12/01/2024 on 16-test-member-card:
|
@carmenbianca ready for another review |
@robinkeunen functional tests ok, I updated my previous post! |
Co-authored-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
801900e
to
1468640
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. i squashed the migration-related commits together.
/ocabot merge nobump |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 2579391. Thanks a lot for contributing to beescoop. ❤️ |
task : https://gestion.coopiteasy.be/web#id=10992&action=475&active_id=492&model=project.task&view_type=form&menu_id=
I changed the behavior when creating a new card in 6da9ef2
_compute_bar_code
method, which would set the card's barcode to the partner.@polchampion FYI (because it's a functional change) -> Pol approved
We looked at it with @robinkeunen and we didn't found a better solution, do @carmenbianca or @huguesdk or @remytms have an opinion ?
Note : set to draft because we need to know how to deal with eater member cards (komunigi decision)