-
-
Notifications
You must be signed in to change notification settings - Fork 537
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] contract: Migration to 16.0 #887
Conversation
9b9f136
to
c869e1a
Compare
One check is still not working - but i assume this is an error on odoo side - look at: odoo/odoo#104009 I could need help a the pre-commit steps - i don't get the point what should be wrong here... |
c869e1a
to
5a8fc96
Compare
Please cherry-pick eda6d54 |
You can integrate #894 as well. Can you please check the tests in the CI? |
Done. There is only one test which fails - and this test does fail because of a bug in odoo core (imho). I can disable this test for now.... Here is my bug report for this odoo bug |
I did take an other look on the failed test - and i don't get the point what is wrong here. In the test test_cron_recurring_create_invoice_multi_company it just creates the first account.move Form - this does try to access the member name - which is a compute field - so the compute functions triggers with a NewId Object - but in the compute function it does try to compute the name for all the NewId Objects from the past as it seems. And this does fail, because it can't compare agains't NewId. Why are there that many NewId records in the compute function ? Can we add some sort of flush / invalidate before the test to get rid of the NewId Objects ? Why are they don't get closed on the other tests ? |
<field | ||
name="contract_line_ids" | ||
widget="section_and_note_one2many" | ||
nolabel="1" |
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.
colspan="2"
Looks much better taking whole form width.
/ocabot migration contract |
Please cherry-pick #902 |
@pedrobaeza There is just one test failing - and i am not able to fix it - because i think that it is because of a bug in the odoo account module directly. See odoo/odoo#104009 Should i disable this test so that we can merge this ? |
I think we should push for the solution. It has been already tagged, so I expect a response from Odoo soon. You can also push through an enterprise ticket. About the analytic thing, you should convert it to the new format. |
hi @rousseldenis any chance to have a final review ? |
#894 should be cherry-picked as well |
Another investigation line is that now invoices can't be created through |
3e4d6de
to
8172c90
Compare
@pedrobaeza It does look good now - is something missing for the final merge ? Reviews ? |
What is missing on this PR to get approived and merged ? |
Currently translated at 91.0% (285 of 313 strings) Translation: contract-15.0/contract-15.0-contract Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/tr/
- Improve invoice generation through cron Avoid too much sql queries by iterating on first search Avoid performances problems through invoices ids isntead of recordset - Improve tests Adds multi company tests - Add a generation type on contract Add a generation type on contract that allows to generate other document than invoice (e.g. sale order) - Allows to get several functions to create recurring documents - Set visibility on button to show invoices - Add generation_type field - Update button visibility - Simplify test flow - Use Odoo conventions for methods - Add explicit cron create type for invoices - Improve function call for cron recurring creates - Improve multi-company tests / don't break former tests structure - Fix forwardport from 14.0 OCA#741
…ce: from contract_sale to contract
Currently translated at 100.0% (316 of 316 strings) Translation: contract-15.0/contract-15.0-contract Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/es_AR/
Currently translated at 93.3% (295 of 316 strings) Translation: contract-15.0/contract-15.0-contract Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/fr/
Currently translated at 100.0% (317 of 317 strings) Translation: contract-15.0/contract-15.0-contract Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/es_AR/
Currently translated at 93.0% (295 of 317 strings) Translation: contract-15.0/contract-15.0-contract Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/fr/
Currently translated at 68.7% (218 of 317 strings) Translation: contract-15.0/contract-15.0-contract Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/de/
Currently translated at 79.8% (253 of 317 strings) Translation: contract-15.0/contract-15.0-contract Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/pt_BR/
Currently translated at 91.7% (291 of 317 strings) Translation: contract-15.0/contract-15.0-contract Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/es/
…rrect values of other fields (team_id for example). TT39934
In v14, the `string` attribute of the buttons is shown directly in UI. The tooltips are now put through `title` attribute. As that was the original intention, let's switch `string` to `title`.
3cfdd0d
to
10e9287
Compare
Squash done, so merging: /ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 70f8bca. Thanks a lot for contributing to OCA. ❤️ |
#880