Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: osv.expression

by moy lop <moylop260@gmail.com> - 14/01/2016 15:19:58

Please, see last comments
https://github.com/OCA/maintainer-quality-tools/issues/306#issuecomment-171592748

El 14/01/2016 03:53 a.m., "Yannick Vaucher" <yannick.vaucher@camptocamp.com> escribió:
We might want to disable this lint test which is too restrictive.

The aim of this test was to remove the osv.osv used in classes, but it's not specific enough.

Cheers,

Yannick Vaucher
Business Solutions Software Developer

Camptocamp SA
PSE A, CH-1015 Lausanne
Phone: +41 21 619 10 30
Office: +41 21 619 10 10

On Sun, Nov 1, 2015 at 10:53 PM, Richard deMeester <richard@willowit.com.au> wrote:
Hey - you are correct - it was flake8 complaining about something else.

Cleaned that up and it got the tick.

On 30 October 2015 at 19:22, Houzéfa Abbasbhay <houzefa.abba@xcg-consulting.fr> wrote:
Hey,

I have had that too but it wasn't making my runs fail; are you sure there aren't other errors?

I would like to know what the recommended alternative is as well, if there is any. =) I looked into existing addons and saw they were also using these imports in some places so I stopped bothering about it.

On Fri, Oct 30, 2015 at 4:08 AM, Richard deMeester <richard@willowit.com.au> wrote:
Hello OCA contributors,

One of my Pull Requests for OCA is failing on Runbot.

Uses of a deprecated module 'openerp.osv'

What should be used in it's stead?  It is being used to gain access to domain manipulation routines (normalize_domain and others).

Richard

--
Richard deMeester
mob: +61 403 76 76 76
2013, 2015 Odoo Best Partner Asia/Pacific

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe




--

--
Houzéfa Abbasbhay
XCG Consulting - Developer

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe




--
Richard deMeester
mob: +61 403 76 76 76
2013, 2015 Odoo Best Partner Asia/Pacific

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe


_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe

Reference