OCA / edi-framework

GNU Affero General Public License v3.0
7 stars 29 forks source link

[14.0] Add edi_state_oca #2

Closed simahawk closed 1 year ago

simahawk commented 1 year ago

Technical module for the EDI suite to provide additional states for any records.

Example: a SO is generated via UBL file and you want to provide an ORDRSP with the right state on the order and on each line.

It provides 2 new models:

ivantodorovich commented 1 year ago

Ci si red though

2023-05-22 16:58:38,691 251 ERROR odoo odoo.addons.edi_state_oca.tests.test_edi_state: FAIL: TestEDIState.test_mixin_edi_set_state
odoo.exceptions.UserError: State KO 1 [KO_1] not allowed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/__w/edi-framework/edi-framework/edi_state_oca/tests/test_edi_state.py", line 86, in test_mixin_edi_set_state
    self.consumer_record._edi_set_state(state)
AssertionError: "State KO 1 not allowed" does not match "State KO 1 [KO_1] not allowed"
simahawk commented 1 year ago

/ocabot merge nobump

simahawk commented 1 year ago

/ocabot merge nobump

OCA-git-bot commented 1 year ago

On my way to merge this fine PR! Prepared branch 14.0-ocabot-merge-pr-2-by-simahawk-bump-nobump, awaiting test results.

OCA-git-bot commented 1 year ago

On my way to merge this fine PR! Prepared branch 14.0-ocabot-merge-pr-2-by-simahawk-bump-nobump, awaiting test results.

OCA-git-bot commented 1 year ago

Congratulations, your PR was merged at 1afe1d2e0d1a529101d144ecb51a63258980df38. Thanks a lot for contributing to OCA. ❤️