Skip to content
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

[ADD] purchase_exception to 11.0 #467

Closed
wants to merge 2 commits into from

Conversation

mourad-ehm
Copy link
Contributor

@mourad-ehm mourad-ehm commented Oct 13, 2017

This module add exception management to purchase (based on base_exception).
A user can add new exceptions to block purchase if qty is < 0 for example.
Depends on:

Copy link
Contributor

@rousseldenis rousseldenis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Typo


<record id ="po_excep_no_email" model="exception.rule">
<field name="name">No email on vendor</field>
<field name="description">No Email for Vondor</field>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vendor

@@ -0,0 +1 @@
server-tools https://github.com/akretion/server-tools 11.0-mig-base_exception
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What pull request does this depend on?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JordiBForgeFlow JordiBForgeFlow changed the title [ADD] purchade_exception to 11.0 [ADD] purchase_exception to 11.0 Nov 22, 2017
@bealdav
Copy link
Member

bealdav commented Nov 23, 2017

result log in runbot is

2017-11-23 09:14:27,108 159 INFO openerp_test odoo.modules.loading: Modules loaded.
2017-11-23 09:14:27,111 159 INFO openerp_test odoo.models: Computing parent left and right for table ir_ui_menu...
2017-11-23 09:14:27,155 159 INFO openerp_test odoo.service.server: Initiating shutdown
2017-11-23 09:14:27,155 159 INFO openerp_test odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.


Module test summary
�[1;32mSuccess�[0;m purchase_exception

+=======================================

Tests summary:
test_server.py �[1;32mSuccess�[0;m
+=======================================

Then I think it's a false fail.

What do you think @jbeficent ?

@JordiBForgeFlow
Copy link
Member

@bealdav @mourad-ehm See akretion#5

@bealdav
Copy link
Member

bealdav commented Nov 27, 2017

Yet runbot false negative

2017-11-23 15:14:49,124 159 INFO openerp_test odoo.modules.loading: 35 modules loaded in 1.31s, 9 queries
2017-11-23 15:14:49,659 159 INFO openerp_test odoo.modules.loading: Modules loaded.
2017-11-23 15:14:49,663 159 INFO openerp_test odoo.models: Computing parent left and right for table ir_ui_menu...
2017-11-23 15:14:49,706 159 INFO openerp_test odoo.service.server: Initiating shutdown
2017-11-23 15:14:49,706 159 INFO openerp_test odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.


Module test summary
�[1;32mSuccess�[0;m purchase_exception

+=======================================

Tests summary:
test_server.py �[1;32mSuccess�[0;m
+=======================================

@rousseldenis
Copy link
Contributor

@bealdav Due to base_exception module (not merged yet)

@mourad-ehm mourad-ehm force-pushed the 11.0-add-purchase_exception branch from d1f8c5e to 0164fa8 Compare December 6, 2017 11:02
@lasley lasley added this to the 11.0 milestone Dec 19, 2017
@lasley
Copy link

lasley commented Dec 19, 2017

@mourad-ehm - base_exception has been merged. Please rebase 🚀

@JordiBForgeFlow
Copy link
Member

@mourad-ehm - can you rebase? I'm depending on this PR to merge other modules.

@JordiBForgeFlow
Copy link
Member

@mourad-ehm PR OCA/server-tools#1111 fixes the problem in base_exception

@JordiBForgeFlow
Copy link
Member

You can see how the test is green in PR #487

@mourad-ehm
Copy link
Contributor Author

Thanks @jbeficent for the correction. Sorry for my late response. I'm on vacation.

@JordiBForgeFlow
Copy link
Member

merged in #487

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants