Giter Club home page Giter Club logo

Comments (5)

guewen avatar guewen commented on July 27, 2024

Hi, I just installed the module in a new database without issue, and the profile_id field is defined here:

profile_id = fields.Many2one(
"shopfloor.profile", string="Profile", help="Visible on this profile only"
)

Are you sure you have no local changes in your wms repository?

from wms.

poiswe avatar poiswe commented on July 27, 2024

Hi, I have no changes locally. I tried to install an earlier commit and it works fine. The problem might be that i started the database with no demo data. I'll investigate some more.

from wms.

poiswe avatar poiswe commented on July 27, 2024

Hi, I just installed the module in a new database without issue, and the profile_id field is defined here:

profile_id = fields.Many2one(
"shopfloor.profile", string="Profile", help="Visible on this profile only"
)

Are you sure you have no local changes in your wms repository?

I'm truly perplexed by this issue, changing the model (shopfloor.menu) property as below and in the corresponding model (shopfloor.profile) and in the view everything seems to work properly.

shopfloor_profile_id = fields.Many2one( comodel_name='shopfloor.profile', string='Profile', help='Visible on this profile only')

Could there be some kind of inheritance issue somewhere?

from wms.

simahawk avatar simahawk commented on July 27, 2024

@poiswe none of us has this issue (and we install this module many times for testing).
Do you still have problems?
If yes, please try w/ a fresh checkout of this repo and install it from scratch.

from wms.

poiswe avatar poiswe commented on July 27, 2024

Forgot to close this. In the end it was probably due to a mismatch between the shopfloor_base and shopfloor module or due to the fact that shopfloor_base was not installed. A lot of refactoring has been done since the issue and things seem to work real nice.

@simahawk I've started prototyping a reception-app in Ionic, are there plans to wrap the reception-screen logic as a rest-service?

from wms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.