-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[FIX] sale_delivery_term tests #22
Conversation
…ale.py", line 241, in generate_detailed_lines len(group_ids))) except_orm: (u'Error', u'Delivery term lines are 4. Order line groups are 2. Please create more groups')
Changes Unknown when pulling 5273d19 on eLBati:7.0_fix_sale_delivery_term_test into * on OCA:7.0*. |
<record id="sale_delivery_term_1" model="sale.delivery.term"> | ||
<field name="name">15 - 30</field> | ||
<field name="line_ids" eval="[(0, 0, {'quantity_perc': 0.5, 'delay': 15}),(0, 0, {'quantity_perc': 0.5, 'delay': 30})]"/> | ||
<field name="line_ids" eval="[]"/> |
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.
I think you can simply remove it.
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.
Thanks. Fixed
OCB tests are red due to
@nbessi any clue? |
The problem can be solved in another PR. For this, 👍 Please port it to 8.0. |
On step forward to greenify those tests Thanks 👍 |
Error in OCB and not Odoo:
Why? |
@bwrsandman some additional info at #22 (comment) |
There wasn't really an answer. These tests seem to point out a regression in OCB, this needs to be adressed. @StefanRijnhart any idea? |
Ported to 8 with #24 |
About When the test 'Then I confirm the the 26th of March firesteel order' confirms SO
Did not investigate further, so I don't know who is right between OCB and odoo about the |
@eLBati could you post an issue on https://github.com/OCA/OCB |
Done OCA/OCB#37 |
Can we proceed then with the merge of this PR? |
I'd rather wait until we get a solution on OCB as this is our active example. |
This PR fixes the tests of The references to this PR and the failing test stay on the OCB issue |
As there is an issue opened, I proceed with this merge and continue talking on that issue. Regards. |
[FIX] sale_delivery_term tests
Log shopfloor requests in a table
found at https://travis-ci.org/OCA/sale-workflow/jobs/32663504
because
[(0, 0, {'quantity_perc': 0.5, 'delay': 15}),(0, 0, {'quantity_perc': 0.5, 'delay': 30})]
run more than 1 time created more than 2 term lines