Skip to content

Commit 37b1af8

Browse files
committed
[IMP] edi_sale_ubl_oca: depend on edi_exchange_type_auto
1 parent 6f9e402 commit 37b1af8

File tree

11 files changed

+598
-14
lines changed

11 files changed

+598
-14
lines changed

edi_sale_ubl_oca/README.rst

+81-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,81 @@
1-
bot, please, take care of this!
1+
=========
2+
EDI Sales
3+
=========
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:af2db468de92ccb162f9d369aa2e73f7d86e42bdd13c9de7209d9bbb2e02df97
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Alpha
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github
20+
:target: https://github.com/OCA/edi/tree/14.0/edi_sale_ubl_oca
21+
:alt: OCA/edi
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-edi_sale_ubl_oca
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=14.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
TODO
32+
33+
.. IMPORTANT::
34+
This is an alpha version, the data model and design can change at any time without warning.
35+
Only for development or testing purpose, do not use in production.
36+
`More details on development status <https://odoo-community.org/page/development-status>`_
37+
38+
**Table of contents**
39+
40+
.. contents::
41+
:local:
42+
43+
Bug Tracker
44+
===========
45+
46+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/edi/issues>`_.
47+
In case of trouble, please check there if your issue has already been reported.
48+
If you spotted it first, help us to smash it by providing a detailed and welcomed
49+
`feedback <https://github.com/OCA/edi/issues/new?body=module:%20edi_sale_ubl_oca%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
50+
51+
Do not contact contributors directly about support or help with technical issues.
52+
53+
Credits
54+
=======
55+
56+
Authors
57+
~~~~~~~
58+
59+
* Camptocamp
60+
61+
Contributors
62+
~~~~~~~~~~~~
63+
64+
* Simone Orsi <simone.orsi@camptocamp.com>
65+
66+
Maintainers
67+
~~~~~~~~~~~
68+
69+
This module is maintained by the OCA.
70+
71+
.. image:: https://odoo-community.org/logo.png
72+
:alt: Odoo Community Association
73+
:target: https://odoo-community.org
74+
75+
OCA, or the Odoo Community Association, is a nonprofit organization whose
76+
mission is to support the collaborative development of Odoo features and
77+
promote its widespread use.
78+
79+
This module is part of the `OCA/edi <https://github.com/OCA/edi/tree/14.0/edi_sale_ubl_oca>`_ project on GitHub.
80+
81+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

edi_sale_ubl_oca/__manifest__.py

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"depends": [
1515
"sale_order_import_ubl",
1616
"edi_sale_oca",
17+
"edi_exchange_type_auto",
1718
"edi_ubl_oca",
1819
"edi_xml_oca",
1920
"edi_exchange_template_oca",

edi_sale_ubl_oca/models/sale_order.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
class SaleOrder(models.Model):
1313
_name = "sale.order"
1414
_inherit = [
15+
"edi.auto.exchange.consumer.mixin",
1516
"sale.order",
1617
"edi.state.consumer.mixin",
1718
]
@@ -87,10 +88,10 @@ def create(self, vals_list):
8788
class SaleOrderLine(models.Model):
8889
_name = "sale.order.line"
8990
_inherit = [
90-
"sale.order.line",
9191
"edi.auto.exchange.consumer.mixin",
9292
"edi.id.mixin",
9393
"edi.state.consumer.mixin",
94+
"sale.order.line",
9495
]
9596

9697
def _edi_determine_lines_state(self, orig_vals):

0 commit comments

Comments
 (0)