GithubHelp home page GithubHelp logo

oca / l10n-portugal Goto Github PK

View Code? Open in Web Editor NEW
4.0 21.0 25.0 1.6 MB

Odoo Portuguese localization

License: GNU Affero General Public License v3.0

Python 58.10% HTML 41.90%
erp hacktoberfest localization odoo portugal

l10n-portugal's Introduction

Runboat Pre-commit Status Build Status codecov Translation Status

l10n-portugal

TODO: add repo description.

Available addons

addon version maintainers summary
l10n_pt_account_invoicexpress 16.0.1.2.3 dreispt Portuguese certified invoices using InvoiceXpress
l10n_pt_stock_invoicexpress 16.0.1.0.1 dreispt Portuguese legal transport and shipping documents (Guias de Transporte e Guias de Remessa) generated with InvoiceXpress
l10n_pt_vat 16.0.1.1.0 dreispt Portuguese VAT requirements extensions

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

l10n-portugal's People

Contributors

dariodelzozzo avatar dduarte-odoogap avatar dreispt avatar fmartins-odoogap avatar heliaktiv avatar justreisz avatar oca-git-bot avatar oca-transbot avatar oca-travis avatar sbidoul avatar vimalpatelserpentcs avatar weblate avatar

Stargazers

 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

l10n-portugal's Issues

Unable to install on Odoo 14.0 on AWS Bitnami

I'm trying to install this module in Odoo 14.0 on AWS (bitnami ami) and receive the following error in install.

Error:
Odoo Server Error

Traceback (most recent call last):
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
    result = request.dispatch()
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/http.py", line 684, in dispatch
    result = self._call_function(**self.params)
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/http.py", line 360, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/http.py", line 348, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/http.py", line 913, in __call__
    return self.method(*args, **kw)
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/http.py", line 532, in response_wrap
    response = f(*args, **kw)
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/addons/web/controllers/main.py", line 1393, in call_button
    action = self._call_kw(model, method, args, kwargs)
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/addons/web/controllers/main.py", line 1381, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/api.py", line 396, in call_kw
    result = _call_kw_multi(method, model, args, kwargs)
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/api.py", line 383, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "<decorator-gen-71>", line 2, in button_immediate_install
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/addons/base/models/ir_module.py", line 74, in check_and_log
    return method(self, *args, **kwargs)
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/addons/base/models/ir_module.py", line 475, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/addons/base/models/ir_module.py", line 593, in _button_immediate_function
    modules.registry.Registry.new(self._cr.dbname, update_module=True)
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/modules/registry.py", line 89, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/modules/loading.py", line 453, in load_modules
    processed_modules += load_marked_modules(cr, graph,
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/modules/loading.py", line 346, in load_marked_modules
    loaded, processed = load_module_graph(
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/modules/loading.py", line 178, in load_module_graph
    load_openerp_module(package.name)
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/modules/module.py", line 385, in load_openerp_module
    __import__('odoo.addons.' + module_name)
  File "/bitnami/odoo/addons/l10n_pt_saft/__init__.py", line 23, in <module>
    import l10n_pt_saft
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/http.py", line 640, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210710-py3.8.egg/odoo/http.py", line 316, in _handle_exception
    raise exception.with_traceback(None) from new_cause
ModuleNotFoundError: No module named 'l10n_pt_saft'

[QUOTES] - Error when creting a quote

Hi, before anything awesome work on the plugin!

I'm having a bit of trouble configuring it. I followed all the steps for configuration in settings but even after all configured I'm getting this error when creating a quote:
image

Module

Sales

Describe the bug

Error when creating a Quote

To Reproduce

Steps to reproduce the behavior:

  1. Click on Sales module;
  2. Click on Orders on the top menu;
  3. Click on Quotes;
  4. Click on CREATE;
  5. Fill the form (Select Proforma as Invoicexpress Doc Type)
  6. Add some product
  7. Click Save

Expected behavior
The creation of a Proforma in InvoiceExpress

Product price VAT included

When you work with VAT included in the price.
Confirm the invoice, it is created in invoicexpress, however invoicexpress will add vat to the included vat amount sent by odoo.

So it is not possible to use the module with vat prices included. Any help on this.

Validation error on an invoice white note line

Module

Technical name : l10n_pt_vat
Version : 14.0.1.0.2

Describe the bug

on an invoice to which I added a note, when I validate it, I get the following error message : A tax exemption reason must be provided.
It seems that the module expects a tax on each of the lines of the invoice (title and note also)

Steps to reproduce the behavior:

  1. create a manual invoice
  2. add a note line in the invoice lines
  3. validate the invoice

Expected behavior
do not take into account the title and note lines when validating an invoice by this module

Can´t add payment in Odoo when Invoicexpress Doc Type = Invoice and Receipt

When I create an invoice in Odoo with Invoicexpress Doc Type = "Invoice and Receipt", I cannot add payment in Odoo because in invoicexpress payment has already been registered.

Error when I tried to add payment : Error running API request (422 Unprocessable Entity): {'errors': [{'error': 'Change event error'}]}

Any workarround ?

Integração com InvoiceExpress e SAFT-PT de Contabilidad

Bom dia Daniel,

Uma duvida que temos em nossa empresa é como as empresas que utlizam Odoo em Portugal fazem para obter o fichero SAFT-PT de Contabilidade que passa a ser obrigatorio a partir de 2022.

Você sabe se o InvoiceExpress esta preparado para isso?

Obrigado.

[RFC] VAT Rates

The Odoo l10n_pt module only provides the basic tax rates.

An extension is needed to support the several tax rates and VAT regions - Mainland, Madeira, Azores, Other countries.
This can be supported through Fiscal Position mapping.

[14.0][15.0][16.0] git checkout on windows "" error: invalid path 'l10n_pt_vat/static/description/Autoridade-tributaria-e-Aduaneira-ATA-420x420.png:Zone.Identifier' ""

Module

l10n_pt_vat

Describe the bug

When I git checkout on windows (for Docker environment) "" error: invalid path 'l10n_pt_vat/static/description/Autoridade-tributaria-e-Aduaneira-ATA-420x420.png:Zone.Identifier'
"" because file has got a ":" space after ".png"
https://github.com/OCA/l10n-portugal/blob/16.0/l10n_pt_vat/static/description/Autoridade-tributaria-e-Aduaneira-ATA-420x420.png%3AZone.Identifier

To Reproduce

Affected versions: 14.0 15.0 16.0

Steps to reproduce the behavior:

  1. On windows
  2. Git clone this repo
  3. git checkout 14.0

[16.0][BUG][l10n_pt_account_invoicexpress] account.move wrong default value on parameter soft

Module

l10n_pt_account_invoicexpress

Describe the bug

There is an override of the method _post() inside the model account.move that change the default value of parameter soft.
OCA/l10n-portugal

To Reproduce

Use any functionality that calls the method _post() of the account.move and you will see that all future records get posted.
For example in the enteprise version you can create an Account Asset and when you validate it all future Bills get posted (wrong because future ones must be in draft)

Here the parent method from Odoo standard:
Odoo parent method

As you can see the default value is soft=True

Affected versions:
Odoo 16.0

New branch: 9.0

We're looking to update one of our PRs to submit a new module targeting Odoo v9, but Github only allows PRs for existing branches, so we request that a new branch be created for 9.0.

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.