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

Stock Weighing not working on Odoo 8 #20

Open
singleroot opened this issue Feb 17, 2016 · 38 comments
Open

Stock Weighing not working on Odoo 8 #20

singleroot opened this issue Feb 17, 2016 · 38 comments

Comments

@singleroot
Copy link

Hello,

Tried to install in my Odoo 8 but not working, is complaining all the time about missing price_unit_coeff field and that only seems to me that a dependency is missing... can you guide me? and if not feasible then let me know. thanks

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

26 similar comments
@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

the client using odoo 8 didn't need the module which was designed for 6.1

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please try to remove this line
./mrp_view.xml:270:

<field name="price_unit_coeff" groups="c2c_stock_accounting.group_c2c_stock_accounting_accountant" readonly="1"/>

the client using odoo 8 didn't need the module which was designed for 6.1

@singleroot
Copy link
Author

Thanks a bunch, actually I commented that line but the dependency to chricar_stock_care keeps calling that field (also commented there) and others... now this one...but this is when I realized lots of dependencies pending to be met.

El campo move_value_cost no existe

@singleroot
Copy link
Author

I dont really need the stock to be moved at this stage.... I can write that later... just he record of the weight will do :)

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

yeh we heavily modified 6.1 to comply to accounting rules

please just comment the fields and let me know the results or make a pull request

@singleroot
Copy link
Author

Thanks, I commented lot of fields and get to make it working to at least try.

It seems very nice, due the fields commented.. I believe somethings are now working as expected but seems pretty awesome.

Can you make truly portable to 8?

@singleroot
Copy link
Author

Also noted when trying to move to draft state again, gives following error:

wf_service = netsvc.LocalService("workflow")
NameError: global name 'netsvc' is not defined

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

please add
from openerp import netsvc
at the beginning of
stock_weighing.py

(it's a blind guess - it might also be missing else where)

@singleroot
Copy link
Author

Added and it worked. Thanks again....

Lots of review and rewrite need on Odoo 8. I'll take it as a base and thanks a bunch for an extraordinary job

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

great
please make a pull request or send me the modified code

anyhow for 9 the code must be rewritten too

@singleroot
Copy link
Author

Sorry, forgot to tell you about this error:

raise ValueError('External ID not found in the system: %s' % (xmlid))

ParseError: "External ID not found in the system: stock.action_picking_tree6" while parsing /usr/lib/python2.7/site-packages/openerp/addons/chricar_stock_weighing/stock_weighing_view.xml:171, near

I commented it but seems like a menu link is missing on my system :)

@ferdiga
Copy link
Collaborator

ferdiga commented Feb 17, 2016

yes, that's because stock was completely rewritten for v8.

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

No branches or pull requests

2 participants