- Remove redundant string= from 17 field definitions where name matches string value (W8113) - Convert @staticmethod to instance methods in selection methods for proper self.env._() access - Fix W8161 (prefer-env-translation) by using self.env._() instead of standalone _() - Fix W8301/W8115 (translation-not-lazy) by proper placement of % interpolation outside self.env._() - Remove unused imports of odoo._ from group_order.py and sale_order_extension.py - All OCA linting warnings in website_sale_aplicoop main models are now resolved Changes: - website_sale_aplicoop/models/group_order.py: 21 field definitions cleaned - website_sale_aplicoop/models/sale_order_extension.py: 5 field definitions cleaned + @staticmethod conversion - Consistent with OCA standards for addon submission
47 lines
1.6 KiB
Python
47 lines
1.6 KiB
Python
#!/usr/bin/env python3
|
|
|
|
from setuptools import find_packages
|
|
from setuptools import setup
|
|
|
|
with open("README.rst", encoding="utf-8") as fh:
|
|
long_description = fh.read()
|
|
|
|
setup(
|
|
name="odoo-addon-website-sale-aplicoop",
|
|
version="18.0.1.0.0-beta",
|
|
description="Website Sale - Aplicoop: Modern replacement for legacy Aplicoop",
|
|
long_description=long_description,
|
|
long_description_content_type="text/x-rst",
|
|
author="Criptomart SL",
|
|
author_email="info@criptomart.net",
|
|
url="https://criptomart.net",
|
|
project_urls={
|
|
"Repository": "https://git.criptomart.net/KideKoop/kidekoop",
|
|
"Bug Tracker": "https://git.criptomart.net/KideKoop/kidekoop/issues",
|
|
},
|
|
license="AGPL-3",
|
|
packages=find_packages(),
|
|
include_package_data=True,
|
|
python_requires=">=3.10",
|
|
install_requires=[
|
|
"odoo>=18.0,<18.1",
|
|
],
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"Environment :: Web Environment",
|
|
"Framework :: Odoo",
|
|
"Framework :: Odoo :: 18.0",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: GNU Affero General Public License v3",
|
|
"Natural Language :: English",
|
|
"Natural Language :: Spanish",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
],
|
|
keywords="odoo website sale e-commerce group purchase colaborative consumption",
|
|
)
|