Giter Club home page Giter Club logo

odoo-addons's Introduction

Build Status Coverage Status

odoo-addons (DEPRECEATED)

This repository has been depreceated and replaced by the following repositories of ingadhoc

  • account-analytic
  • account-financial-tools
  • account-invoice
  • account-payment
  • crm
  • hr
  • manufacture
  • miscellaneous
  • multi-company
  • partner
  • product
  • project
  • purchase
  • reporting-engine
  • sale
  • stock
  • survey
  • surveyor

Installation

Dependencies

sudo pip install -r requirements.txt

If you don't have Pip, find it here: http://pypi.python.org/pypi/pip

Contributing

We follow some guidelines and advice than Odoo Argentina. In summary:

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Credits

ADHOC

**Adhoc SA** - www.adhoc.com.ar

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

odoo-addons's People

Contributors

adhoc-transbot avatar damiansoriano avatar ivantodorovich avatar jjscarafia avatar jobiols avatar lepistone avatar lk-eska avatar manutvarghese avatar mlaitinen avatar nicomacr avatar opencode avatar paulius-sladkevicius avatar tathar avatar thomaspaulb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

odoo-addons's Issues

ERROR on ADHOC Configuration

ProgrammingError: column "module_stock_inventory_negative_line" of relation "adhoc_base_config_settings" does not exist
LINE 1: ...module_inter_company_move", "module_multi_store", "module_st...

product_pack module for odoo v8 backend

I have installed the product pack module but I dont see where I should configure my product packs. There was no addition to the product.template form view on the backend. Would you mind adding a short how-to guide in the module description?

account_create_journal - Elemento DIV no encontrado

Hi there..

I tried to install the module on a clean database (odoo actual) and get the following error:

Traceback (most recent call last):
File "/opt/odoo/openerp/http.py", line 537, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/openerp/http.py", line 574, in dispatch
result = self._call_function(*_self.params)
File "/opt/odoo/openerp/http.py", line 310, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/opt/odoo/openerp/service/model.py", line 118, in wrapper
return f(dbname, _args, *_kwargs)
File "/opt/odoo/openerp/http.py", line 307, in checked_call
return self.endpoint(_a, *_kw)
File "/opt/odoo/openerp/http.py", line 803, in call
return self.method(_args, *_kw)
File "/opt/odoo/openerp/http.py", line 403, in response_wrap
response = f(_args, *_kw)
File "/opt/odoo/addons/web/controllers/main.py", line 948, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/opt/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/addons/base/module/module.py", line 447, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/opt/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/addons/base/module/module.py", line 495, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/opt/odoo/openerp/modules/registry.py", line 370, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/odoo/openerp/modules/loading.py", line 355, in load_modules
loaded_modules, update_module)
File "/opt/odoo/openerp/modules/loading.py", line 255, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/opt/odoo/openerp/modules/loading.py", line 176, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/opt/odoo/openerp/modules/loading.py", line 118, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/opt/odoo/openerp/tools/convert.py", line 900, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/opt/odoo/openerp/tools/convert.py", line 986, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/opt/odoo/openerp/tools/convert.py", line 852, in parse
self._tags[rec.tag](self.cr, rec, n, mode=mode)
File "/opt/odoo/openerp/tools/convert.py", line 762, in _tag_record
id = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File "/opt/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/addons/base/ir/ir_model.py", line 1065, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/opt/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 255, in create
context=context)
File "/opt/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/api.py", line 372, in old_api
result = method(recs, _args, *_kwargs)
File "/opt/odoo/openerp/models.py", line 4093, in create
record = self.browse(self._create(old_vals))
File "/opt/odoo/openerp/api.py", line 266, in wrapper
return new_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/api.py", line 508, in new_api
result = method(self._model, cr, uid, _args, *_old_kwargs)
File "/opt/odoo/openerp/models.py", line 4284, in _create
recs._validate_fields(vals)
File "/opt/odoo/openerp/api.py", line 266, in wrapper
return new_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/models.py", line 1271, in _validate_fields
raise ValidationError('\n'.join(errors))
ParseError: "ValidateError
El(los) campo(s) arch fallaron contra la restricci\xf3n: Invalid view definition

Detalles de error:
El elemento '

' no puede ser localizado en la vista padre

Error de contexto:
Vista adhoc.base.config.settings
[view_id: 1170, xml_id: n/a, model: adhoc.base.config.settings, parent_id: 1143]" while parsing /opt/odoo/.local/share/Odoo/addons/8.0/account_create_journal/res_config_view.xml:6, near

adhoc.base.config.settings
adhoc.base.config.settings








They could tell me how I can correct it.

Thank you.

Conflict with document_page: document_page_extension V7.0

Can't install document_page_approval module (from Savoir-faire Linux).... Can't find field 'hide_title' in the following view parts composing the view of object model 'document.page': * document.page.form

Cause: record id="document_page.view_wiki_form" model="ir.ui.view" at line 9
view_wiki_form already exist in module document_page.

Possible solutions:
Change document_page.view...... to document_page_extension.view.....
Or inherit from document_page.view_wiki_form
Maybe just adding a sequence to the form ...

Best regards.

Warning! Unmet python dependencies!

@jjscarafia

I'm having some issues installing the product_catalog_aeroo_report module due to some issues with installing the dependencies required for aeroo on Ubuntu 14.04 with Odoo 8.0. The error message i've seen is as follows:

Warning! Unmet python dependencies!

No module named unohelper
No module named com.sun.star.beans
No module named com.sun.star.uno
No module named com.sun.star.connection
No module named com.sun.star.beans
No module named com.sun.star.lang
No module named com.sun.star.io
No module named com.sun.star.io

It looks as if python-uno has been dropped from Ubuntu 14.04 repositories, although Aeroo seems to depend on it. Are you aware of any way to resolve this issue for 14.04, or would you recommend downgrading to an earlier version of Ubuntu for this reason? I'm very interested in trying the product_catalog_aeroo_report module for exporting and printing product catalogs, but I have hit a roadblock when it comes to this issue and I have searched for weeks to try and find a solution.

There are a huge number of forum posts mentioning the issue, however I have sifted through all that I can find and attempted a large number of the suggestions and as of yet I have had no luck.

Any help or advice would be much appreciated. I am happy to pay for your help resolving the issue, however I would like to know what is required so that I can replicate it in other instances I setup.

crm_partner_history, not working as expected

Hi, I have installed this module and tested in odoo v8 with no errors (updated yesterday).
After create several opportunities and mark as winned or losed, nothing appeas in "history".
Phone calls and meetings work fine.
Something wrong?
Thank you.

interested in moving product_dimensions to OCA/product-atribute?

Hi!

I was wondering if you would agree with including the product_dimensions module into the OCA repository product-attribute.

If you agree, I can do that with a git extraction (thus, preserving your full authorship and history). This would require the signature of the OCA Contributor Licence Agreement by the two committers of that module: @jjscarafia @nicomacr.

In any case, thanks a lot for your work!

Leonardo

It's great that you publish, but there is no description

Hi,
I was looking for some extensions for the portal and you have published quite a lot, but without any explanation, not even a word in the openerp.py in order for someone else to know what the module does.
It's a pity as you seem to contribute a lot.

Best regards
Eva P.

ProgrammingError: can't adapt type 'account.tax' in product_pack

I got this trying to save an order :
Traceback (most recent call last):
File "D:\Odoo 8.0-20150603\server.\openerp\http.py", line 536, in _handle_exception
File "D:\Odoo 8.0-20150603\server.\openerp\http.py", line 573, in dispatch
File "D:\Odoo 8.0-20150603\server.\openerp\http.py", line 309, in _call_function
File "D:\Odoo 8.0-20150603\server.\openerp\service\model.py", line 113, in wrapper
File "D:\Odoo 8.0-20150603\server.\openerp\http.py", line 306, in checked_call
File "D:\Odoo 8.0-20150603\server.\openerp\http.py", line 802, in call
File "D:\Odoo 8.0-20150603\server.\openerp\http.py", line 402, in response_wrap
File "D:\Odoo 8.0-20150603\server\openerp\addons\web\controllers\main.py", line 937, in call_kw
File "D:\Odoo 8.0-20150603\server\openerp\addons\web\controllers\main.py", line 929, in _call_kw
File "D:\Odoo 8.0-20150603\server.\openerp\api.py", line 241, in wrapper
File "C:\Users\Administrateur\AppData\Local\OpenERP S.A.\Odoo\addons\8.0\product_pack\sale.py", line 126, in create
File "D:\Odoo 8.0-20150603\server.\openerp\api.py", line 241, in wrapper
File "C:\Users\Administrateur\AppData\Local\OpenERP S.A.\Odoo\addons\8.0\product_pack\sale.py", line 284, in expand_packs
File "D:\Odoo 8.0-20150603\server.\openerp\api.py", line 241, in wrapper
File "D:\Odoo 8.0-20150603\server\openerp\addons\sale\sale.py", line 1059, in create
File "D:\Odoo 8.0-20150603\server.\openerp\api.py", line 241, in wrapper
File "D:\Odoo 8.0-20150603\server.\openerp\api.py", line 336, in old_api
File "D:\Odoo 8.0-20150603\server.\openerp\models.py", line 4074, in create
File "D:\Odoo 8.0-20150603\server.\openerp\api.py", line 239, in wrapper
File "D:\Odoo 8.0-20150603\server.\openerp\api.py", line 462, in new_api
File "D:\Odoo 8.0-20150603\server.\openerp\models.py", line 4259, in _create
File "D:\Odoo 8.0-20150603\server.\openerp\osv\fields.py", line 1053, in set
File "D:\Odoo 8.0-20150603\server.\openerp\sql_db.py", line 158, in wrapper
File "D:\Odoo 8.0-20150603\server.\openerp\sql_db.py", line 234, in execute
ProgrammingError: can't adapt type 'account.tax'

[8.0] product_catalog_aeroo_report_public_categ : Error while generating the report. "public" not defined

@jjscarafia ,

Thanks for creating this very useful module, i'm currently using it to create a multi-sheet product catalog report and it's exactly what I need for some categories that need to list multiple sub-categories on a single sheet using a looping construct.

Unfortunately I seem to be running into an error modal when printing the product by categories report (without 'include subcategories' ticked) as follows:

Aeroo Reports: Error while generating the report.
"public" not defined
"public" not defined
For more reference inspect error logs.

<type 'exceptions.Exception'>,Aeroo Reports: Error while generating the report.
"public" not defined
"public" not defined
For more reference inspect error logs.,<traceback object at 0x7fa0c6186cf8>

With subcategories ticked I get a traceback as follows:

assert len(stack) == 1
AssertionError

the full traceback can be found here:
https://gist.github.com/lukebranch/0cdef0d5141b07460604

There is a forum post about it here:

https://www.odoo.com/forum/help-1/question/problem-with-product-catalog-aeroo-report-with-public-category-84474

I am just using the default template for product by category that is bundled with product_catalog_aeroo_report with a few minor modifications. Are there some changes that need to be made to the python logic in the spreadsheet for using with Public Categories as opposed to Accounting Categories?

I have tried adding public.category. instead of category. to pull in the correct fields, but i'm not sure this is correct.

If you have time, any insight or advice you could provide would be very much appreciated.

account_bank_voucher

Hi,

I notice that there is account_bank_voucher module on odoo apps. That module point to this repo, but i could not find it. Would you give me a clue where i could find that module.

Many thanks.

[V8] account_check InternalError: current transaction is aborted, commands ignored until end of transaction block

Al crear un pago (Pago proveedores como anticipo o sea contra ninguna obligacion) y generear el cheque correspondiente, no valida el rango de cheques generando este error.

Analizando el codigo del error, no pasa en ningún momento por el modulo, pero si le asigno No. de cheque, no emite el error.

Odoo Server Error
Traceback (most recent call last):
File "/data/home/openerp/bin/8.0/openerp/http.py", line 530, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/data/home/openerp/bin/8.0/openerp/http.py", line 567, in dispatch
result = self._call_function(*_self.params)
File "/data/home/openerp/bin/8.0/openerp/http.py", line 303, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/data/home/openerp/bin/8.0/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/data/home/openerp/bin/8.0/openerp/http.py", line 300, in checked_call
return self.endpoint(_a, *_kw)
File "/data/home/openerp/bin/8.0/openerp/http.py", line 796, in call
return self.method(_args, *_kw)
File "/data/home/openerp/bin/8.0/openerp/http.py", line 396, in response_wrap
response = f(_args, *_kw)
File "/home/openerp/bin/8.0/addons/web/controllers/main.py", line 949, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/openerp/bin/8.0/addons/web/controllers/main.py", line 941, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/data/home/openerp/bin/8.0/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/home/openerp/bin/8.0/addons/account_check_writing/account_voucher.py", line 100, in write
return super(account_voucher, self).write(cr, uid, ids, vals, context=context)
File "/data/home/openerp/bin/8.0/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/home/openerp/bin/8.0/addons/mail/mail_thread.py", line 427, in write
result = super(mail_thread, self).write(cr, uid, ids, values, context=context)
File "/data/home/openerp/bin/8.0/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/data/home/openerp/bin/8.0/openerp/api.py", line 363, in old_api
result = method(recs, _args, *_kwargs)
File "/data/home/openerp/bin/8.0/openerp/models.py", line 3731, in write
self._write(old_vals)
File "/data/home/openerp/bin/8.0/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/data/home/openerp/bin/8.0/openerp/api.py", line 546, in new_api
result = method(self._model, cr, uid, self.ids, _args, *_kwargs)
File "/data/home/openerp/bin/8.0/openerp/models.py", line 3874, in _write
result += self._columns[field].set(cr, self, id, field, vals[field], user, context=rel_context) or []
File "/data/home/openerp/bin/8.0/openerp/osv/fields.py", line 747, in set
id_new = obj.create(cr, user, act[2], context=context)
File "/data/home/openerp/bin/8.0/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/home/openerp/bin/8.0/addons/base_action_rule/base_action_rule.py", line 177, in create
new_id = create.origin(self, cr, uid, vals, context=context, *_kwargs)
File "/data/home/openerp/bin/8.0/openerp/api.py", line 241, in wrapper
return old_api(self, *args, *_kwargs)
File "/home/openerp/bin/8.0/addons/mail/mail_thread.py", line 377, in create
thread_id = super(mail_thread, self).create(cr, uid, values, context=context)
File "/data/home/openerp/bin/8.0/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/data/home/openerp/bin/8.0/openerp/api.py", line 336, in old_api
result = method(recs, _args, *_kwargs)
File "/data/home/openerp/bin/8.0/openerp/models.py", line 4030, in create
record = self.browse(self._create(old_vals))
File "/data/home/openerp/bin/8.0/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/data/home/openerp/bin/8.0/openerp/api.py", line 462, in new_api
result = method(self._model, cr, uid, _args, *_kwargs)
File "/data/home/openerp/bin/8.0/openerp/models.py", line 4221, in _create
recs._validate_fields(vals)
File "/data/home/openerp/bin/8.0/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/data/home/openerp/bin/8.0/openerp/models.py", line 1258, in _validate_fields
res_msg = trans._get_source(self._name, 'constraint', self.env.lang, msg)
File "/data/home/openerp/bin/8.0/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/data/home/openerp/bin/8.0/openerp/api.py", line 441, in new_api
result = method(self._model, cr, uid, _args, *_kwargs)
File "", line 2, in _get_source
File "/data/home/openerp/bin/8.0/openerp/tools/cache.py", line 71, in lookup
value = d[key] = self.method(_args, *_kwargs)
File "/data/home/openerp/bin/8.0/openerp/addons/base/ir/ir_translation.py", line 354, in _get_source
cr.execute(query, params)
File "/data/home/openerp/bin/8.0/openerp/sql_db.py", line 158, in wrapper
return f(self, _args, *_kwargs)
File "/data/home/openerp/bin/8.0/openerp/sql_db.py", line 234, in execute
res = self._obj.execute(query, params)
InternalError: current transaction is aborted, commands ignored until end of transaction block

[8.0][BUG][inter_company_rules] supplier invoice validate error

Hi,

Thank you very much to develop such a good app!

I set up A company and B company, after establishing A company SO, company B can automatically generate the PO;SO can shipment, create and validate the customer invoice, the PO can be receiving, create and validate the supplier invoice, but an error occurred while trying to confirm the supplier invoice.

ValidateError Field(s) company_id failed against a constraint: Account and Period must belong to the same company.

nothing happens after installation

Hello,
I don't understand how to use this module,after installation nothing happens
Please if you have screens to explain how to use it

Check_id are hidden

Dear Sir,

Please check module account_check by nonadmin user, you will see that you cannot select checkbook when you want pay to supplier.

Thanks

Lines in Sale Orders don't respect order in which they are entered after installing nan_product_pack

After installing this module Lines in Sale Orders don't respect order in which they are entered. For more details, please check this forum thread:

https://www.odoo.com/forum/help-1/question/lines-in-sale-orders-dont-respect-order-in-which-they-are-entered-69320

The behavior I've noticed is the following, if you enter each product line continuously by clicking "Add an item" and add all items one after another without abandoning the "Create: Order Lines" form by clicking "Save & New", once you're done entering them all this way and click "(update)" or "Save" the Sale Order, the items respect the order in which they where entered. BUT, if for example you add an item by clicking "Add an item" then click "Save & Close" on the ""Create: Order Lines", once you start adding items again, any new items you add will appear after the first line entered in the Sale Order one you save or update it, instead of being places after the LAST line in the sequence they have been added. This behaviour is very annoying specially when creating a quotation with many items, it can get all messed up and you have to drag and drop each item to place them in the intended order.

product_pack error when saving a quotation

Hi there,

I've been messing around with your product_pack module in a Odoo 8 installation.
I can create packs as a product variant of a product and store it.

When I add this product to a sale quotation the following error appears:

OpenERP Server Error
Traceback (most recent call last):
File "/Users/colmeirin/odoo/openerp/http.py", line 517, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/Users/colmeirin/odoo/openerp/http.py", line 535, in dispatch
result = self._call_function(*_self.params)
File "/Users/colmeirin/odoo/openerp/http.py", line 294, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/Users/colmeirin/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/Users/colmeirin/odoo/openerp/http.py", line 291, in checked_call
return self.endpoint(_a, *_kw)
File "/Users/colmeirin/odoo/openerp/http.py", line 751, in call
return self.method(_args, *_kw)
File "/Users/colmeirin/odoo/openerp/http.py", line 387, in response_wrap
response = f(_args, *_kw)
File "/Users/colmeirin/odoo/addons/web/controllers/main.py", line 949, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/Users/colmeirin/odoo/addons/web/controllers/main.py", line 941, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/Users/colmeirin/odoo/openerp/api.py", line 237, in wrapper
return old_api(self, _args, *_kwargs)
File "/Users/colmeirin/odoo/other/test/odoo-addons/product_pack/sale.py", line 25, in create
self.expand_packs(cr, uid, [result], context)
File "/Users/colmeirin/odoo/openerp/api.py", line 237, in wrapper
return old_api(self, _args, *_kwargs)
File "/Users/colmeirin/odoo/other/test/odoo-addons/product_pack/sale.py", line 158, in expand_packs
'procurement_id': line.procurement_id and line.procurement_id.id or False,
AttributeError: 'sale.order.line' object has no attribute 'procurement_id'

Feature Request [8.0] product_catalog_aeroo_report - Is it possible to output one category per sheet/worksheet with this module?

@jjscarafia ,

I've just started working with this module in 8.0, and it is proving incredibly useful. Thanks for all your work on this project.

I'd like to ask if it is possible to output category per sheet/worksheet with this module. I've searched through the Alistek forums, as well as help.odoo.com and I can't find anything on this topic.

What I am hoping to accomplish is create a separate worksheet per product category and list all products in that category (and subcategories if possible) in that worksheet.

If you have time I would value your input or advice on this question.

inter_company_rules not creating SO from PO

Sale order not being created within multi company, Company A defined as supplier for company B.
When creating a purchase order for company A from company B no Sale order is being created in Company A?

S.R.L.

Juan
En Ventas, Configuración, Libreta de Direcciones, Títulos. La correcta denominacion de las S.R.L. Es Sociedad de Responsabilidad Limitada y no Sociedad Limitada.
...lo corrijo y con cada pull vuelve a lo anterior

[9.0] product_catalog_aeroo_report & Other Aeroo-related modules

@jjscarafia ,

Aeroo reports is now working in Odoo 9.0 thanks to some syntax changes from (@)yenthe666 and a fix in odoo 8.0 that hopefully will be forward ported to 9.0 soon here:

https://github.com/odoo/odoo/pull/10080/files

i'm using this change in 9.0 already and it's working great.

From what I can see your product_catalog_aeroo_report module is working great in version 9.0 (although example reports need to be modified slightly) and i've only needed to change this line in https://github.com/ingadhoc/odoo-addons/blob/8.0/product_catalog_aeroo_report/wizard/product_catalog_wizard.xml:

        <menuitem
                id="menu_product_catalog"
                action="action_product_catalog"
                parent="base.menu_product"
                sequence="20"/>

to this:

        <menuitem
                id="menu_product_catalog"
                action="action_product_catalog"
                parent="base.menu_sale_report"
                sequence="20"/>

to allow it to appear in the menu under Sales >> Reports >> Product Catalog.

The only thing I have not yet managed to get working in 9.0 is images in reports, although I will be troubleshooting this today to find a fix.

Do you have any plans to port this module over to 9.0 officially, or would you accept a PR to a 9.0 branch for that module?

Account selection error

Hello,
There is a mistake in the account selection for the product.
Here it takes the 'income' account although it should take the 'expense' account because it's a 'purchase' contracts system.

Am I right?
Thanks for the follo

inter_company_rules not creating Sale Order

Hi,

I'm trying now, to do the reverse thing. From a Purchase Order, create a Sale Order in the related company. It won't create the SO whatever I do. I tried to use admin as the responsible user for the SO. I tried to create use other users with Purchase permission of the company... But nothing seems to happen.

Also, I added some log's onto wkf_confirm_order method in the object purchase_order inherited in this module, but it seems that it is not being executed.

V9.0 Forum in zh-CN language Internal Server Error

2015-11-30 10:30:00,482 944 INFO bode werkzeug: 127.0.0.1 - - [30/Nov/2015 10:30:00] "GET /zh_CN/forum/1/question/3 HTTP/1.0" 500 -
2015-11-30 10:30:00,490 944 ERROR bode werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi
execute(self.server.app)
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute
application_iter = app(environ, start_response)
File "/usr/lib/python2.7/dist-packages/openerp/service/server.py", line 245, in app
return self.app(e, s)
File "/usr/lib/python2.7/dist-packages/openerp/service/wsgi_server.py", line 184, in application
return application_unproxied(environ, start_response)
File "/usr/lib/python2.7/dist-packages/openerp/service/wsgi_server.py", line 170, in application_unproxied
result = handler(environ, start_response)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 1417, in call
return self.dispatch(environ, start_response)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 1391, in call
return self.app(environ, start_wrapped)
File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in call
return self.app(environ, start_response)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 1581, in dispatch
result = ir_http._dispatch()
File "/usr/lib/python2.7/dist-packages/openerp/addons/website_sale/models/ir_http.py", line 12, in _dispatch
return super(IrHttp, self)._dispatch()
File "/usr/lib/python2.7/dist-packages/openerp/addons/utm/models/ir_http.py", line 13, in _dispatch
response = super(ir_http, self)._dispatch()
File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/ir_http.py", line 162, in _dispatch
return self.reroute('/'.join(path) or '/')
File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/ir_http.py", line 209, in reroute
return self._dispatch()
File "/usr/lib/python2.7/dist-packages/openerp/addons/website_sale/models/ir_http.py", line 12, in _dispatch
return super(IrHttp, self)._dispatch()
File "/usr/lib/python2.7/dist-packages/openerp/addons/utm/models/ir_http.py", line 13, in _dispatch
response = super(ir_http, self)._dispatch()
File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/ir_http.py", line 190, in _dispatch
resp = super(ir_http, self)._dispatch()
File "/usr/lib/python2.7/dist-packages/openerp/addons/web_editor/models/ir_http.py", line 16, in _dispatch
return super(ir_http, self)._dispatch()
File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_http.py", line 176, in _dispatch
return self._handle_exception(e)
File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/ir_http.py", line 279, in _handle_exception
context=request.context)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 238, in wrapper
return old_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/ir_ui_view.py", line 85, in _views_get
result += self._views_get(cr, uid, called_view, options=options, bundles=bundles, context=context)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 238, in wrapper
return old_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/ir_ui_view.py", line 75, in _views_get
node = etree.fromstring(view.arch)
File "lxml.etree.pyx", line 3032, in lxml.etree.fromstring (src/lxml/lxml.etree.c:68106)

File "parser.pxi", line 1785, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:102455)

File "parser.pxi", line 1666, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:101214)

File "parser.pxi", line 1035, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:96124)

File "parser.pxi", line 582, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:91275)

File "parser.pxi", line 683, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:92461)

File "parser.pxi", line 622, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:91757)

XMLSyntaxError: StartTag: invalid element name, line 5, column 10
2015-11-30 10:30:43,346 944 INFO bode werkzeug: 127.0.0.1 - - [30/Nov/2015 10:30:43] "GET /en_US/forum/help-1/badge/popular-question-5 HTTP/1.0" 302 -
2015-11-30 10:30:43,621 944 INFO bode werkzeug: 127.0.0.1 - - [30/Nov/2015 10:30:43] "GET /forum/help-1/badge/popular-question-5 HTTP/1.0" 200 -

Name and Checkbook Field

Hi,

In the account_check app, when i want issue check to supplier, i cannot write the name and select checkbook. it is hidden when i am not administrator.

???

Product_pack does not work??

Hi,

How does product_pack module work? i cant seem to set any configurations and i can set any product as a pack.. How do i go about configuring the module?

Error during the importation

Thanks for your help, I used the import module in Odoo.

Odoo Server Error
Traceback (most recent call last):
File "/opt/versions/odoo-odoo-community/8.0.20150625.174440/parts/odoo/openerp/http.py", line 537, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/versions/odoo-odoo-community/8.0.20150625.174440/parts/odoo/openerp/http.py", line 574, in dispatch
result = self._call_function(*_self.params)
File "/opt/versions/odoo-odoo-community/8.0.20150625.174440/parts/odoo/openerp/http.py", line 310, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/opt/versions/odoo-odoo-community/8.0.20150625.174440/parts/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/opt/versions/odoo-odoo-community/8.0.20150625.174440/parts/odoo/openerp/http.py", line 307, in checked_call
return self.endpoint(_a, *_kw)
File "/opt/versions/odoo-odoo-community/8.0.20150625.174440/parts/odoo/openerp/http.py", line 803, in call
return self.method(_args, *_kw)
File "/opt/versions/odoo-odoo-community/8.0.20150625.174440/parts/odoo/openerp/http.py", line 403, in response_wrap
response = f(_args, *_kw)
File "/opt/odoo/production/files/parts/odoo/addons/web/controllers/main.py", line 948, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/production/files/parts/odoo/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/opt/versions/odoo-odoo-community/8.0.20150625.174440/parts/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/production/files/parts/odoo/addons/base_import_module/models/base_import_module.py", line 29, in import_module
res = module_obj.import_zipfile(cr, uid, fp, force=data.force, context=context)
File "/opt/versions/odoo-odoo-community/8.0.20150625.174440/parts/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/production/files/parts/odoo/addons/base_import_module/models/ir_module.py", line 104, in import_zipfile
errors[mod_name] = str(e)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 158: ordinal not in range(128)

Adds a button for confirmed orders so that you can print the purchase order.

intento instalar este modulo y me sale este error

Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/http.py", line 537, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo-server/openerp/http.py", line 574, in dispatch
result = self._call_function(*_self.params)
File "/opt/odoo/odoo-server/openerp/http.py", line 310, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/http.py", line 307, in checked_call
return self.endpoint(_a, *_kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 803, in call
return self.method(_args, *_kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 403, in response_wrap
response = f(_args, *_kw)
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 948, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 940, in _call_kw
return checked_call(request.db, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 939, in checked_call
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/api.py", line 336, in old_api
result = method(recs, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/models.py", line 4082, in create
record = self.browse(self._create(old_vals))
File "/opt/odoo/odoo-server/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/api.py", line 463, in new_api
result = method(self._model, cr, uid, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/models.py", line 4220, in _create
tuple([u[2] for u in updates if len(u) > 2])
File "/opt/odoo/odoo-server/openerp/sql_db.py", line 158, in wrapper
return f(self, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/sql_db.py", line 234, in execute
res = self._obj.execute(query, params)
ProgrammingError: column "module_purchase_prices_update" of relation "adhoc_base_config_settings" does not exist
LINE 1: ...prices_update", "module_sale_pricelist_discount", "module_pu...

Trying to install, I get this error. Could you help?

2015-04-25 18:16:59,943 27075 INFO 03test openerp.models: storing computed values of fields.function 'product_uom'
2015-04-25 18:16:59,959 27075 ERROR 03test openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/home/odoo-test/odoo-test/openerp/http.py", line 525, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/odoo-test/odoo-test/openerp/http.py", line 562, in dispatch
result = self._call_function(*_self.params)
File "/home/odoo-test/odoo-test/openerp/http.py", line 302, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/home/odoo-test/odoo-test/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/home/odoo-test/odoo-test/openerp/http.py", line 299, in checked_call
return self.endpoint(_a, *_kw)
File "/home/odoo-test/odoo-test/openerp/http.py", line 791, in call
return self.method(_args, *_kw)
File "/home/odoo-test/odoo-test/openerp/http.py", line 395, in response_wrap
response = f(_args, *_kw)
File "/home/odoo-test/odoo-test/addons/web/controllers/main.py", line 953, in call_button
action = self._call_kw(model, method, args, {})
File "/home/odoo-test/odoo-test/addons/web/controllers/main.py", line 941, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/home/odoo-test/odoo-test/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/home/odoo-test/odoo-test/openerp/addons/base/module/module.py", line 450, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/home/odoo-test/odoo-test/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/home/odoo-test/odoo-test/openerp/addons/base/module/module.py", line 498, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/home/odoo-test/odoo-test/openerp/modules/registry.py", line 346, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/odoo-test/odoo-test/openerp/modules/loading.py", line 363, in load_modules
loaded_modules, update_module)
File "/home/odoo-test/odoo-test/openerp/modules/loading.py", line 263, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/home/odoo-test/odoo-test/openerp/modules/loading.py", line 163, in load_module_graph
init_module_models(cr, package.name, models)
File "/home/odoo-test/odoo-test/openerp/modules/module.py", line 296, in init_module_models
t[1](cr, *t[2])
File "/home/odoo-test/odoo-test/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/home/odoo-test/odoo-test/openerp/models.py", line 2243, in _update_store
res = f.get(cr, self, iids, k, SUPERUSER_ID, {})
File "/home/odoo-test/odoo-test/openerp/osv/fields.py", line 1361, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/home/odoo-test/odoo-test/openerp/osv/fields.py", line 1430, in _fnct_read
value = value[field][:1]
File "/home/odoo-test/odoo-test/openerp/models.py", line 5500, in getitem
return self._fields[key].get(self, type(self))
KeyError: 'product_id'

[v8 account_bank_voucher] Permite doble conciliación

Escenario 1:
En un extracto bancario dígito manualmente dos lineas por el mismo valor y tercero, al conciliar la primera, la segunda ya no permite usar el mismo registro en la conciliación.

Escenario 2
En un extracto bancario dígito una linea de un tercero ya con pago registrado, luego importo este pago (que queda conciliado inmediatamente), cuando concilio, permite utilizar el mismo registro para la linea que se digitó.

UTF-8 Compatibility in res_partner function def build_name

Hi all,

thanks for your great Plugin we are really like to use it! But we have one Problem with the encoding of "ä ü ö", we alwys get this error:

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 537, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 574, in dispatch result = self._call_function(*_self.params) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 310, in _call_function return checked_call(self.db, *args, *_kwargs) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 118, in wrapper return f(dbname, _args, *_kwargs) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 307, in checked_call return self.endpoint(_a, *_kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 803, in call return self.method(_args, *_kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 403, in response_wrap response = f(_args, *_kw) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 944, in call_kw return self._call_kw(model, method, args, kwargs) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 256, in wrapper return old_api(self, _args, *_kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 387, in old_api result = method(recs, _args, *_kwargs) File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 5957, in onchange record._onchange_eval(name, field_onchange[name], result) File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 5815, in _onchange_eval method_res = method(self) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 254, in wrapper return new_api(self, _args, *_kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 431, in new_api result = [method(rec, _args, *_kwargs) for rec in self] File "/var/lib/odoo/.local/share/Odoo/addons/8.0/partner_person/res_partner.py", line 153, in build_name print 'name', self.name UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 18: ordinal not in range(128)

And we are only able to fix it if we add the following to the build_name function:

@api.one
@api.onchange('firstname', 'lastname')
@api.constrains('firstname', 'lastname')
def build_name(self):
print 'build_name'
if self.lastname and self.firstname:
self.name = '%s %s' % (
self.lastname or '', self.firstname or '')
print 'name', self.name**.encode('utf8')**

Can you update your module for utf8 compatibility?

Would be really nice to hearing from you in the near future!

Regards Yannik

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.