Closed TDu closed 3 years ago
This PR has the approved
label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖
/ocabot merge nobump
What a great day to merge this nice PR. Let's do it! Prepared branch 13.0-ocabot-merge-pr-588-by-simahawk-bump-nobump, awaiting test results.
@simahawk The merge process could not be finalized, because command oca-gen-addon-readme --org-name OCA --repo-name l10n-switzerland --branch 13.0 --addons-dir /tmp/tmp2r0ytd3i --commit
failed with output:
/tmp/tmp2r0ytd3i/ebill_paynet/README.rst:106: (SEVERE/4) Title level inconsistent:
Authors
~~~~~~~
Traceback (most recent call last):
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 349, in check_subsection
level = title_styles.index(style) + 1
ValueError: '~' is not in list
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/oca-gen-addon-readme", line 11, in <module>
load_entry_point('oca-maintainers-tools', 'console_scripts', 'oca-gen-addon-readme')()
File "/ocamt-readme/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
return self.main(*args, **kwargs)
File "/ocamt-readme/lib/python3.8/site-packages/click/core.py", line 1062, in main
rv = self.invoke(ctx)
File "/ocamt-readme/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/ocamt-readme/lib/python3.8/site-packages/click/core.py", line 763, in invoke
return __callback(*args, **kwargs)
File "/ocamt-readme/src/oca-maintainers-tools/tools/gen_addon_readme.py", line 312, in gen_addon_readme
check_rst(readme_filename)
File "/ocamt-readme/src/oca-maintainers-tools/tools/gen_addon_readme.py", line 239, in check_rst
publish_file(
File "/ocamt-readme/lib/python3.8/site-packages/docutils/core.py", line 370, in publish_file
output, pub = publish_programmatically(
File "/ocamt-readme/lib/python3.8/site-packages/docutils/core.py", line 664, in publish_programmatically
output = pub.publish(enable_exit_status=enable_exit_status)
File "/ocamt-readme/lib/python3.8/site-packages/docutils/core.py", line 216, in publish
self.document = self.reader.read(self.source, self.parser,
File "/ocamt-readme/lib/python3.8/site-packages/docutils/readers/__init__.py", line 71, in read
self.parse()
File "/ocamt-readme/lib/python3.8/site-packages/docutils/readers/__init__.py", line 77, in parse
self.parser.parse(self.input, document)
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/__init__.py", line 191, in parse
self.statemachine.run(inputlines, document, inliner=self.inliner)
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 170, in run
results = StateMachineWS.run(self, input_lines, input_offset,
File "/ocamt-readme/lib/python3.8/site-packages/docutils/statemachine.py", line 238, in run
context, next_state, result = self.check_line(
File "/ocamt-readme/lib/python3.8/site-packages/docutils/statemachine.py", line 460, in check_line
return method(match, context, next_state)
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 3007, in text
self.section(title.lstrip(), source, style, lineno + 1, messages)
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 327, in section
self.new_subsection(title, lineno, messages)
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 393, in new_subsection
newabsoffset = self.nested_parse(
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 281, in nested_parse
state_machine.run(block, input_offset, memo=self.memo,
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 196, in run
results = StateMachineWS.run(self, input_lines, input_offset)
File "/ocamt-readme/lib/python3.8/site-packages/docutils/statemachine.py", line 238, in run
context, next_state, result = self.check_line(
File "/ocamt-readme/lib/python3.8/site-packages/docutils/statemachine.py", line 460, in check_line
return method(match, context, next_state)
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 2771, in underline
self.section(title, source, style, lineno - 1, messages)
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 327, in section
self.new_subsection(title, lineno, messages)
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 393, in new_subsection
newabsoffset = self.nested_parse(
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 281, in nested_parse
state_machine.run(block, input_offset, memo=self.memo,
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 196, in run
results = StateMachineWS.run(self, input_lines, input_offset)
File "/ocamt-readme/lib/python3.8/site-packages/docutils/statemachine.py", line 238, in run
context, next_state, result = self.check_line(
File "/ocamt-readme/lib/python3.8/site-packages/docutils/statemachine.py", line 460, in check_line
return method(match, context, next_state)
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 2771, in underline
self.section(title, source, style, lineno - 1, messages)
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 326, in section
if self.check_subsection(source, style, lineno):
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 355, in check_subsection
self.parent += self.title_inconsistent(source, lineno)
File "/ocamt-readme/lib/python3.8/site-packages/docutils/parsers/rst/states.py", line 371, in title_inconsistent
error = self.reporter.severe(
File "/ocamt-readme/lib/python3.8/site-packages/docutils/utils/__init__.py", line 237, in severe
return self.system_message(self.SEVERE_LEVEL, *args, **kwargs)
File "/ocamt-readme/lib/python3.8/site-packages/docutils/utils/__init__.py", line 195, in system_message
raise SystemMessage(msg, level)
docutils.utils.SystemMessage: /tmp/tmp2r0ytd3i/ebill_paynet/README.rst:106: (SEVERE/4) Title level inconsistent:
Authors
~~~~~~~
The merge seems to fail because the ebill_paynet
module has no README file generated ?
The merge seems to fail because the
ebill_paynet
module has no README file generated ?
no, because the generation of the README fails for some bad rst. You should try to run https://github.com/OCA/maintainer-tools#readme-generator
Yes, I was on that here we go https://github.com/OCA/l10n-switzerland/pull/623
@simahawk Could you try again to merge. Thanks
/ocabot merge nobump
Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 13.0-ocabot-merge-pr-588-by-simahawk-bump-nobump, awaiting test results.
Congratulations, your PR was merged at 20b921f1ae8febad1de3bfc69bf37f92e371bba6. Thanks a lot for contributing to OCA. ❤️
This module interconnects the
sale_order_customer_free_ref
from EDI with theebill_paynet
module.The order reference in the XML messge is set with the node.
customer_order_number
field. And thecustomer_order_free_ref
is added as a