Giter Club home page Giter Club logo

Comments (3)

luc-demeyer avatar luc-demeyer commented on August 23, 2024

Which Odoo version are you running ? V6, V7, V8 ?
Are you in multi-company mode ?
If so, please ensure that the declarantnum sequence is shared between the companies or otherwise create a separate sequence for all companies.

from noviat-apps.

lbonjean avatar lbonjean commented on August 23, 2024

Hi Luc,
It is version 8, and indeed multicompany.
I guess you mean the declarantseq sequence, by creating this for the company this one is indeed fixed.

The second one remains:
(But it works by changing partner_id to l.partner id)

File "/opt/odoo/odoo-server/openerp/api.py", line 256, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/custom/addons/l10n_be_coa_multilang/wizard/l10n_be_vat_intra.py", line 216, in _get_datas
(codes, tuple([p.id for p in wiz_data.period_ids]), data_company.id))
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 reference "partner_id" is ambiguous
LINE 18: ... GROUP BY vat, intra_code, partner_name, partner_id

Thanks,

Luc

from noviat-apps.

lbonjean avatar lbonjean commented on August 23, 2024

Hello Luc,
Do you want me to fix it and generate a pull request, or do you prefer to do check this yourself?

Luc

from noviat-apps.

Related Issues (10)

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.