Skip to content

Commit

Permalink
Merge PR #997 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by dhongu
  • Loading branch information
OCA-git-bot committed Jun 18, 2024
2 parents 6d55800 + 82d4099 commit 092401f
Show file tree
Hide file tree
Showing 21 changed files with 1,636 additions and 0 deletions.
4 changes: 4 additions & 0 deletions l10n_ro_account_edi_ubl/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,10 @@ def action_post(self):
"partner_id": invoice.partner_id.id,
"product_name": line.name,
"product_code": line.l10n_ro_vendor_code,
"product_id": line.product_id.id,
"price": line.price_unit,
"currency_id": invoice.currency_id.id,
"product_uom": line.product_uom_id.id,
}
)
else:
Expand Down
95 changes: 95 additions & 0 deletions l10n_ro_message_spv/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
====================
Romania - Mesaje SPV
====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:335eed572846ba614b3502fae8b7f6ec5048ee48986d92b1764ec2bf1c9cce45
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--romania-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-romania/tree/16.0/l10n_ro_message_spv
:alt: OCA/l10n-romania
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-romania-16-0/l10n-romania-16-0-l10n_ro_message_spv
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-romania&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|


**Table of contents**

.. contents::
:local:

Configuration
=============



Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-romania/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-romania/issues/new?body=module:%20l10n_ro_message_spv%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Terrabit
* NextERP Romania

Contributors
~~~~~~~~~~~~

* `Terrabit <https://www.terrabit.ro>`_:

* Dorin Hongu <[email protected]>



Do not contact contributors directly about support or help with technical issues.

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

.. |maintainer-dhongu| image:: https://github.com/dhongu.png?size=40px
:target: https://github.com/dhongu
:alt: dhongu

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-dhongu|

This module is part of the `OCA/l10n-romania <https://github.com/OCA/l10n-romania/tree/16.0/l10n_ro_message_spv>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions l10n_ro_message_spv/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright (C) 2024 Dorin Hongu <dhongu(@)gmail(.)com
# See README.rst file on addons root folder for license details

from . import models
27 changes: 27 additions & 0 deletions l10n_ro_message_spv/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright (C) 2024 Dorin Hongu <dhongu(@)gmail(.)com
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Romania - Mesaje SPV",
"category": "Localization",
"summary": "Romania - Mesaje SPV",
"depends": ["l10n_ro_account_anaf_sync", "l10n_ro_account_edi_ubl"],
"data": [
"security/ir.model.access.csv",
"security/security.xml",
"data/ir_cron_data.xml",
"views/message_spv_view.xml",
],
"assets": {
"web.assets_backend": [
"l10n_ro_message_spv/static/src/js/message_spv.js",
],
},
"license": "AGPL-3",
"version": "16.0.1.1.0",
"author": "Terrabit," "NextERP Romania," "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-romania",
"installable": True,
"development_status": "Beta",
"maintainers": ["dhongu"],
}
15 changes: 15 additions & 0 deletions l10n_ro_message_spv/data/ir_cron_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">

<record model="ir.cron" id="ir_cron_res_company_download_message_spv">
<field name="name">Romania e-Invoicing: Download SPV Message</field>
<field name="model_id" ref="base.model_res_company" />
<field name="state">code</field>
<field name="code">model._l10n_ro_download_message_spv()</field>
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False" />
</record>

</odoo>
Loading

0 comments on commit 092401f

Please sign in to comment.