Skip to content

[13.0][OU-FIX] stock: convert responsible_id to company_dependent #1375

[13.0][OU-FIX] stock: convert responsible_id to company_dependent

[13.0][OU-FIX] stock: convert responsible_id to company_dependent #1375

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Flake OpenUpgrade
on:
push:
branches: ["13.0"]
pull_request:
jobs:
flake:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- uses: actions/checkout@v4
- name: Configuration
run: pip install flake8==4.0.1
- name: Flake8 Script
run: |
flake8 odoo/openupgrade --max-line-length=120
flake8 odoo/addons/openupgrade* --max-line-length=120 --filename=__init__.py --ignore=F401
flake8 odoo/addons/openupgrade* --max-line-length=120 --exclude=__init__.py
# only flake8 migration scripts from the openupgrade project, presumably
# identifiable by using the openupgrade helpers
flake8 --max-line-length=120 scripts $(find . \( -name 'pre-*.py' -or -name 'post-*.py' -or -name 'end-*.py' \) -exec grep -q openupgrade {} \; -print)
if ls addons/*/migrations/*/tests/ > /dev/null 2>&1; then
flake8 addons/*/migrations/*/tests/ --max-line-length=120 --filename=__init__.py --ignore=F401
flake8 addons/*/migrations/*/tests/ --max-line-length=120 --exclude=__init__.py
fi