César López Ramírez
5 years ago
258 changed files with 19553 additions and 9699 deletions
-
291.eslintrc
-
10.flake8
-
27.gitignore
-
12.isort.cfg
-
69.pre-commit-config.yaml
-
86.pylintrc
-
64.pylintrc-mandatory
-
34.travis.yml
-
48README.md
-
58easy_my_coop/README.rst
-
103easy_my_coop/__manifest__.py
-
13easy_my_coop/data/easy_my_coop_data.xml
-
116easy_my_coop/data/mail_template_data.xml
-
4easy_my_coop/data/paperformat.xml
-
36easy_my_coop/demo/coop.xml
-
6easy_my_coop/demo/users.xml
-
18easy_my_coop/description.rst
-
4easy_my_coop/i18n/ca_ES.po
-
27easy_my_coop/migrations/8.0.1.0/pre-migration.py
-
144easy_my_coop/models/account_invoice.py
-
5easy_my_coop/models/account_journal.py
-
82easy_my_coop/models/company.py
-
1056easy_my_coop/models/coop.py
-
2easy_my_coop/models/mail_template.py
-
475easy_my_coop/models/operation_request.py
-
213easy_my_coop/models/partner.py
-
28easy_my_coop/models/product.py
-
5easy_my_coop/models/res_partner_bank.py
-
1easy_my_coop/readme/CONTRIBUTORS.rst
-
1easy_my_coop/readme/DESCRIPTION.rst
-
10easy_my_coop/report/account_invoice_report.py
-
35easy_my_coop/report/cooperator_certificat_G001.xml
-
136easy_my_coop/report/cooperator_invoice_G002.xml
-
236easy_my_coop/report/cooperator_register_G001.xml
-
206easy_my_coop/report/cooperator_subscription_G001.xml
-
68easy_my_coop/report/easy_my_coop_report.xml
-
65easy_my_coop/report/layout.xml
-
6easy_my_coop/security/res_groups.xml
-
BINeasy_my_coop/static/description/icon.png
-
47easy_my_coop/static/description/icon.svg
-
414easy_my_coop/static/description/index.html
-
88easy_my_coop/static/src/js/easy_my_coop.js
-
2945easy_my_coop/static/src/js/jquery.inputmask.bundle.js
-
5easy_my_coop/tests/test_emc.py
-
146easy_my_coop/views/account_invoice_view.xml
-
24easy_my_coop/views/account_journal_view.xml
-
145easy_my_coop/views/cooperator_register_view.xml
-
20easy_my_coop/views/email_template_view.xml
-
63easy_my_coop/views/menus.xml
-
224easy_my_coop/views/operation_request_view.xml
-
300easy_my_coop/views/product_view.xml
-
63easy_my_coop/views/res_company_view.xml
-
250easy_my_coop/views/res_partner_view.xml
-
300easy_my_coop/views/subscription_request_view.xml
-
10easy_my_coop/wizard/account_invoice_refund.py
-
81easy_my_coop/wizard/cooperative_history_wizard.xml
-
216easy_my_coop/wizard/create_subscription_from_partner.py
-
41easy_my_coop/wizard/create_subscription_from_partner.xml
-
49easy_my_coop/wizard/update_partner_info.py
-
27easy_my_coop/wizard/update_partner_info.xml
-
44easy_my_coop/wizard/update_share_line.py
-
18easy_my_coop/wizard/update_share_line.xml
-
8easy_my_coop/wizard/validate_subscription_request.py
-
17easy_my_coop/wizard/validate_subscription_request.xml
-
58easy_my_coop_be/README.rst
-
19easy_my_coop_be/__manifest__.py
-
19easy_my_coop_be/models/coop.py
-
14easy_my_coop_be/models/partner.py
-
1easy_my_coop_be/readme/CONTRIBUTORS.rst
-
1easy_my_coop_be/readme/DESCRIPTION.rst
-
414easy_my_coop_be/static/description/index.html
-
55easy_my_coop_ch/README.rst
-
43easy_my_coop_ch/__manifest__.py
-
27easy_my_coop_ch/models/coop.py
-
24easy_my_coop_ch/models/partner.py
-
2easy_my_coop_ch/readme/CONTRIBUTORS.rst
-
1easy_my_coop_ch/readme/DESCRIPTION.rst
-
414easy_my_coop_ch/static/description/index.html
-
63easy_my_coop_ch/views/certificate_template.xml
-
57easy_my_coop_ch/views/subscription_template.xml
-
62easy_my_coop_dividend/README.rst
-
1easy_my_coop_dividend/__init__.py
-
33easy_my_coop_dividend/__manifest__.py
-
1easy_my_coop_dividend/models/__init__.py
-
237easy_my_coop_dividend/models/dividend.py
-
2easy_my_coop_dividend/readme/CONTRIBUTORS.rst
-
3easy_my_coop_dividend/readme/DESCRIPTION.rst
-
419easy_my_coop_dividend/static/description/index.html
-
179easy_my_coop_dividend/views/dividend_views.xml
-
54easy_my_coop_eater/README.rst
-
1easy_my_coop_eater/__init__.py
-
35easy_my_coop_eater/__manifest__.py
-
28easy_my_coop_eater/models/coop.py
-
10easy_my_coop_eater/models/product.py
-
1easy_my_coop_eater/readme/CONTRIBUTORS.rst
-
1easy_my_coop_eater/readme/DESCRIPTION.rst
-
415easy_my_coop_eater/static/description/index.html
-
13easy_my_coop_eater/view/product_view.xml
-
60easy_my_coop_export_xlsx/README.rst
-
1easy_my_coop_export_xlsx/__init__.py
@ -0,0 +1,291 @@ |
|||
{ |
|||
"globals": { |
|||
"$": false, |
|||
"_": false, |
|||
"fuzzy": false, |
|||
"jQuery": false, |
|||
"moment": false, |
|||
"odoo": false, |
|||
"openerp": false, |
|||
"self": false |
|||
}, |
|||
"env": { |
|||
"browser": true |
|||
}, |
|||
"rules": { |
|||
"no-alert": "warn", |
|||
"no-array-constructor": "warn", |
|||
"no-bitwise": "off", |
|||
"no-caller": "warn", |
|||
"no-case-declarations": "warn", |
|||
"no-catch-shadow": "warn", |
|||
"no-class-assign": "warn", |
|||
"no-cond-assign": "warn", |
|||
"no-confusing-arrow": "warn", |
|||
"no-console": "off", |
|||
"no-const-assign": "warn", |
|||
"no-constant-condition": "warn", |
|||
"no-continue": "off", |
|||
"no-control-regex": "warn", |
|||
"no-debugger": "warn", |
|||
"no-delete-var": "warn", |
|||
"no-div-regex": "warn", |
|||
"no-dupe-args": "warn", |
|||
"no-dupe-class-members": "warn", |
|||
"no-dupe-keys": "warn", |
|||
"no-duplicate-case": "warn", |
|||
"no-duplicate-imports": "warn", |
|||
"no-else-return": "warn", |
|||
"no-empty": "warn", |
|||
"no-empty-character-class": "warn", |
|||
"no-empty-function": "warn", |
|||
"no-empty-pattern": "warn", |
|||
"no-eq-null": "warn", |
|||
"no-eval": "warn", |
|||
"no-ex-assign": "warn", |
|||
"no-extend-native": "warn", |
|||
"no-extra-bind": "warn", |
|||
"no-extra-boolean-cast": "warn", |
|||
"no-extra-label": "warn", |
|||
"no-extra-parens": "warn", |
|||
"no-extra-semi": "warn", |
|||
"no-fallthrough": "warn", |
|||
"no-floating-decimal": "warn", |
|||
"no-func-assign": "warn", |
|||
"no-implicit-coercion": ["warn", { |
|||
"allow": ["~"] |
|||
}], |
|||
"no-implicit-globals": "warn", |
|||
"no-implied-eval": "warn", |
|||
"no-inline-comments": "warn", |
|||
"no-inner-declarations": "warn", |
|||
"no-invalid-regexp": "warn", |
|||
"no-invalid-this": "off", |
|||
"no-irregular-whitespace": "warn", |
|||
"no-iterator": "warn", |
|||
"no-label-var": "warn", |
|||
"no-labels": "warn", |
|||
"no-lone-blocks": "warn", |
|||
"no-lonely-if": "warn", |
|||
"no-loop-func": "off", |
|||
"no-magic-numbers": "off", |
|||
"no-mixed-operators": "warn", |
|||
"no-mixed-requires": "warn", |
|||
"no-mixed-spaces-and-tabs": "warn", |
|||
"no-multi-spaces": "warn", |
|||
"no-multi-str": "warn", |
|||
"no-multiple-empty-lines": "warn", |
|||
"no-native-reassign": "warn", |
|||
"no-negated-condition": "warn", |
|||
"no-negated-in-lhs": "warn", |
|||
"no-nested-ternary": "off", |
|||
"no-new": "warn", |
|||
"no-new-func": "warn", |
|||
"no-new-object": "warn", |
|||
"no-new-require": "warn", |
|||
"no-new-symbol": "warn", |
|||
"no-new-wrappers": "warn", |
|||
"no-obj-calls": "warn", |
|||
"no-octal": "warn", |
|||
"no-octal-escape": "warn", |
|||
"no-param-reassign": "warn", |
|||
"no-path-concat": "warn", |
|||
"no-plusplus": "off", |
|||
"no-process-env": "warn", |
|||
"no-process-exit": "warn", |
|||
"no-proto": "warn", |
|||
"no-prototype-builtins": "warn", |
|||
"no-redeclare": "warn", |
|||
"no-regex-spaces": "warn", |
|||
"no-restricted-globals": "warn", |
|||
"no-restricted-imports": "warn", |
|||
"no-restricted-modules": "warn", |
|||
"no-restricted-syntax": "warn", |
|||
"no-return-assign": "warn", |
|||
"no-script-url": "warn", |
|||
"no-self-assign": "warn", |
|||
"no-self-compare": "warn", |
|||
"no-sequences": "warn", |
|||
"no-shadow": "warn", |
|||
"no-shadow-restricted-names": "warn", |
|||
"no-whitespace-before-property": "warn", |
|||
"no-spaced-func": "warn", |
|||
"no-sparse-arrays": "warn", |
|||
"no-sync": "warn", |
|||
"no-tabs": "warn", |
|||
"no-ternary": "off", |
|||
"no-trailing-spaces": "warn", |
|||
"no-this-before-super": "warn", |
|||
"no-throw-literal": "warn", |
|||
"no-undef": "warn", |
|||
"no-undef-init": "warn", |
|||
"no-undefined": "off", |
|||
"no-unexpected-multiline": "warn", |
|||
"no-underscore-dangle": "off", |
|||
"no-unmodified-loop-condition": "warn", |
|||
"no-unneeded-ternary": "warn", |
|||
"no-unreachable": "warn", |
|||
"no-unsafe-finally": "warn", |
|||
"no-unused-expressions": "warn", |
|||
"no-unused-labels": "warn", |
|||
"no-unused-vars": "warn", |
|||
"no-use-before-define": "warn", |
|||
"no-useless-call": "warn", |
|||
"no-useless-computed-key": "warn", |
|||
"no-useless-concat": "warn", |
|||
"no-useless-constructor": "warn", |
|||
"no-useless-escape": "warn", |
|||
"no-useless-rename": "warn", |
|||
"no-void": "warn", |
|||
"no-var": "off", |
|||
"no-warning-comments": "off", |
|||
"no-with": "warn", |
|||
"array-bracket-spacing": "off", |
|||
"array-callback-return": "warn", |
|||
"arrow-body-style": "warn", |
|||
"arrow-parens": "warn", |
|||
"arrow-spacing": "off", |
|||
"accessor-pairs": "warn", |
|||
"block-scoped-var": "off", |
|||
"block-spacing": ["warn", "always"], |
|||
"brace-style": "warn", |
|||
"callback-return": "warn", |
|||
"camelcase": "off", |
|||
"capitalized-comments": ["warn", "always", { |
|||
"ignoreConsecutiveComments": true, |
|||
"ignoreInlineComments": true |
|||
}], |
|||
"comma-dangle": ["warn", "always-multiline"], |
|||
"comma-spacing": ["warn", { |
|||
"before": false, |
|||
"after": true |
|||
}], |
|||
"comma-style": "warn", |
|||
"complexity": [ |
|||
"warn", |
|||
15 |
|||
], |
|||
"computed-property-spacing": "off", |
|||
"consistent-return": "off", |
|||
"consistent-this": "off", |
|||
"constructor-super": "warn", |
|||
"curly": "warn", |
|||
"default-case": "off", |
|||
"dot-location": ["warn", "property"], |
|||
"dot-notation": "warn", |
|||
"eol-last": "warn", |
|||
"eqeqeq": "warn", |
|||
"func-names": "off", |
|||
"func-style": "off", |
|||
"generator-star-spacing": "off", |
|||
"global-require": "warn", |
|||
"guard-for-in": "off", |
|||
"handle-callback-err": "warn", |
|||
"id-blacklist": "warn", |
|||
"id-length": "off", |
|||
"id-match": "warn", |
|||
"indent": "warn", |
|||
"init-declarations": "warn", |
|||
"jsx-quotes": "warn", |
|||
"key-spacing": "off", |
|||
"keyword-spacing": "warn", |
|||
"linebreak-style": [ |
|||
"warn", |
|||
"unix" |
|||
], |
|||
"lines-around-comment": "warn", |
|||
"max-depth": "warn", |
|||
"max-len": ["warn", { |
|||
"code": 88, |
|||
"ignorePattern": "odoo\\.define\\(", |
|||
"tabWidth": 4 |
|||
}], |
|||
"max-lines": "off", |
|||
"max-nested-callbacks": "warn", |
|||
"max-params": "off", |
|||
"max-statements": "off", |
|||
"max-statements-per-line": "warn", |
|||
"multiline-ternary": "off", |
|||
"new-cap": "off", |
|||
"new-parens": "warn", |
|||
"newline-after-var": "off", |
|||
"newline-before-return": "off", |
|||
"newline-per-chained-call": "off", |
|||
"object-curly-newline": ["warn", { "consistent": true }], |
|||
"object-curly-spacing": ["warn", "never"], |
|||
"object-property-newline": ["warn", { |
|||
"allowAllPropertiesOnSameLine": true |
|||
}], |
|||
"object-shorthand": "off", |
|||
"one-var": "off", |
|||
"one-var-declaration-per-line": "off", |
|||
"operator-assignment": "warn", |
|||
"operator-linebreak": "warn", |
|||
"padded-blocks": "off", |
|||
"prefer-arrow-callback": "off", |
|||
"prefer-const": "warn", |
|||
"prefer-reflect": "off", |
|||
"prefer-rest-params": "off", |
|||
"prefer-spread": "off", |
|||
"prefer-template": "off", |
|||
"quote-props": "off", |
|||
"quotes": "off", |
|||
"radix": "warn", |
|||
"require-yield": "warn", |
|||
"rest-spread-spacing": "off", |
|||
"semi": [ |
|||
"warn", |
|||
"always" |
|||
], |
|||
"semi-spacing": "warn", |
|||
"sort-imports": "warn", |
|||
"sort-vars": "off", |
|||
"space-before-blocks": "warn", |
|||
"space-before-function-paren": "warn", |
|||
"space-in-parens": "off", |
|||
"space-infix-ops": "off", |
|||
"space-unary-ops": "off", |
|||
"spaced-comment": ["warn", "always"], |
|||
"strict": ["warn", "function"], |
|||
"template-curly-spacing": "off", |
|||
"unicode-bom": "warn", |
|||
"use-isnan": "warn", |
|||
"valid-jsdoc": ["warn", { |
|||
"prefer": { |
|||
"arg": "param", |
|||
"argument": "param", |
|||
"augments": "extends", |
|||
"constructor": "class", |
|||
"exception": "throws", |
|||
"func": "function", |
|||
"method": "function", |
|||
"prop": "property", |
|||
"return": "returns", |
|||
"virtual": "abstract", |
|||
"yield": "yields" |
|||
}, |
|||
"preferType": { |
|||
"array": "Array", |
|||
"bool": "Boolean", |
|||
"boolean": "Boolean", |
|||
"number": "Number", |
|||
"object": "Object", |
|||
"str": "String", |
|||
"string": "String" |
|||
}, |
|||
"requireParamDescription": false, |
|||
"requireReturn": false, |
|||
"requireReturnDescription": false, |
|||
"requireReturnType": false |
|||
}], |
|||
"valid-typeof": "warn", |
|||
"vars-on-top": "off", |
|||
"wrap-iife": "warn", |
|||
"wrap-regex": "warn", |
|||
"yield-star-spacing": "off", |
|||
"yoda": "warn" |
|||
}, |
|||
"parserOptions": { |
|||
"ecmaVersion": 2017 |
|||
} |
|||
} |
@ -0,0 +1,10 @@ |
|||
[flake8] |
|||
max-line-length = 79 |
|||
max-complexity = 16 |
|||
# B = bugbear |
|||
# B9 = bugbear opinionated (incl line length) |
|||
select = C,E,F,W,B,B9 |
|||
# E203: whitespace before ':' (black behaviour) |
|||
# E501: flake8 line length (covered by bugbear B950) |
|||
# W503: line break before binary operator (black behaviour) |
|||
ignore = E203,E501,W503 |
@ -0,0 +1,12 @@ |
|||
[settings] |
|||
; see https://github.com/psf/black |
|||
multi_line_output=3 |
|||
include_trailing_comma=True |
|||
force_grid_wrap=0 |
|||
combine_as_imports=True |
|||
use_parentheses=True |
|||
line_length=79 |
|||
known_odoo=odoo |
|||
known_odoo_addons=odoo.addons |
|||
sections=FUTURE,STDLIB,THIRDPARTY,ODOO,ODOO_ADDONS,FIRSTPARTY,LOCALFOLDER |
|||
known_third_party=addons,cStringIO,openerp,requests,werkzeug,xlsxwriter |
@ -0,0 +1,69 @@ |
|||
exclude: "^setup/|/static/lib/|/static/src/lib/" |
|||
default_language_version: |
|||
python: python3 |
|||
repos: |
|||
- repo: https://github.com/psf/black |
|||
rev: 19.3b0 |
|||
hooks: |
|||
- id: black |
|||
args: [-l 79] |
|||
- repo: https://github.com/pre-commit/pre-commit-hooks |
|||
rev: v2.3.0 |
|||
hooks: |
|||
- id: trailing-whitespace |
|||
# exclude autogenerated files |
|||
exclude: /README\.rst$|\.pot?$ |
|||
- id: end-of-file-fixer |
|||
# exclude autogenerated files |
|||
exclude: /README\.rst$|\.pot?$ |
|||
- id: debug-statements |
|||
- id: flake8 |
|||
name: flake8 except __init__.py |
|||
exclude: /__init__\.py$ |
|||
additional_dependencies: ["flake8-bugbear==19.8.0"] |
|||
- id: flake8 |
|||
name: flake8 only __init__.py |
|||
args: ["--extend-ignore=F401"] # ignore unused imports in __init__.py |
|||
files: /__init__\.py$ |
|||
additional_dependencies: ["flake8-bugbear==19.8.0"] |
|||
- id: fix-encoding-pragma |
|||
args: ["--remove"] |
|||
- id: check-case-conflict |
|||
- id: check-docstring-first |
|||
- id: check-executables-have-shebangs |
|||
- id: check-merge-conflict |
|||
- id: check-symlinks |
|||
# - id: check-xml |
|||
- id: mixed-line-ending |
|||
args: ["--fix=lf"] |
|||
- repo: https://github.com/pre-commit/mirrors-pylint |
|||
rev: v2.3.1 |
|||
hooks: |
|||
- id: pylint |
|||
name: pylint with optional checks |
|||
args: ["--rcfile=.pylintrc", "--exit-zero"] |
|||
verbose: true |
|||
additional_dependencies: ["pylint-odoo==3.0.3"] |
|||
- id: pylint |
|||
name: pylint with mandatory checks |
|||
args: ["--rcfile=.pylintrc-mandatory"] |
|||
additional_dependencies: ["pylint-odoo==3.0.3"] |
|||
- repo: https://github.com/asottile/pyupgrade |
|||
rev: v1.24.0 |
|||
hooks: |
|||
- id: pyupgrade |
|||
- repo: https://github.com/asottile/seed-isort-config |
|||
rev: v1.9.3 |
|||
hooks: |
|||
- id: seed-isort-config |
|||
- repo: https://github.com/pre-commit/mirrors-isort |
|||
rev: v4.3.21 |
|||
hooks: |
|||
- id: isort |
|||
name: isort except __init__.py |
|||
exclude: /__init__\.py$ |
|||
#- repo: https://github.com/pre-commit/mirrors-eslint |
|||
# rev: v6.5.1 |
|||
# hooks: |
|||
# - id: eslint |
|||
# verbose: true |
@ -0,0 +1,86 @@ |
|||
[MASTER] |
|||
load-plugins=pylint_odoo |
|||
score=n |
|||
|
|||
[ODOOLINT] |
|||
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst" |
|||
# manifest_required_authors= |
|||
manifest_required_keys=license |
|||
manifest_deprecated_keys=description,active |
|||
license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3 |
|||
valid_odoo_versions=12.0 |
|||
|
|||
[MESSAGES CONTROL] |
|||
disable=all |
|||
|
|||
# This .pylintrc contains optional AND mandatory checks and is meant to be |
|||
# loaded in an IDE to have it check everything, in the hope this will make |
|||
# optional checks more visible to contributors who otherwise never look at a |
|||
# green travis to see optional checks that failed. |
|||
# .pylintrc-mandatory containing only mandatory checks is used the pre-commit |
|||
# config as a blocking check. |
|||
|
|||
enable=anomalous-backslash-in-string, |
|||
api-one-deprecated, |
|||
api-one-multi-together, |
|||
assignment-from-none, |
|||
attribute-deprecated, |
|||
class-camelcase, |
|||
dangerous-default-value, |
|||
dangerous-view-replace-wo-priority, |
|||
duplicate-id-csv, |
|||
duplicate-key, |
|||
duplicate-xml-fields, |
|||
duplicate-xml-record-id, |
|||
eval-referenced, |
|||
eval-used, |
|||
incoherent-interpreter-exec-perm, |
|||
license-allowed, |
|||
manifest-author-string, |
|||
manifest-deprecated-key, |
|||
manifest-required-key, |
|||
manifest-version-format, |
|||
method-compute, |
|||
method-inverse, |
|||
method-required-super, |
|||
method-search, |
|||
missing-import-error, |
|||
missing-manifest-dependency, |
|||
openerp-exception-warning, |
|||
pointless-statement, |
|||
pointless-string-statement, |
|||
print-used, |
|||
redundant-keyword-arg, |
|||
redundant-modulename-xml, |
|||
reimported, |
|||
relative-import, |
|||
return-in-init, |
|||
rst-syntax-error, |
|||
sql-injection, |
|||
too-few-format-args, |
|||
translation-field, |
|||
translation-required, |
|||
unreachable, |
|||
use-vim-comment, |
|||
wrong-tabs-instead-of-spaces, |
|||
xml-syntax-error, |
|||
# messages that do not cause the lint step to fail |
|||
consider-merging-classes-inherited, |
|||
create-user-wo-reset-password, |
|||
dangerous-filter-wo-user, |
|||
deprecated-module, |
|||
file-not-used, |
|||
invalid-commit, |
|||
missing-newline-extrafiles, |
|||
missing-readme, |
|||
no-utf8-coding-comment, |
|||
odoo-addons-relative-import, |
|||
old-api7-method-defined, |
|||
redefined-builtin, |
|||
too-complex, |
|||
unnecessary-utf8-coding-comment |
|||
|
|||
[REPORTS] |
|||
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg} |
|||
output-format=colorized |
|||
reports=no |
@ -0,0 +1,64 @@ |
|||
[MASTER] |
|||
load-plugins=pylint_odoo |
|||
score=n |
|||
|
|||
[ODOOLINT] |
|||
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst" |
|||
# manifest_required_authors= |
|||
manifest_required_keys=license |
|||
manifest_deprecated_keys=description,active |
|||
license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3 |
|||
valid_odoo_versions=12.0 |
|||
|
|||
[MESSAGES CONTROL] |
|||
disable=all |
|||
|
|||
enable=anomalous-backslash-in-string, |
|||
api-one-deprecated, |
|||
api-one-multi-together, |
|||
assignment-from-none, |
|||
attribute-deprecated, |
|||
class-camelcase, |
|||
dangerous-default-value, |
|||
dangerous-view-replace-wo-priority, |
|||
duplicate-id-csv, |
|||
duplicate-key, |
|||
duplicate-xml-fields, |
|||
duplicate-xml-record-id, |
|||
eval-referenced, |
|||
eval-used, |
|||
incoherent-interpreter-exec-perm, |
|||
license-allowed, |
|||
manifest-author-string, |
|||
manifest-deprecated-key, |
|||
manifest-required-key, |
|||
manifest-version-format, |
|||
method-compute, |
|||
method-inverse, |
|||
method-required-super, |
|||
method-search, |
|||
missing-import-error, |
|||
missing-manifest-dependency, |
|||
openerp-exception-warning, |
|||
pointless-statement, |
|||
pointless-string-statement, |
|||
print-used, |
|||
redundant-keyword-arg, |
|||
redundant-modulename-xml, |
|||
reimported, |
|||
relative-import, |
|||
return-in-init, |
|||
rst-syntax-error, |
|||
sql-injection, |
|||
too-few-format-args, |
|||
translation-field, |
|||
translation-required, |
|||
unreachable, |
|||
use-vim-comment, |
|||
wrong-tabs-instead-of-spaces, |
|||
xml-syntax-error |
|||
|
|||
[REPORTS] |
|||
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg} |
|||
output-format=colorized |
|||
reports=no |
@ -0,0 +1,34 @@ |
|||
language: python |
|||
sudo: false |
|||
cache: pip |
|||
|
|||
python: |
|||
- "3.5" |
|||
|
|||
addons: |
|||
postgresql: "9.6" |
|||
apt: |
|||
packages: |
|||
- expect-dev # provides unbuffer utility |
|||
|
|||
env: |
|||
global: |
|||
- VERSION="12.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0" |
|||
|
|||
matrix: |
|||
- LINT_CHECK="1" |
|||
- TESTS="1" ODOO_REPO="OCA/OCB" |
|||
- TESTS="1" ODOO_REPO="OCA/OCB" UNIT_TEST="1" |
|||
|
|||
|
|||
install: |
|||
- git clone --depth=1 https://github.com/coopiteasy/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools |
|||
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} |
|||
- travis_install_nightly |
|||
- pip install unidecode |
|||
|
|||
script: |
|||
- travis_run_tests |
|||
|
|||
after_success: |
|||
- travis_after_tests_success |
@ -1,20 +1,44 @@ |
|||
# vertical-cooperative |
|||
This repository gather odoo modules for cooperatives |
|||
|
|||
## Deploying with pip |
|||
# MAKE TRAVIS GREEN AGAIN |
|||
|
|||
pre-commit still issues these messages. They need to be fixed. |
|||
|
|||
We used [odoo setup tools](https://pypi.org/project/setuptools-odoo/#packaging-a-single-addon) to generate the pypi files from the odoo manifests. To deploy any packaged module, so that odoo can later install them, |
|||
you can create a venv with this name (it's git-ignored) |
|||
```shell |
|||
python -m venv venv |
|||
``` |
|||
And then pip-install them [from pypi](https://pypi.org/user/coopdevs/). |
|||
************* Module easy_my_coop.models.partner |
|||
easy_my_coop/models/partner.py:56: [E8103(sql-injection), ResPartner._invoice_total] SQL injection risk. Use parameters if you can. - More info https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#no-sql-injection |
|||
************* Module partner_age.models.partner |
|||
partner_age/models/partner.py:13: [E8103(sql-injection), ResPartner._search_age] SQL injection risk. Use parameters if you can. - More info https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#no-sql-injection |
|||
************* Module easy_my_coop_taxshelter_report.models.tax_shelter_declaration |
|||
easy_my_coop_taxshelter_report/models/tax_shelter_declaration.py:325: [E8102(invalid-commit), TaxShelterCertificate.send_certificates] Use of cr.commit() directly - More info https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#never-commit-the-transaction |
|||
************* Module easy_my_coop.models.account_invoice |
|||
easy_my_coop/models/account_invoice.py:11: [C8104(class-camelcase), account_invoice] Use `CamelCase` "AccountInvoice" in class name "account_invoice". You can use oca-autopep8 of https://github.com/OCA/maintainer-tools to auto fix it. |
|||
************* Module easy_my_coop.models.operation_request |
|||
easy_my_coop/models/operation_request.py:12: [C8104(class-camelcase), operation_request] Use `CamelCase` "OperationRequest" in class name "operation_request". You can use oca-autopep8 of https://github.com/OCA/maintainer-tools to auto fix it. |
|||
************* Module easy_my_coop.models.coop |
|||
easy_my_coop/models/coop.py:287: [C8108(method-compute), SubscriptionRequest] Name of compute method should start with "_compute_" |
|||
************* Module website_recaptcha_reloaded.models.res_config |
|||
website_recaptcha_reloaded/models/res_config.py:7: [C8104(class-camelcase), website_config_settings] Use `CamelCase` "WebsiteConfigSettings" in class name "website_config_settings". You can use oca-autopep8 of https://github.com/OCA/maintainer-tools to auto fix it. |
|||
************* Module easy_my_coop.models.company |
|||
easy_my_coop/models/company.py:61: [C8108(method-compute), ResCompany] Name of compute method should start with "_compute_" |
|||
|
|||
### Example |
|||
For instance, for the addon `easy_my_coop_website_portal` |
|||
pylint with mandatory checks.............................................Failed |
|||
- hook id: pylint |
|||
- exit code: 18 |
|||
|
|||
************* Module easy_my_coop.models.partner |
|||
easy_my_coop/models/partner.py:56: [E8103(sql-injection), ResPartner._invoice_total] SQL injection risk. Use parameters if you can. - More info https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#no-sql-injection |
|||
************* Module partner_age.models.partner |
|||
partner_age/models/partner.py:13: [E8103(sql-injection), ResPartner._search_age] SQL injection risk. Use parameters if you can. - More info https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#no-sql-injection |
|||
************* Module easy_my_coop.models.account_invoice |
|||
easy_my_coop/models/account_invoice.py:11: [C8104(class-camelcase), account_invoice] Use `CamelCase` "AccountInvoice" in class name "account_invoice". You can use oca-autopep8 of https://github.com/OCA/maintainer-tools to auto fix it. |
|||
************* Module easy_my_coop.models.operation_request |
|||
easy_my_coop/models/operation_request.py:12: [C8104(class-camelcase), operation_request] Use `CamelCase` "OperationRequest" in class name "operation_request". You can use oca-autopep8 of https://github.com/OCA/maintainer-tools to auto fix it. |
|||
************* Module easy_my_coop.models.coop |
|||
easy_my_coop/models/coop.py:287: [C8108(method-compute), SubscriptionRequest] Name of compute method should start with "_compute_" |
|||
************* Module website_recaptcha_reloaded.models.res_config |
|||
website_recaptcha_reloaded/models/res_config.py:7: [C8104(class-camelcase), website_config_settings] Use `CamelCase` "WebsiteConfigSettings" in class name "website_config_settings". You can use oca-autopep8 of https://github.com/OCA/maintainer-tools to auto fix it. |
|||
************* Module easy_my_coop.models.company |
|||
easy_my_coop/models/company.py:61: [C8108(method-compute), ResCompany] Name of compute method should start with "_compute_" |
|||
``` |
|||
pip install odoo12-addon-easy-my-coop-website-portal==12.0.1.0.0.99.dev9 |
|||
``` |
|||
|
|||
Beware that for word separation, pypi uses dashes `-` and odoo underscores `_`. |
@ -0,0 +1,58 @@ |
|||
============ |
|||
Easy My Coop |
|||
============ |
|||
|
|||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
!! This file is generated by oca-gen-addon-readme !! |
|||
!! changes will be overwritten. !! |
|||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
|
|||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png |
|||
:target: https://odoo-community.org/page/development-status |
|||
:alt: Beta |
|||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png |
|||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html |
|||
:alt: License: AGPL-3 |
|||
.. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github |
|||
:target: https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop |
|||
:alt: coopiteasy/vertical-cooperative |
|||
|
|||
|badge1| |badge2| |badge3| |
|||
|
|||
This module allows to manage the cooperator subscription and all the cooperative business processes. |
|||
|
|||
**Table of contents** |
|||
|
|||
.. contents:: |
|||
:local: |
|||
|
|||
Bug Tracker |
|||
=========== |
|||
|
|||
Bugs are tracked on `GitHub Issues <https://github.com/coopiteasy/vertical-cooperative/issues>`_. |
|||
In case of trouble, please check there if your issue has already been reported. |
|||
If you spotted it first, help us smashing it by providing a detailed and welcomed |
|||
`feedback <https://github.com/coopiteasy/vertical-cooperative/issues/new?body=module:%20easy_my_coop%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
|||
|
|||
Do not contact contributors directly about support or help with technical issues. |
|||
|
|||
Credits |
|||
======= |
|||
|
|||
Authors |
|||
~~~~~~~ |
|||
|
|||
* Coop IT Easy SCRLfs |
|||
|
|||
Contributors |
|||
~~~~~~~~~~~~ |
|||
|
|||
* Coop IT Easy SCRLfs |
|||
|
|||
|
|||
Maintainers |
|||
~~~~~~~~~~~ |
|||
|
|||
This module is part of the `coopiteasy/vertical-cooperative <https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop>`_ project on GitHub. |
|||
|
|||
You are welcome to contribute. |
@ -1,62 +1,63 @@ |
|||
# Copyright 2013-2018 Open Architects Consulting SPRL. |
|||
# Copyright 2018 Coop IT Easy SCRLfs (<http://www.coopiteasy.be>) |
|||
# - Houssine BAKKALI - <houssine@coopiteasy.be> |
|||
# Houssine BAKKALI - <houssine@coopiteasy.be> |
|||
# Robin Keunen <robin@coopiteasy.be> |
|||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
|||
|
|||
{ |
|||
'name': 'Easy My Coop', |
|||
'version': '12.0.3.0.1', |
|||
'depends': [ |
|||
'base', |
|||
'web', |
|||
'sale', |
|||
'account', |
|||
'base_iban', |
|||
'product', |
|||
'partner_firstname', |
|||
'partner_contact_birthdate', |
|||
'partner_contact_address', |
|||
'email_template_config', |
|||
"name": "Easy My Coop", |
|||
"summary": "Manage your cooperative shares", |
|||
"version": "12.0.3.0.1", |
|||
"depends": [ |
|||
"base", |
|||
"web", |
|||
"sale", |
|||
"account", |
|||
"base_iban", |
|||
"product", |
|||
"partner_age", |
|||
"partner_firstname", |
|||
"partner_contact_birthdate", |
|||
"partner_contact_address", |
|||
"email_template_config", |
|||
], |
|||
'author': 'Coop IT Easy SCRLfs', |
|||
'category': 'Cooperative management', |
|||
'website': 'https://www.coopiteasy.be', |
|||
'license': 'AGPL-3', |
|||
'description': """ |
|||
"author": "Coop IT Easy SCRLfs", |
|||
"category": "Cooperative management", |
|||
"website": "https://www.coopiteasy.be", |
|||
"license": "AGPL-3", |
|||
"description": """ |
|||
This module allows to manage the cooperator subscription and all the |
|||
cooperative business processes. |
|||
""", |
|||
'data': [ |
|||
'data/easy_my_coop_data.xml', |
|||
'data/paperformat.xml', |
|||
'security/res_groups.xml', |
|||
'security/ir.model.access.csv', |
|||
'wizard/create_subscription_from_partner.xml', |
|||
'wizard/update_partner_info.xml', |
|||
'wizard/validate_subscription_request.xml', |
|||
'wizard/update_share_line.xml', |
|||
'views/subscription_request_view.xml', |
|||
'views/email_template_view.xml', |
|||
'views/res_partner_view.xml', |
|||
'views/cooperator_register_view.xml', |
|||
'views/operation_request_view.xml', |
|||
'views/account_invoice_view.xml', |
|||
'views/product_view.xml', |
|||
'views/res_company_view.xml', |
|||
'views/account_journal_view.xml', |
|||
'views/menus.xml', |
|||
'report/easy_my_coop_report.xml', |
|||
'report/layout.xml', |
|||
'report/cooperator_invoice_G002.xml', |
|||
'report/cooperator_certificat_G001.xml', |
|||
'report/cooperator_subscription_G001.xml', |
|||
'report/cooperator_register_G001.xml', |
|||
'data/mail_template_data.xml', # Must be loaded after reports |
|||
"data": [ |
|||
"data/easy_my_coop_data.xml", |
|||
"data/paperformat.xml", |
|||
"security/res_groups.xml", |
|||
"security/ir.model.access.csv", |
|||
"wizard/create_subscription_from_partner.xml", |
|||
"wizard/cooperative_history_wizard.xml", # todo remove? |
|||
"wizard/update_partner_info.xml", |
|||
"wizard/validate_subscription_request.xml", |
|||
"wizard/update_share_line.xml", |
|||
"views/subscription_request_view.xml", |
|||
"views/email_template_view.xml", |
|||
"views/res_partner_view.xml", |
|||
"views/cooperator_register_view.xml", |
|||
"views/operation_request_view.xml", |
|||
"views/account_invoice_view.xml", |
|||
"views/product_view.xml", |
|||
"views/res_company_view.xml", |
|||
"views/account_journal_view.xml", |
|||
"views/menus.xml", |
|||
"report/easy_my_coop_report.xml", |
|||
"report/layout.xml", |
|||
"report/cooperator_invoice_G002.xml", |
|||
"report/cooperator_certificat_G001.xml", |
|||
"report/cooperator_subscription_G001.xml", |
|||
"report/cooperator_register_G001.xml", |
|||
"data/mail_template_data.xml", # Must be loaded after reports |
|||
], |
|||
'demo': [ |
|||
'demo/coop.xml', |
|||
'demo/users.xml', |
|||
], |
|||
'installable': True, |
|||
'application': True, |
|||
"demo": ["demo/coop.xml", "demo/users.xml"], |
|||
"installable": True, |
|||
"application": True, |
|||
} |
@ -0,0 +1,18 @@ |
|||
## Deploying with pip |
|||
|
|||
We used [odoo setup tools](https://pypi.org/project/setuptools-odoo/#packaging-a-single-addon) to generate the pypi files from the odoo manifests. To deploy any packaged module, so that odoo can later install them, |
|||
you can create a venv with this name (it's git-ignored) |
|||
```shell |
|||
python -m venv venv |
|||
``` |
|||
And then pip-install them [from pypi](https://pypi.org/user/coopdevs/). |
|||
|
|||
### Example |
|||
For instance, for the addon `easy_my_coop_website_portal` |
|||
|
|||
``` |
|||
pip install odoo12-addon-easy-my-coop-website-portal==12.0.1.0.0.99.dev9 |
|||
``` |
|||
|
|||
Beware that for word separation, pypi uses dashes `-` and odoo underscores `_`. |
|||
|
1056
easy_my_coop/models/coop.py
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1 @@ |
|||
* Coop IT Easy SCRLfs |
@ -0,0 +1 @@ |
|||
This module allows to manage the cooperator subscription and all the cooperative business processes. |
@ -1,121 +1,145 @@ |
|||
<odoo> |
|||
<template id="cooperator_register_G001"> |
|||
<t t-call="web.html_container"> |
|||
<template id="cooperator_register_G001"> |
|||
<t t-call="web.html_container"> |
|||
|
|||
<t t-set="data_report_margin_top" t-value="5"/> |
|||
<t t-set="data_report_header_spacing" t-value="0"/> |
|||
<t t-set="data_report_dpi" t-value="110"/> |
|||
<t t-set="data_report_margin_top" t-value="5"/> |
|||
<t t-set="data_report_header_spacing" t-value="0"/> |
|||
<t t-set="data_report_dpi" t-value="110"/> |
|||
|
|||
<!--<t t-call="theme_light.report_layout_002">--> |
|||
<!--<t t-call="theme_light.report_layout_002">--> |
|||
|
|||
<div class="page"> |
|||
<head> |
|||
<!--<link href="/theme_light/static/css/invoice_G002.css" rel="stylesheet"/>--> |
|||
</head> |
|||
<div class="page"> |
|||
<head> |
|||
<!--<link href="/theme_light/static/css/invoice_G002.css" rel="stylesheet"/>--> |
|||
</head> |
|||
|
|||
<!--<t t-call="theme_light.list_header_G002"/>--> |
|||
<!--<t t-call="theme_light.list_header_G002"/>--> |
|||
|
|||
<br/><br/><br/><br/><br/> |
|||
<table class="title_table"> |
|||
<tr> |
|||
<td> |
|||
<span class="color_text" t-esc="time.strftime('%Y-%m-%d')"/> |
|||
</td> |
|||
<td> |
|||
<div class="title_doc" style="font-size:16px"> |
|||
<span>COOPERATOR REGISTER</span> |
|||
</div> |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
<br/> |
|||
<br/> |
|||
<br/> |
|||
<br/> |
|||
<br/> |
|||
<table class="title_table"> |
|||
<tr> |
|||
<td> |
|||
<span class="color_text" |
|||
t-esc="time.strftime('%Y-%m-%d')"/> |
|||
</td> |
|||
<td> |
|||
<div class="title_doc" style="font-size:16px"> |
|||
<span>COOPERATOR REGISTER</span> |
|||
</div> |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
|
|||
<br/><br/><br/><br/><br/> |
|||
<br/> |
|||
<br/> |
|||
<br/> |
|||
<br/> |
|||
<br/> |
|||
|
|||
|
|||
<table class="list_line_table_head" width="100%" > |
|||
<table class="list_line_table_head" width="100%"> |
|||
|
|||
<t t-set="total_quantity" t-value="0"/> |
|||
<t t-set="total_amount" t-value="0"/> |
|||
<t t-set="total_quantity" t-value="0"/> |
|||
<t t-set="total_amount" t-value="0"/> |
|||
|
|||
<br /> |
|||
<tr> |
|||
<th width="15%" style="text-align: center;" >Number</th> |
|||
<th width="25%" style="text-align: center;" >Name</th> |
|||
<th width="20%" style="text-align: center;" >Email</th> |
|||
<th width="15%" style="text-align: center;" >Effective date</th> |
|||
<th width="10%" style="text-align: center;" >Quantity</th> |
|||
<th width="15%" style="text-align: center;" >Total</th> |
|||
</tr> |
|||
<t t-set="nb_ligne" t-value="0"/> |
|||
<br/> |
|||
<tr> |
|||
<th width="15%" style="text-align: center;">Number</th> |
|||
<th width="25%" style="text-align: center;">Name</th> |
|||
<th width="20%" style="text-align: center;">Email</th> |
|||
<th width="15%" style="text-align: center;">Effective |
|||
date |
|||
</th> |
|||
<th width="10%" style="text-align: center;">Quantity |
|||
</th> |
|||
<th width="15%" style="text-align: center;">Total</th> |
|||
</tr> |
|||
<t t-set="nb_ligne" t-value="0"/> |
|||
|
|||
<t t-foreach="docs" t-as="partner"> |
|||
<t t-set="new_partner" t-value="0"/> |
|||
<t t-foreach="docs" t-as="partner"> |
|||
<t t-set="new_partner" t-value="0"/> |
|||
|
|||
<t t-foreach="partner.share_ids" t-as="line"> |
|||
<t t-set="nb_ligne" t-value="nb_ligne+1"/> |
|||
<tr height="40px"> |
|||
<div t-if="(nb_ligne%2)==1" > |
|||
<div t-if="(new_partner)==0"> |
|||
<td class="lgn_impair" style="text-align:left;text-indent:20px;"> |
|||
<span t-field="partner.cooperator_register_number" ></span> |
|||
</td> |
|||
<td style="text-align:left"> |
|||
<span t-field="partner.name" ></span> |
|||
</td> |
|||
<td style="text-align:left"> |
|||
<span t-field="partner.email" ></span> |
|||
</td> |
|||
</div> |
|||
<t t-foreach="partner.share_ids" t-as="line"> |
|||
<t t-set="nb_ligne" t-value="nb_ligne+1"/> |
|||
<tr height="40px"> |
|||
<div t-if="(nb_ligne%2)==1"> |
|||
<div t-if="(new_partner)==0"> |
|||
<td class="lgn_impair" |
|||
style="text-align:left;text-indent:20px;"> |
|||
<span t-field="partner.cooperator_register_number"></span> |
|||
</td> |
|||
<td style="text-align:left"> |
|||
<span t-field="partner.name"></span> |
|||
</td> |
|||
<td style="text-align:left"> |
|||
<span t-field="partner.email"></span> |
|||
</td> |
|||
</div> |
|||
|
|||
<div t-if="(new_partner)!=0"> |
|||
<td class="lgn_impair" style="text-align:left;text-indent:20px;" colspan="3"> |
|||
</td> |
|||
</div> |
|||
<td> |
|||
<span t-field="line.effective_date" ></span> |
|||
</td> |
|||
<td> |
|||
<span t-field="line.share_number" ></span> |
|||
</td> |
|||
<td> |
|||
<span t-field="line.total_amount_line" |
|||
t-field-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/> |
|||
</td> |
|||
</div> |
|||
<div t-if="(nb_ligne%2)==0" > |
|||
<div t-if="(new_partner)==0" > |
|||
<td class="lgn_pair" style="text-align:left;text-indent:20px;background-color:#ffffff"> |
|||
<span t-field="partner.cooperator_register_number" ></span> |
|||
</td> |
|||
<td class="lgn_pair" style="background-color:#ffffff;text-align:left"> |
|||
<span t-field="partner.name" ></span> |
|||
</td> |
|||
<td class="lgn_pair" style="background-color:#ffffff;text-align:left"> |
|||
<span t-field="partner.email" ></span> |
|||
</td> |
|||
</div> |
|||
<div t-if="(new_partner)!=0" style="background-color:#ffffff"> |
|||
<td class="lgn_pair" style="text-align:left;text-indent:20px;background-color:#ffffff" colspan="3"> |
|||
</td> |
|||
</div> |
|||
<td class="lgn_pair" style="background-color:#ffffff"> |
|||
<span t-field="line.effective_date"> </span> |
|||
</td> |
|||
<td class="lgn_pair" style="background-color:#ffffff"> |
|||
<span t-field="line.share_number" ></span> |
|||
</td> |
|||
<td class="lgn_pair" style="background-color:#ffffff"> |
|||
<span t-field="line.total_amount_line" |
|||
t-field-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/> |
|||
</td> |
|||
</div> |
|||
</tr> |
|||
<t t-set="new_partner" t-value="new_partner+1"/> |
|||
</t> |
|||
</t> |
|||
</table> |
|||
</div> |
|||
</t> |
|||
<!--</t>--> |
|||
</template> |
|||
<div t-if="(new_partner)!=0"> |
|||
<td class="lgn_impair" |
|||
style="text-align:left;text-indent:20px;" |
|||
colspan="3"> |
|||
</td> |
|||
</div> |
|||
<td> |
|||
<span t-field="line.effective_date"></span> |
|||
</td> |
|||
<td> |
|||
<span t-field="line.share_number"></span> |
|||
</td> |
|||
<td> |
|||
<span t-field="line.total_amount_line" |
|||
t-field-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/> |
|||
</td> |
|||
</div> |
|||
<div t-if="(nb_ligne%2)==0"> |
|||
<div t-if="(new_partner)==0"> |
|||
<td class="lgn_pair" |
|||
style="text-align:left;text-indent:20px;background-color:#ffffff"> |
|||
<span t-field="partner.cooperator_register_number"></span> |
|||
</td> |
|||
<td class="lgn_pair" |
|||
style="background-color:#ffffff;text-align:left"> |
|||
<span t-field="partner.name"></span> |
|||
</td> |
|||
<td class="lgn_pair" |
|||
style="background-color:#ffffff;text-align:left"> |
|||
<span t-field="partner.email"></span> |
|||
</td> |
|||
</div> |
|||
<div t-if="(new_partner)!=0" |
|||
style="background-color:#ffffff"> |
|||
<td class="lgn_pair" |
|||
style="text-align:left;text-indent:20px;background-color:#ffffff" |
|||
colspan="3"> |
|||
</td> |
|||
</div> |
|||
<td class="lgn_pair" |
|||
style="background-color:#ffffff"> |
|||
<span t-field="line.effective_date"></span> |
|||
</td> |
|||
<td class="lgn_pair" |
|||
style="background-color:#ffffff"> |
|||
<span t-field="line.share_number"></span> |
|||
</td> |
|||
<td class="lgn_pair" |
|||
style="background-color:#ffffff"> |
|||
<span t-field="line.total_amount_line" |
|||
t-field-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/> |
|||
</td> |
|||
</div> |
|||
</tr> |
|||
<t t-set="new_partner" t-value="new_partner+1"/> |
|||
</t> |
|||
</t> |
|||
</table> |
|||
</div> |
|||
</t> |
|||
<!--</t>--> |
|||
</template> |
|||
</odoo> |
@ -1,106 +1,130 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<template id="cooperator_subscription_G001"> |
|||
<t t-call="web.html_container"> |
|||
<template id="cooperator_subscription_G001"> |
|||
<t t-call="web.html_container"> |
|||
|
|||
<t t-set="data_report_margin_top" t-value="5"/> |
|||
<t t-set="data_report_header_spacing" t-value="0"/> |
|||
<t t-set="data_report_dpi" t-value="110"/> |
|||
<t t-set="data_report_margin_top" t-value="5"/> |
|||
<t t-set="data_report_header_spacing" t-value="0"/> |
|||
<t t-set="data_report_dpi" t-value="110"/> |
|||
|
|||
<!--<t t-call="theme_light.report_layout_002">--> |
|||
<!--<t t-call="theme_light.report_layout_002">--> |
|||
|
|||
<div class="page"> |
|||
<head> |
|||
<!--<link href="/theme_light/static/css/invoice_G002.css" rel="stylesheet"/>--> |
|||
</head> |
|||
<div class="page"> |
|||
<head> |
|||
<!--<link href="/theme_light/static/css/invoice_G002.css" rel="stylesheet"/>--> |
|||
</head> |
|||
|
|||
<!--<t t-call="theme_light.list_header_G002"/>--> |
|||
<!--<t t-call="theme_light.list_header_G002"/>--> |
|||
|
|||
<br/><br/><br/><br/><br/> |
|||
<br/> |
|||
<br/> |
|||
<br/> |
|||
<br/> |
|||
<br/> |
|||
|
|||
<table class="title_table"> |
|||
<tr> |
|||
<td> |
|||
<span class="color_text" t-esc="time.strftime('%Y-%m-%d')"/> |
|||
</td> |
|||
<td> |
|||
<div class="title_doc" style="font-size:16px"> |
|||
<span>SUBSCRIPTION REGISTER</span> |
|||
</div> |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
<table class="title_table"> |
|||
<tr> |
|||
<td> |
|||
<span class="color_text" |
|||
t-esc="time.strftime('%Y-%m-%d')"/> |
|||
</td> |
|||
<td> |
|||
<div class="title_doc" style="font-size:16px"> |
|||
<span>SUBSCRIPTION REGISTER</span> |
|||
</div> |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
|
|||
<br/><br/><br/><br/><br/> |
|||
<br/> |
|||
<br/> |
|||
<br/> |
|||
<br/> |
|||
<br/> |
|||
|
|||
<table class="list_line_table_head" width="100%" > |
|||
<br /> |
|||
<tr> |
|||
<th width="15%" style="text-align: center;" >Operation number</th> |
|||
<th width="30%" style="text-align: left;text-indent:15px" >Cooperator</th> |
|||
<th width="15%" style="text-align: center;" >Subscription date</th> |
|||
<th width="25%" style="text-align: center;" >Operation type</th> |
|||
<th width="15%" style="text-align: center;" >Share number</th> |
|||
</tr> |
|||
<t t-set="nb_ligne" t-value="0"/> |
|||
<table class="list_line_table_head" width="100%"> |
|||
<br/> |
|||
<tr> |
|||
<th width="15%" style="text-align: center;">Operation |
|||
number |
|||
</th> |
|||
<th width="30%" |
|||
style="text-align: left;text-indent:15px">Cooperator |
|||
</th> |
|||
<th width="15%" style="text-align: center;">Subscription |
|||
date |
|||
</th> |
|||
<th width="25%" style="text-align: center;">Operation |
|||
type |
|||
</th> |
|||
<th width="15%" style="text-align: center;">Share |
|||
number |
|||
</th> |
|||
</tr> |
|||
<t t-set="nb_ligne" t-value="0"/> |
|||
|
|||
<p t-foreach="docs" t-as="transaction"> |
|||
<t t-set="nb_ligne" t-value="nb_ligne+1"/> |
|||
<tr height="40px"> |
|||
<div t-if="(nb_ligne%2)==1" > |
|||
<td class="lgn_impair" style="text-align:left;text-indent:10px"> |
|||
<span t-field="transaction.register_number_operation" ></span> |
|||
</td> |
|||
<td style="text-align:left;text-indent:15px"> |
|||
<span t-field="transaction.partner_id.name" ></span> |
|||
</td> |
|||
<td style="text-align:center"> |
|||
<span t-field="transaction.date" ></span> |
|||
</td> |
|||
<td style="text-align:center"> |
|||
<span t-field="transaction.type"/> |
|||
</td> |
|||
<td style="text-align:center"> |
|||
<span t-field="transaction.quantity" ></span> |
|||
</td> |
|||
<p t-foreach="docs" t-as="transaction"> |
|||
<t t-set="nb_ligne" t-value="nb_ligne+1"/> |
|||
<tr height="40px"> |
|||
<div t-if="(nb_ligne%2)==1"> |
|||
<td class="lgn_impair" |
|||
style="text-align:left;text-indent:10px"> |
|||
<span t-field="transaction.register_number_operation"></span> |
|||
</td> |
|||
<td style="text-align:left;text-indent:15px"> |
|||
<span t-field="transaction.partner_id.name"></span> |
|||
</td> |
|||
<td style="text-align:center"> |
|||
<span t-field="transaction.date"></span> |
|||
</td> |
|||
<td style="text-align:center"> |
|||
<span t-field="transaction.type"/> |
|||
</td> |
|||
<td style="text-align:center"> |
|||
<span t-field="transaction.quantity"></span> |
|||
</td> |
|||
|
|||
</div> |
|||
<div t-if="(nb_ligne%2)==0" > |
|||
<td class="lgn_pair" style="text-align:left;text-indent:10px;background-color:#ffffff"> |
|||
<span t-field="transaction.register_number_operation" ></span> |
|||
</td> |
|||
<td class="lgn_pair" style="text-align:left;text-indent:15px;background-color:#ffffff"> |
|||
<span t-field="transaction.partner_id.name" ></span> |
|||
</td> |
|||
<td style="text-align:center;background-color:#ffffff"> |
|||
<span t-field="transaction.date" ></span> |
|||
</td> |
|||
<td style="text-align:center;background-color:#ffffff"> |
|||
<span t-field="transaction.type"/> |
|||
</td> |
|||
<td style="text-align:center;background-color:#ffffff"> |
|||
<span t-field="transaction.quantity" ></span> |
|||
</td> |
|||
</div> |
|||
</tr> |
|||
</p> |
|||
</table> |
|||
</div> |
|||
<div t-if="(nb_ligne%2)==0"> |
|||
<td class="lgn_pair" |
|||
style="text-align:left;text-indent:10px;background-color:#ffffff"> |
|||
<span t-field="transaction.register_number_operation"></span> |
|||
</td> |
|||
<td class="lgn_pair" |
|||
style="text-align:left;text-indent:15px;background-color:#ffffff"> |
|||
<span t-field="transaction.partner_id.name"></span> |
|||
</td> |
|||
<td style="text-align:center;background-color:#ffffff"> |
|||
<span t-field="transaction.date"></span> |
|||
</td> |
|||
<td style="text-align:center;background-color:#ffffff"> |
|||
<span t-field="transaction.type"/> |
|||
</td> |
|||
<td style="text-align:center;background-color:#ffffff"> |
|||
<span t-field="transaction.quantity"></span> |
|||
</td> |
|||
</div> |
|||
</tr> |
|||
</p> |
|||
</table> |
|||
|
|||
<table width="100%" > |
|||
<br /> |
|||
<tr height="40px"> |
|||
<th width="15%"></th> |
|||
<th width="30%"></th> |
|||
<th width="15%"></th> |
|||
<th class="total_table color_text" width="25%"> TOTAL : </th> |
|||
<table width="100%"> |
|||
<br/> |
|||
<tr height="40px"> |
|||
<th width="15%"></th> |
|||
<th width="30%"></th> |
|||
<th width="15%"></th> |
|||
<th class="total_table color_text" width="25%">TOTAL : |
|||
</th> |
|||
|
|||
<th class="total_table" style="text-align:center" width="15%"> |
|||
<span t-esc="sum(t.quantity for t in docs)"/> |
|||
</th> |
|||
</tr> |
|||
</table> |
|||
</div> |
|||
</t> |
|||
<!--</t>--> |
|||
</template> |
|||
<th class="total_table" style="text-align:center" |
|||
width="15%"> |
|||
<span t-esc="sum(t.quantity for t in docs)"/> |
|||
</th> |
|||
</tr> |
|||
</table> |
|||
</div> |
|||
</t> |
|||
<!--</t>--> |
|||
</template> |
|||
</odoo> |
@ -1,49 +1,49 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
|
|||
<data noupdate="1"> |
|||
<data noupdate="1"> |
|||
|
|||
<report |
|||
id="action_cooperator_invoices" |
|||
model="account.invoice" |
|||
string="Capital release request" |
|||
report_type="qweb-pdf" |
|||
name="easy_my_coop.theme_invoice_G002" |
|||
file="easy_my_coop.cooperator_invoice_G002.xml" |
|||
attachment="(object.state in ('open','paid')) and ('SUBJ'+(object.number or '').replace('/','')+'.pdf')" |
|||
id="action_cooperator_invoices" |
|||
model="account.invoice" |
|||
string="Capital release request" |
|||
report_type="qweb-pdf" |
|||
name="easy_my_coop.theme_invoice_G002" |
|||
file="easy_my_coop.cooperator_invoice_G002.xml" |
|||
attachment="(object.state in ('open','paid')) and ('SUBJ'+(object.number or '').replace('/','')+'.pdf')" |
|||
/> |
|||
|
|||
<report |
|||
id="action_cooperator_subscription_report" |
|||
model="subscription.register" |
|||
string="Subscription Register Report" |
|||
report_type="qweb-pdf" |
|||
name="easy_my_coop.cooperator_subscription_G001" |
|||
file="easy_my_coop.cooperator_subscription_G001.xml" |
|||
multi="True" |
|||
menu="True" |
|||
id="action_cooperator_subscription_report" |
|||
model="subscription.register" |
|||
string="Subscription Register Report" |
|||
report_type="qweb-pdf" |
|||
name="easy_my_coop.cooperator_subscription_G001" |
|||
file="easy_my_coop.cooperator_subscription_G001.xml" |
|||
multi="True" |
|||
menu="True" |
|||
/> |
|||
|
|||
<report |
|||
id="action_cooperator_report_certificat" |
|||
model="res.partner" |
|||
string="Cooperator certificat" |
|||
report_type="qweb-pdf" |
|||
name="easy_my_coop.cooperator_certificat_G001" |
|||
file="easy_my_coop.cooperator_certificat_G001.xml" |
|||
multi="True" |
|||
menu="True" |
|||
<report |
|||
id="action_cooperator_report_certificat" |
|||
model="res.partner" |
|||
string="Cooperator certificat" |
|||
report_type="qweb-pdf" |
|||
name="easy_my_coop.cooperator_certificat_G001" |
|||
file="easy_my_coop.cooperator_certificat_G001.xml" |
|||
multi="True" |
|||
menu="True" |
|||
/> |
|||
|
|||
<report |
|||
id="action_report_cooperator_register" |
|||
model="res.partner" |
|||
string="Cooperator register" |
|||
report_type="qweb-pdf" |
|||
name="easy_my_coop.cooperator_register_G001" |
|||
file="easy_my_coop.cooperator_register_G001.xml" |
|||
multi="True" |
|||
menu="True" |
|||
id="action_report_cooperator_register" |
|||
model="res.partner" |
|||
string="Cooperator register" |
|||
report_type="qweb-pdf" |
|||
name="easy_my_coop.cooperator_register_G001" |
|||
file="easy_my_coop.cooperator_register_G001.xml" |
|||
multi="True" |
|||
menu="True" |
|||
/> |
|||
</data> |
|||
</data> |
|||
</odoo> |
After Width: 128 | Height: 128 | Size: 3.6 KiB |
@ -0,0 +1,47 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|||
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> |
|||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 70 70" style="enable-background:new 0 0 70 70;" xml:space="preserve" sodipodi:docname="índice.svg" inkscape:export-filename="/home/slimbook/Descargas/índice.svg.png" inkscape:export-xdpi="192" inkscape:export-ydpi="192" inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata id="metadata2124"><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/></cc:Work></rdf:RDF></metadata><defs id="defs2122"> |
|||
<defs id="defs7"> |
|||
<filter height="263.8" width="265.3" y="0" x="-195.3" filterUnits="userSpaceOnUse" id="Adobe_OpacityMaskFilter"> |
|||
<feColorMatrix id="feColorMatrix4" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0" type="matrix"/> |
|||
</filter> |
|||
</defs> |
|||
<mask id="b_1_" height="263.8" width="265.3" y="0" x="-195.3" maskUnits="userSpaceOnUse"> |
|||
<g id="g10" class="st0"> |
|||
<path d="M4,0h61c4,0,5,1,5,5v60c0,4-1,5-5,5H4c-3,0-4-1-4-5V5C0,1,1,0,4,0z" class="st1" id="a_1_"/> |
|||
</g> |
|||
</mask> |
|||
|
|||
|
|||
|
|||
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="-636.75708" y1="415.02859" x2="-637.75708" y2="414.02859" gradientTransform="matrix(70,0,0,-70,44643,29052)"> |
|||
<stop offset="0" style="stop-color:#B06161" id="stop13"/> |
|||
<stop offset="0.4578" style="stop-color:#984E4E" id="stop15"/> |
|||
<stop offset="1" style="stop-color:#7C3838" id="stop17"/> |
|||
</linearGradient> |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
</defs><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1920" inkscape:window-height="1055" id="namedview2120" showgrid="false" inkscape:zoom="6.2913102" inkscape:cx="12.879768" inkscape:cy="18.310313" inkscape:window-x="40" inkscape:window-y="0" inkscape:window-maximized="1" inkscape:current-layer="Capa_1"/> |
|||
<style type="text/css" id="style2"> |
|||
.st0{filter:url(#Adobe_OpacityMaskFilter);} |
|||
.st1{fill:#FFFFFF;} |
|||
.st2{mask:url(#b_1_);} |
|||
.st3{fill:url(#SVGID_1_);} |
|||
.st4{fill:#FFFFFF;fill-opacity:0.383;} |
|||
.st5{opacity:0.33;} |
|||
.st6{fill:#393939;} |
|||
.st7{display:none;opacity:0.33;fill:#393939;enable-background:new ;} |
|||
.st8{fill-opacity:0.383;} |
|||
.st9{display:none;opacity:0.3;enable-background:new ;} |
|||
.st10{opacity:0.3;} |
|||
.st11{display:none;fill:#FFFFFF;} |
|||
</style> |
|||
<rect style="opacity:0.47210298;vector-effect:none;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.41948131px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" id="rect5558" width="89.170609" height="13.192815" x="-21.414392" y="61.485111" ry="1.9499881"/><rect style="opacity:1;vector-effect:none;fill:#008080;fill-opacity:1;stroke:none;stroke-width:2.0482235px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" id="rect1851" width="69.937737" height="69.619843" x="0.15894702" y="0.22121178" ry="2.7302713"/><path class="st7" d="M 32.4,69 H 4 C 2,69 0,68 0,65 V 42.2 L 15.6,25.5 36,21 52,25 59.9,30.4 55,36 v 8.6 z" id="path2057" inkscape:connector-curvature="0" style="display:none;opacity:0.33000004;fill:#393939;enable-background:new"/><path class="st9" d="m 54.8,36.8 c 0.1,0.1 0.2,0.2 0.2,0.3 v 9.4 c 0,0.1 -0.1,0.3 -0.2,0.3 L 37.5,54 c -0.1,0 -0.2,0 -0.3,0 C 37.1,53.9 37,53.8 37,53.7 V 36.4 c 0,-0.2 0.2,-0.4 0.4,-0.4 0.1,0 0.2,0 0.3,0.1 l 3.8,4.8 c 0,0 0.2,0.2 0.5,0.1 0.3,-0.1 12.6,-4.3 12.6,-4.3 0,0 0.2,0 0.2,0.1 z m 5.1,-4.9 c 0.1,0.1 0.1,0.2 0.1,0.4 0,0.1 -0.1,0.2 -0.2,0.2 l -17,5.5 c -0.1,0 -0.3,0 -0.4,-0.1 l -4.8,-5.6 -1.4,0.4 v 0 c -0.1,0 -0.1,0 -0.2,0 l -1.4,-0.4 -4.8,5.6 C 29.6,38 29.4,38 29.3,38 l -17,-5.5 c -0.1,0 -0.2,-0.1 -0.2,-0.2 0,-0.1 0,-0.2 0.1,-0.3 l 3.5,-4.4 c 0.1,-0.1 0.1,-0.1 0.2,-0.1 l 20,-5.5 c 0.1,0 0.2,0 0.2,0 l 20.1,5.4 c 0.1,0 0.2,0.1 0.2,0.1 z M 36,31.1 50.4,27.3 36,23.5 21.6,27.3 Z M 34.7,36 c 0.2,0.1 0.3,0.2 0.3,0.3 v 17.3 c 0,0.1 -0.1,0.2 -0.2,0.3 -0.1,0.1 -0.2,0.1 -0.4,0 L 16.2,46.8 C 16.1,46.7 16,46.6 16,46.5 v -9.4 c 0,-0.1 0.1,-0.2 0.2,-0.3 0.1,-0.1 0.2,-0.1 0.3,0 0,0 12.9,4.2 13.3,4.3 0.3,0.1 0.5,-0.1 0.5,-0.1 l 4.1,-4.8 C 34.4,36 34.6,36 34.7,36 Z" id="path2061" inkscape:connector-curvature="0" style="display:none;opacity:0.3;enable-background:new"/><path class="st11" d="m 54.8,34.8 c 0.1,0.1 0.2,0.2 0.2,0.3 v 9.4 c 0,0.1 -0.1,0.3 -0.2,0.3 L 37.5,52 c -0.1,0 -0.2,0 -0.3,0 C 37.1,51.9 37,51.8 37,51.7 V 34.4 c 0,-0.2 0.2,-0.4 0.4,-0.4 0.1,0 0.2,0 0.3,0.1 l 3.8,4.8 c 0,0 0.2,0.2 0.5,0.1 0.3,-0.1 12.6,-4.3 12.6,-4.3 0,0 0.2,0 0.2,0.1 z m 5.1,-4.9 c 0.1,0.1 0.1,0.2 0.1,0.4 0,0.1 -0.1,0.2 -0.2,0.2 l -17,5.5 c -0.1,0 -0.3,0 -0.4,-0.1 l -4.8,-5.6 -1.4,0.4 v 0 c -0.1,0 -0.1,0 -0.2,0 l -1.4,-0.4 -4.8,5.6 C 29.6,36 29.4,36 29.3,36 l -17,-5.5 c -0.1,0 -0.2,-0.1 -0.2,-0.2 0,-0.1 0,-0.2 0.1,-0.3 l 3.5,-4.4 c 0.1,-0.1 0.1,-0.1 0.2,-0.1 l 20,-5.5 c 0.1,0 0.2,0 0.2,0 l 20.1,5.4 c 0.1,0 0.2,0.1 0.2,0.1 z M 36,29.1 50.4,25.3 36,21.5 21.6,25.3 Z M 34.7,34 c 0.2,0.1 0.3,0.2 0.3,0.3 v 17.3 c 0,0.1 -0.1,0.2 -0.2,0.3 -0.1,0.1 -0.2,0.1 -0.4,0 L 16.2,44.8 C 16.1,44.7 16,44.6 16,44.5 v -9.4 c 0,-0.1 0.1,-0.2 0.2,-0.3 0.1,-0.1 0.2,-0.1 0.3,0 0,0 12.9,4.2 13.3,4.3 0.3,0.1 0.5,-0.1 0.5,-0.1 l 4.1,-4.8 C 34.4,34 34.6,34 34.7,34 Z" id="path2113" inkscape:connector-curvature="0" style="display:none;fill:#ffffff"/> |
|||
<rect style="opacity:1;vector-effect:none;fill:#000000;fill-opacity:0.32941176;stroke:none;stroke-width:0.63062042px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" id="rect7109" width="38.23584" height="67.126938" x="30.618204" y="9.3956041" ry="9.1156044" transform="matrix(0.86965005,0.4936687,-0.62780865,0.77836771,0,0)"/><g id="g5048" transform="translate(45.245763,25.076271)"><rect style="fill:none" y="0" x="0" height="24" width="24" id="rect5046"/></g><g id="g5054" transform="matrix(2.779492,0,0,2.779492,1.271875,2.9200825)" style="fill:#ffffff"><g id="g5052" style="fill:#ffffff"><path inkscape:connector-curvature="0" d="M 6.05,8.05 C 3.32,10.78 3.32,15.2 6.03,17.93 7.5,14.53 10.12,11.69 13.39,10 10.62,12.34 8.68,15.61 8,19.32 10.6,20.55 13.8,20.1 15.95,17.95 19.43,14.47 20,4 20,4 20,4 9.53,4.57 6.05,8.05 Z" id="path5050" style="fill:#ffffff"/></g></g></svg> |
@ -0,0 +1,414 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|||
<head> |
|||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|||
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" /> |
|||
<title>Easy My Coop</title> |
|||
<style type="text/css"> |
|||
|
|||
/* |
|||
:Author: David Goodger (goodger@python.org) |
|||
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $ |
|||
:Copyright: This stylesheet has been placed in the public domain. |
|||
|
|||
Default cascading style sheet for the HTML output of Docutils. |
|||
|
|||
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to |
|||
customize this style sheet. |
|||
*/ |
|||
|
|||
/* used to remove borders from tables and images */ |
|||
.borderless, table.borderless td, table.borderless th { |
|||
border: 0 } |
|||
|
|||
table.borderless td, table.borderless th { |
|||
/* Override padding for "table.docutils td" with "! important". |
|||
The right padding separates the table cells. */ |
|||
padding: 0 0.5em 0 0 ! important } |
|||
|
|||
.first { |
|||
/* Override more specific margin styles with "! important". */ |
|||
margin-top: 0 ! important } |
|||
|
|||
.last, .with-subtitle { |
|||
margin-bottom: 0 ! important } |
|||
|
|||
.hidden { |
|||
display: none } |
|||
|
|||
.subscript { |
|||
vertical-align: sub; |
|||
font-size: smaller } |
|||
|
|||
.superscript { |
|||
vertical-align: super; |
|||
font-size: smaller } |
|||
|
|||
a.toc-backref { |
|||
text-decoration: none ; |
|||
color: black } |
|||
|
|||
blockquote.epigraph { |
|||
margin: 2em 5em ; } |
|||
|
|||
dl.docutils dd { |
|||
margin-bottom: 0.5em } |
|||
|
|||
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] { |
|||
overflow: hidden; |
|||
} |
|||
|
|||
/* Uncomment (and remove this text!) to get bold-faced definition list terms |
|||
dl.docutils dt { |
|||
font-weight: bold } |
|||
*/ |
|||
|
|||
div.abstract { |
|||
margin: 2em 5em } |
|||
|
|||
div.abstract p.topic-title { |
|||
font-weight: bold ; |
|||
text-align: center } |
|||
|
|||
div.admonition, div.attention, div.caution, div.danger, div.error, |
|||
div.hint, div.important, div.note, div.tip, div.warning { |
|||
margin: 2em ; |
|||
border: medium outset ; |
|||
padding: 1em } |
|||
|
|||
div.admonition p.admonition-title, div.hint p.admonition-title, |
|||
div.important p.admonition-title, div.note p.admonition-title, |
|||
div.tip p.admonition-title { |
|||
font-weight: bold ; |
|||
font-family: sans-serif } |
|||
|
|||
div.attention p.admonition-title, div.caution p.admonition-title, |
|||
div.danger p.admonition-title, div.error p.admonition-title, |
|||
div.warning p.admonition-title, .code .error { |
|||
color: red ; |
|||
font-weight: bold ; |
|||
font-family: sans-serif } |
|||
|
|||
/* Uncomment (and remove this text!) to get reduced vertical space in |
|||
compound paragraphs. |
|||
div.compound .compound-first, div.compound .compound-middle { |
|||
margin-bottom: 0.5em } |
|||
|
|||
div.compound .compound-last, div.compound .compound-middle { |
|||
margin-top: 0.5em } |
|||
*/ |
|||
|
|||
div.dedication { |
|||
margin: 2em 5em ; |
|||
text-align: center ; |
|||
font-style: italic } |
|||
|
|||
div.dedication p.topic-title { |
|||
font-weight: bold ; |
|||
font-style: normal } |
|||
|
|||
div.figure { |
|||
margin-left: 2em ; |
|||
margin-right: 2em } |
|||
|
|||
div.footer, div.header { |
|||
clear: both; |
|||
font-size: smaller } |
|||
|
|||
div.line-block { |
|||
display: block ; |
|||
margin-top: 1em ; |
|||
margin-bottom: 1em } |
|||
|
|||
div.line-block div.line-block { |
|||
margin-top: 0 ; |
|||
margin-bottom: 0 ; |
|||
margin-left: 1.5em } |
|||
|
|||
div.sidebar { |
|||
margin: 0 0 0.5em 1em ; |
|||
border: medium outset ; |
|||
padding: 1em ; |
|||
background-color: #ffffee ; |
|||
width: 40% ; |
|||
float: right ; |
|||
clear: right } |
|||
|
|||
div.sidebar p.rubric { |
|||
font-family: sans-serif ; |
|||
font-size: medium } |
|||
|
|||
div.system-messages { |
|||
margin: 5em } |
|||
|
|||
div.system-messages h1 { |
|||
color: red } |
|||
|
|||
div.system-message { |
|||
border: medium outset ; |
|||
padding: 1em } |
|||
|
|||
div.system-message p.system-message-title { |
|||
color: red ; |
|||
font-weight: bold } |
|||
|
|||
div.topic { |
|||
margin: 2em } |
|||
|
|||
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, |
|||
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { |
|||
margin-top: 0.4em } |
|||
|
|||
h1.title { |
|||
text-align: center } |
|||
|
|||
h2.subtitle { |
|||
text-align: center } |
|||
|
|||
hr.docutils { |
|||
width: 75% } |
|||
|
|||
img.align-left, .figure.align-left, object.align-left, table.align-left { |
|||
clear: left ; |
|||
float: left ; |
|||
margin-right: 1em } |
|||
|
|||
img.align-right, .figure.align-right, object.align-right, table.align-right { |
|||
clear: right ; |
|||
float: right ; |
|||
margin-left: 1em } |
|||
|
|||
img.align-center, .figure.align-center, object.align-center { |
|||
display: block; |
|||
margin-left: auto; |
|||
margin-right: auto; |
|||
} |
|||
|
|||
table.align-center { |
|||
margin-left: auto; |
|||
margin-right: auto; |
|||
} |
|||
|
|||
.align-left { |
|||
text-align: left } |
|||
|
|||
.align-center { |
|||
clear: both ; |
|||
text-align: center } |
|||
|
|||
.align-right { |
|||
text-align: right } |
|||
|
|||
/* reset inner alignment in figures */ |
|||
div.align-right { |
|||
text-align: inherit } |
|||
|
|||
/* div.align-center * { */ |
|||
/* text-align: left } */ |
|||
|
|||
.align-top { |
|||
vertical-align: top } |
|||
|
|||
.align-middle { |
|||
vertical-align: middle } |
|||
|
|||
.align-bottom { |
|||
vertical-align: bottom } |
|||
|
|||
ol.simple, ul.simple { |
|||
margin-bottom: 1em } |
|||
|
|||
ol.arabic { |
|||
list-style: decimal } |
|||
|
|||
ol.loweralpha { |
|||
list-style: lower-alpha } |
|||
|
|||
ol.upperalpha { |
|||
list-style: upper-alpha } |
|||
|
|||
ol.lowerroman { |
|||
list-style: lower-roman } |
|||
|
|||
ol.upperroman { |
|||
list-style: upper-roman } |
|||
|
|||
p.attribution { |
|||
text-align: right ; |
|||
margin-left: 50% } |
|||
|
|||
p.caption { |
|||
font-style: italic } |
|||
|
|||
p.credits { |
|||
font-style: italic ; |
|||
font-size: smaller } |
|||
|
|||
p.label { |
|||
white-space: nowrap } |
|||
|
|||
p.rubric { |
|||
font-weight: bold ; |
|||
font-size: larger ; |
|||
color: maroon ; |
|||
text-align: center } |
|||
|
|||
p.sidebar-title { |
|||
font-family: sans-serif ; |
|||
font-weight: bold ; |
|||
font-size: larger } |
|||
|
|||
p.sidebar-subtitle { |
|||
font-family: sans-serif ; |
|||
font-weight: bold } |
|||
|
|||
p.topic-title { |
|||
font-weight: bold } |
|||
|
|||
pre.address { |
|||
margin-bottom: 0 ; |
|||
margin-top: 0 ; |
|||
font: inherit } |
|||
|
|||
pre.literal-block, pre.doctest-block, pre.math, pre.code { |
|||
margin-left: 2em ; |
|||
margin-right: 2em } |
|||
|
|||
pre.code .ln { color: grey; } /* line numbers */ |
|||
pre.code, code { background-color: #eeeeee } |
|||
pre.code .comment, code .comment { color: #5C6576 } |
|||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } |
|||
pre.code .literal.string, code .literal.string { color: #0C5404 } |
|||
pre.code .name.builtin, code .name.builtin { color: #352B84 } |
|||
pre.code .deleted, code .deleted { background-color: #DEB0A1} |
|||
pre.code .inserted, code .inserted { background-color: #A3D289} |
|||
|
|||
span.classifier { |
|||
font-family: sans-serif ; |
|||
font-style: oblique } |
|||
|
|||
span.classifier-delimiter { |
|||
font-family: sans-serif ; |
|||
font-weight: bold } |
|||
|
|||
span.interpreted { |
|||
font-family: sans-serif } |
|||
|
|||
span.option { |
|||
white-space: nowrap } |
|||
|
|||
span.pre { |
|||
white-space: pre } |
|||
|
|||
span.problematic { |
|||
color: red } |
|||
|
|||
span.section-subtitle { |
|||
/* font-size relative to parent (h1..h6 element) */ |
|||
font-size: 80% } |
|||
|
|||
table.citation { |
|||
border-left: solid 1px gray; |
|||
margin-left: 1px } |
|||
|
|||
table.docinfo { |
|||
margin: 2em 4em } |
|||
|
|||
table.docutils { |
|||
margin-top: 0.5em ; |
|||
margin-bottom: 0.5em } |
|||
|
|||
table.footnote { |
|||
border-left: solid 1px black; |
|||
margin-left: 1px } |
|||
|
|||
table.docutils td, table.docutils th, |
|||
table.docinfo td, table.docinfo th { |
|||
padding-left: 0.5em ; |
|||
padding-right: 0.5em ; |
|||
vertical-align: top } |
|||
|
|||
table.docutils th.field-name, table.docinfo th.docinfo-name { |
|||
font-weight: bold ; |
|||
text-align: left ; |
|||
white-space: nowrap ; |
|||
padding-left: 0 } |
|||
|
|||
/* "booktabs" style (no vertical lines) */ |
|||
table.docutils.booktabs { |
|||
border: 0px; |
|||
border-top: 2px solid; |
|||
border-bottom: 2px solid; |
|||
border-collapse: collapse; |
|||
} |
|||
table.docutils.booktabs * { |
|||
border: 0px; |
|||
} |
|||
table.docutils.booktabs th { |
|||
border-bottom: thin solid; |
|||
text-align: left; |
|||
} |
|||
|
|||
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, |
|||
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { |
|||
font-size: 100% } |
|||
|
|||
ul.auto-toc { |
|||
list-style-type: none } |
|||
|
|||
</style> |
|||
</head> |
|||
<body> |
|||
<div class="document" id="easy-my-coop"> |
|||
<h1 class="title">Easy My Coop</h1> |
|||
|
|||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
!! This file is generated by oca-gen-addon-readme !! |
|||
!! changes will be overwritten. !! |
|||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> |
|||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop"><img alt="coopiteasy/vertical-cooperative" src="https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github" /></a></p> |
|||
<p>This module allows to manage the cooperator subscription and all the cooperative business processes.</p> |
|||
<p><strong>Table of contents</strong></p> |
|||
<div class="contents local topic" id="contents"> |
|||
<ul class="simple"> |
|||
<li><a class="reference internal" href="#bug-tracker" id="id1">Bug Tracker</a></li> |
|||
<li><a class="reference internal" href="#credits" id="id2">Credits</a><ul> |
|||
<li><a class="reference internal" href="#authors" id="id3">Authors</a></li> |
|||
<li><a class="reference internal" href="#contributors" id="id4">Contributors</a></li> |
|||
<li><a class="reference internal" href="#maintainers" id="id5">Maintainers</a></li> |
|||
</ul> |
|||
</li> |
|||
</ul> |
|||
</div> |
|||
<div class="section" id="bug-tracker"> |
|||
<h1><a class="toc-backref" href="#id1">Bug Tracker</a></h1> |
|||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/issues">GitHub Issues</a>. |
|||
In case of trouble, please check there if your issue has already been reported. |
|||
If you spotted it first, help us smashing it by providing a detailed and welcomed |
|||
<a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/issues/new?body=module:%20easy_my_coop%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> |
|||
<p>Do not contact contributors directly about support or help with technical issues.</p> |
|||
</div> |
|||
<div class="section" id="credits"> |
|||
<h1><a class="toc-backref" href="#id2">Credits</a></h1> |
|||
<div class="section" id="authors"> |
|||
<h2><a class="toc-backref" href="#id3">Authors</a></h2> |
|||
<ul class="simple"> |
|||
<li>Coop IT Easy SCRLfs</li> |
|||
</ul> |
|||
</div> |
|||
<div class="section" id="contributors"> |
|||
<h2><a class="toc-backref" href="#id4">Contributors</a></h2> |
|||
<ul class="simple"> |
|||
<li>Coop IT Easy SCRLfs</li> |
|||
</ul> |
|||
</div> |
|||
<div class="section" id="maintainers"> |
|||
<h2><a class="toc-backref" href="#id5">Maintainers</a></h2> |
|||
<p>This module is part of the <a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop">coopiteasy/vertical-cooperative</a> project on GitHub.</p> |
|||
<p>You are welcome to contribute.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</body> |
|||
</html> |
@ -1,52 +1,52 @@ |
|||
odoo.define('easy_my_coop.oe_easymy_coop', function (require) { |
|||
$(document).ready(function () { |
|||
"use strict"; |
|||
var ajax = require('web.ajax'); |
|||
$(document).ready(function () { |
|||
"use strict"; |
|||
var ajax = require('web.ajax'); |
|||
|
|||
$('.oe_easymy_coop').each(function () { |
|||
var oe_easymy_coop = this; |
|||
$('.oe_easymy_coop').each(function () { |
|||
var oe_easymy_coop = this; |
|||
|
|||
$('#share_product_id').change(function () { |
|||
var share_product_id = $("#share_product_id").val(); |
|||
ajax.jsonRpc("/subscription/get_share_product", 'call', { |
|||
'share_product_id': share_product_id |
|||
}) |
|||
.then(function (data) { |
|||
$('#share_price').text(data[share_product_id].list_price); |
|||
$('input.js_quantity').val(data[share_product_id].min_qty); |
|||
if(data[share_product_id].force_min_qty == true){ |
|||
$('input.js_quantity').data("min",data[share_product_id].min_qty); |
|||
} |
|||
$('input.js_quantity').change(); |
|||
var $share_price = $('#share_price').text() |
|||
$('input[name="total_parts"]').val($('input.js_quantity').val()*$share_price); |
|||
$('input[name="total_parts"]').change(); |
|||
}); |
|||
}); |
|||
$('#share_product_id').change(function () { |
|||
var share_product_id = $("#share_product_id").val(); |
|||
ajax.jsonRpc("/subscription/get_share_product", 'call', { |
|||
'share_product_id': share_product_id, |
|||
}) |
|||
.then(function (data) { |
|||
$('#share_price').text(data[share_product_id].list_price); |
|||
$('input.js_quantity').val(data[share_product_id].min_qty); |
|||
if (data[share_product_id].force_min_qty == true) { |
|||
$('input.js_quantity').data("min", data[share_product_id].min_qty); |
|||
} |
|||
$('input.js_quantity').change(); |
|||
var $share_price = $('#share_price').text(); |
|||
$('input[name="total_parts"]').val($('input.js_quantity').val() * $share_price); |
|||
$('input[name="total_parts"]').change(); |
|||
}); |
|||
}); |
|||
|
|||
$(oe_easymy_coop).on('click', 'a.js_add_cart_json', function (ev) { |
|||
var $share_price = $('#share_price').text() |
|||
var $link = $(ev.currentTarget); |
|||
var $input = $link.parent().parent().find("input"); |
|||
var $input_total = $("div").find(".total"); |
|||
var min = parseFloat($input.data("min") || 1); |
|||
var amount_max = parseFloat($('input[name="total_parts"]').data("max")); |
|||
var quantity = ($link.has(".fa-minus").length ? -1 : 1) + parseFloat($input.val(),10); |
|||
var total_part = quantity * $share_price; |
|||
var quantity_max = amount_max / $share_price; |
|||
$input.val(quantity > min ? (total_part <= amount_max ? quantity : quantity_max) : min); |
|||
$input.change(); |
|||
$('input[name="total_parts"]').val($input.val()*$share_price); |
|||
return false; |
|||
}); |
|||
$(oe_easymy_coop).on('click', 'a.js_add_cart_json', function (ev) { |
|||
var $share_price = $('#share_price').text(); |
|||
var $link = $(ev.currentTarget); |
|||
var $input = $link.parent().parent().find("input"); |
|||
var $input_total = $("div").find(".total"); |
|||
var min = parseFloat($input.data("min") || 1); |
|||
var amount_max = parseFloat($('input[name="total_parts"]').data("max")); |
|||
var quantity = ($link.has(".fa-minus").length ? -1 : 1) + parseFloat($input.val(), 10); |
|||
var total_part = quantity * $share_price; |
|||
var quantity_max = amount_max / $share_price; |
|||
$input.val(quantity > min ? total_part <= amount_max ? quantity : quantity_max : min); |
|||
$input.change(); |
|||
$('input[name="total_parts"]').val($input.val() * $share_price); |
|||
return false; |
|||
}); |
|||
|
|||
$(oe_easymy_coop).on('focusout', 'input.js_quantity', function (ev) { |
|||
$('a.js_add_cart_json').trigger('click'); |
|||
}); |
|||
$(oe_easymy_coop).on('focusout', 'input.js_quantity', function (ev) { |
|||
$('a.js_add_cart_json').trigger('click'); |
|||
}); |
|||
|
|||
$('#share_product_id').trigger('change'); |
|||
$('#share_product_id').trigger('change'); |
|||
|
|||
$("[name='birthdate']").inputmask(); |
|||
}); |
|||
}); |
|||
$("[name='birthdate']").inputmask(); |
|||
}); |
|||
}); |
|||
}); |
2945
easy_my_coop/static/src/js/jquery.inputmask.bundle.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,73 +1,91 @@ |
|||
<odoo> |
|||
<record id="invoice_form" model="ir.ui.view"> |
|||
<field name="name">account.invoice.form</field> |
|||
<field name="model">account.invoice</field> |
|||
<field name="inherit_id" ref="account.invoice_form" /> |
|||
<field name="arch" type="xml"> |
|||
<field name="move_id" position="after"> |
|||
<field name="subscription_request" /> |
|||
</field> |
|||
</field> |
|||
</record> |
|||
<record id="invoice_form" model="ir.ui.view"> |
|||
<field name="name">account.invoice.form</field> |
|||
<field name="model">account.invoice</field> |
|||
<field name="inherit_id" ref="account.invoice_form"/> |
|||
<field name="arch" type="xml"> |
|||
<field name="move_id" position="after"> |
|||
<field name="subscription_request"/> |
|||
</field> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="action_invoice_tree_coop" model="ir.actions.act_window"> |
|||
<field name="name">Cooperator Invoices</field> |
|||
<field name="res_model">account.invoice</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">tree,kanban,form,calendar,pivot,graph,activity</field> |
|||
<field eval="False" name="view_id"/> |
|||
<field name="domain">[('type','in',('out_invoice', 'out_refund')),('release_capital_request','=',True)]</field> |
|||
<field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field> |
|||
<field name="search_view_id" ref="account.view_account_invoice_filter"/> |
|||
<field name="help" type="html"> |
|||
<p class="o_view_nocontent_smiling_face"> |
|||
<record id="action_invoice_tree_coop" model="ir.actions.act_window"> |
|||
<field name="name">Cooperator Invoices</field> |
|||
<field name="res_model">account.invoice</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">tree,kanban,form,calendar,pivot,graph,activity</field> |
|||
<field eval="False" name="view_id"/> |
|||
<field name="domain">[('type','in',('out_invoice', |
|||
'out_refund')),('release_capital_request','=',True)] |
|||
</field> |
|||
<field name="context">{'default_type':'out_invoice', |
|||
'type':'out_invoice', 'journal_type': 'sale'} |
|||
</field> |
|||
<field name="search_view_id" ref="account.view_account_invoice_filter"/> |
|||
<field name="help" type="html"> |
|||
<p class="o_view_nocontent_smiling_face"> |
|||
Create a customer invoice |
|||
</p><p> |
|||
Create invoices, register payments and keep track of the discussions with your customers. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
</p> |
|||
<p> |
|||
Create invoices, register payments and keep track of the |
|||
discussions with your customers. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="action_invoice_tree1_view1" model="ir.actions.act_window.view"> |
|||
<field eval="1" name="sequence"/> |
|||
<field name="view_mode">tree</field> |
|||
<field name="view_id" ref="account.invoice_tree"/> |
|||
<field name="act_window_id" ref="action_invoice_tree_coop"/> |
|||
</record> |
|||
<record id="action_invoice_tree1_view1" model="ir.actions.act_window.view"> |
|||
<field eval="1" name="sequence"/> |
|||
<field name="view_mode">tree</field> |
|||
<field name="view_id" ref="account.invoice_tree"/> |
|||
<field name="act_window_id" ref="action_invoice_tree_coop"/> |
|||
</record> |
|||
|
|||
<record id="action_invoice_tree1_view2" model="ir.actions.act_window.view"> |
|||
<field eval="2" name="sequence"/> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="account.invoice_form"/> |
|||
<field name="act_window_id" ref="action_invoice_tree_coop"/> |
|||
</record> |
|||
<record id="action_invoice_tree1_view2" model="ir.actions.act_window.view"> |
|||
<field eval="2" name="sequence"/> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="account.invoice_form"/> |
|||
<field name="act_window_id" ref="action_invoice_tree_coop"/> |
|||
</record> |
|||
|
|||
<record id="account.action_invoice_tree1" model="ir.actions.act_window"> |
|||
<field name="name">Customer Invoices</field> |
|||
<field name="res_model">account.invoice</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">tree,kanban,form,calendar,pivot,graph,activity</field> |
|||
<field eval="False" name="view_id"/> |
|||
<field name="domain">[('type','in',('out_invoice', 'out_refund')),('release_capital_request','=',False)]</field> |
|||
<field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field> |
|||
<field name="search_view_id" ref="account.view_account_invoice_filter"/> |
|||
<field name="help" type="html"> |
|||
<p class="o_view_nocontent_smiling_face"> |
|||
<record id="account.action_invoice_tree1" model="ir.actions.act_window"> |
|||
<field name="name">Customer Invoices</field> |
|||
<field name="res_model">account.invoice</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">tree,kanban,form,calendar,pivot,graph,activity</field> |
|||
<field eval="False" name="view_id"/> |
|||
<field name="domain">[('type','in',('out_invoice', |
|||
'out_refund')),('release_capital_request','=',False)] |
|||
</field> |
|||
<field name="context">{'default_type':'out_invoice', |
|||
'type':'out_invoice', 'journal_type': 'sale'} |
|||
</field> |
|||
<field name="search_view_id" ref="account.view_account_invoice_filter"/> |
|||
<field name="help" type="html"> |
|||
<p class="o_view_nocontent_smiling_face"> |
|||
Create a customer invoice |
|||
</p><p> |
|||
Create invoices, register payments and keep track of the discussions with your customers. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
</p> |
|||
<p> |
|||
Create invoices, register payments and keep track of the |
|||
discussions with your customers. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="account.action_invoice_refund_out_tree" model="ir.actions.act_window"> |
|||
<field name="name">Invoices</field> |
|||
<field name="res_model">account.invoice</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">tree,form,kanban,calendar,graph,pivot</field> |
|||
<field name="view_id" ref="account.invoice_tree"/> |
|||
<field name="domain">[('type','in', ['out_invoice', 'out_refund']), ('state', 'not in', ['draft', 'cancel']),('release_capital_request','=',False)]</field> |
|||
<field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field> |
|||
<field name="search_view_id" ref="account.view_account_invoice_filter"/> |
|||
</record> |
|||
<record id="account.action_invoice_refund_out_tree" |
|||
model="ir.actions.act_window"> |
|||
<field name="name">Invoices</field> |
|||
<field name="res_model">account.invoice</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">tree,form,kanban,calendar,graph,pivot</field> |
|||
<field name="view_id" ref="account.invoice_tree"/> |
|||
<field name="domain">[('type','in', ['out_invoice', 'out_refund']), |
|||
('state', 'not in', ['draft', |
|||
'cancel']),('release_capital_request','=',False)] |
|||
</field> |
|||
<field name="context">{'default_type':'out_invoice', |
|||
'type':'out_invoice', 'journal_type': 'sale'} |
|||
</field> |
|||
<field name="search_view_id" ref="account.view_account_invoice_filter"/> |
|||
</record> |
|||
</odoo> |
@ -1,26 +1,28 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<record id="view_account_journal_form_coop" model="ir.ui.view"> |
|||
<record id="view_account_journal_form_coop" model="ir.ui.view"> |
|||
<field name="name">account.journal.form</field> |
|||
<field name="model">account.journal</field> |
|||
<field name="inherit_id" ref="account.view_account_journal_form"/> |
|||
<field name="arch" type="xml"> |
|||
<field name="bank_id" position="after"> |
|||
<field name="get_cooperator_payment" groups="easy_my_coop.group_easy_my_coop_manager"/> |
|||
<field name="get_general_payment"/> |
|||
</field> |
|||
<field name="bank_id" position="after"> |
|||
<field name="get_cooperator_payment" |
|||
groups="easy_my_coop.group_easy_my_coop_manager"/> |
|||
<field name="get_general_payment"/> |
|||
</field> |
|||
</field> |
|||
</record> |
|||
</record> |
|||
|
|||
<record id="view_account_bank_journal_form_coop" model="ir.ui.view"> |
|||
<record id="view_account_bank_journal_form_coop" model="ir.ui.view"> |
|||
<field name="name">account.bank.journal.form</field> |
|||
<field name="model">account.journal</field> |
|||
<field name="inherit_id" ref="account.view_account_bank_journal_form"/> |
|||
<field name="arch" type="xml"> |
|||
<field name="currency_id" position="after"> |
|||
<field name="get_cooperator_payment" groups="easy_my_coop.group_easy_my_coop_manager"/> |
|||
<field name="get_general_payment"/> |
|||
</field> |
|||
<field name="currency_id" position="after"> |
|||
<field name="get_cooperator_payment" |
|||
groups="easy_my_coop.group_easy_my_coop_manager"/> |
|||
<field name="get_general_payment"/> |
|||
</field> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -1,77 +1,84 @@ |
|||
<odoo> |
|||
<record id="subscription_register_tree" model="ir.ui.view"> |
|||
<field name="name">subscription.register.tree</field> |
|||
<field name="model">subscription.register</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Subscription Register"> |
|||
<record id="subscription_register_tree" model="ir.ui.view"> |
|||
<field name="name">subscription.register.tree</field> |
|||
<field name="model">subscription.register</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Subscription Register"> |
|||
<field name="register_number_operation"/> |
|||
<field name="date"/> |
|||
<field name="partner_id"/> |
|||
<field name="share_short_name"/> |
|||
<field name="quantity" sum="Total quantity"/> |
|||
<field name="share_unit_price"/> |
|||
<field name="total_amount_line" sum="Total amount"/> |
|||
<field name="type"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<field name="date"/> |
|||
<field name="partner_id"/> |
|||
<field name="share_short_name"/> |
|||
<field name="quantity" sum="Total quantity"/> |
|||
<field name="share_unit_price"/> |
|||
<field name="total_amount_line" sum="Total amount"/> |
|||
<field name="type"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="subscription_register_form" model="ir.ui.view"> |
|||
<field name="name">subscription.register.form</field> |
|||
<field name="model">subscription.register</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Subscription Register"> |
|||
<record id="subscription_register_form" model="ir.ui.view"> |
|||
<field name="name">subscription.register.form</field> |
|||
<field name="model">subscription.register</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Subscription Register"> |
|||
<group> |
|||
<group> |
|||
<field name="register_number_operation"/> |
|||
<field name="date"/> |
|||
<field name="partner_id"/> |
|||
<field name="share_short_name"/> |
|||
<field name="quantity"/> |
|||
<field name="share_unit_price"/> |
|||
<field name="total_amount_line"/> |
|||
</group> |
|||
<group> |
|||
<field name="partner_id_to" attrs="{'invisible':[('type','!=','transfer')]}"/> |
|||
<field name="type"/> |
|||
<field name="share_to_short_name"/> |
|||
<field name="quantity_to"/> |
|||
<field name="share_to_unit_price"/> |
|||
<field name="user_id" invisible="True"/> |
|||
</group> |
|||
</group> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<group> |
|||
<field name="register_number_operation"/> |
|||
<field name="date"/> |
|||
<field name="partner_id"/> |
|||
<field name="share_short_name"/> |
|||
<field name="quantity"/> |
|||
<field name="share_unit_price"/> |
|||
<field name="total_amount_line"/> |
|||
</group> |
|||
<group> |
|||
<field name="partner_id_to" |
|||
attrs="{'invisible':[('type','!=','transfer')]}"/> |
|||
<field name="type"/> |
|||
<field name="share_to_short_name"/> |
|||
<field name="quantity_to"/> |
|||
<field name="share_to_unit_price"/> |
|||
<field name="user_id" invisible="True"/> |
|||
</group> |
|||
</group> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="view_subscription_register_filter" model="ir.ui.view"> |
|||
<field name="name">Subscription Register Search</field> |
|||
<field name="model">subscription.register</field> |
|||
<field name="arch" type="xml"> |
|||
<search string="Search Subscription Register"> |
|||
<field name="partner_id" |
|||
filter_domain="[('partner_id','ilike',self)]"/> |
|||
<field name="register_number_operation"/> |
|||
<separator/> |
|||
<filter string="Subscription" name="type_subscription" domain="[('type','=','subscription')]"/> |
|||
<filter string="Transfer" name="type_transfer" domain="[('type','=','transfer')]"/> |
|||
<filter string="Sell back" name="type_sell_back" domain="[('type','=','sell_back')]"/> |
|||
<filter string="Convert" name="type_convert" domain="[('type','=','convert')]"/> |
|||
<separator/> |
|||
<group expand="0" name="group_by" string="Group By"> |
|||
<filter name="entry_type" string="Entry type" context="{'group_by' : 'type'}" /> |
|||
<filter name="subscription_date" string="Subscription Date" context="{'group_by': 'date'}"/> |
|||
</group> |
|||
</search> |
|||
</field> |
|||
</record> |
|||
<record id="view_subscription_register_filter" model="ir.ui.view"> |
|||
<field name="name">Subscription Register Search</field> |
|||
<field name="model">subscription.register</field> |
|||
<field name="arch" type="xml"> |
|||
<search string="Search Subscription Register"> |
|||
<field name="partner_id" |
|||
filter_domain="[('partner_id','ilike',self)]"/> |
|||
<field name="register_number_operation"/> |
|||
<separator/> |
|||
<filter string="Subscription" name="type_subscription" |
|||
domain="[('type','=','subscription')]"/> |
|||
<filter string="Transfer" name="type_transfer" |
|||
domain="[('type','=','transfer')]"/> |
|||
<filter string="Sell back" name="type_sell_back" |
|||
domain="[('type','=','sell_back')]"/> |
|||
<filter string="Convert" name="type_convert" |
|||
domain="[('type','=','convert')]"/> |
|||
<separator/> |
|||
<group expand="0" name="group_by" string="Group By"> |
|||
<filter name="entry_type" string="Entry type" |
|||
context="{'group_by' : 'type'}"/> |
|||
<filter name="subscription_date" string="Subscription Date" |
|||
context="{'group_by': 'date'}"/> |
|||
</group> |
|||
</search> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="subscription_register_action" model="ir.actions.act_window"> |
|||
<field name="name">Subscription Register</field> |
|||
<field name="res_model">subscription.register</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_id" ref="subscription_register_tree"/> |
|||
<field name="search_view_id" ref="view_subscription_register_filter"/> |
|||
</record> |
|||
<record id="subscription_register_action" model="ir.actions.act_window"> |
|||
<field name="name">Subscription Register</field> |
|||
<field name="res_model">subscription.register</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_id" ref="subscription_register_tree"/> |
|||
<field name="search_view_id" ref="view_subscription_register_filter"/> |
|||
</record> |
|||
|
|||
</odoo> |
@ -1,15 +1,15 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
|
|||
<record model="ir.actions.act_window" |
|||
id="action_easy_my_coop_email_templates"> |
|||
<field name="name">Mail Templates</field> |
|||
<field name="res_model">mail.template</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">form,tree</field> |
|||
<field name="domain">[('easy_my_coop','=',True)]</field> |
|||
<field name="view_id" ref="mail.email_template_tree" /> |
|||
<field name="search_view_id" ref="mail.view_email_template_search" /> |
|||
</record> |
|||
<record model="ir.actions.act_window" |
|||
id="action_easy_my_coop_email_templates"> |
|||
<field name="name">Mail Templates</field> |
|||
<field name="res_model">mail.template</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">form,tree</field> |
|||
<field name="domain">[('easy_my_coop','=',True)]</field> |
|||
<field name="view_id" ref="mail.email_template_tree"/> |
|||
<field name="search_view_id" ref="mail.view_email_template_search"/> |
|||
</record> |
|||
|
|||
</odoo> |
@ -1,105 +1,133 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<record id="operation_request_tree" model="ir.ui.view"> |
|||
<field name="name">operation.request.tree</field> |
|||
<field name="model">operation.request</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Operation requests" colors="green:state in ('approved'); blue:state in ('draft');grey: state in ('done')"> |
|||
<field name="request_date"/> |
|||
<field name="partner_id"/> |
|||
<field name="operation_type"/> |
|||
<field name="quantity"/> |
|||
<field name="user_id"/> |
|||
<field name="state"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<record id="operation_request_tree" model="ir.ui.view"> |
|||
<field name="name">operation.request.tree</field> |
|||
<field name="model">operation.request</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Operation requests" |
|||
colors="green:state in ('approved'); blue:state in ('draft');grey: state in ('done')"> |
|||
<field name="request_date"/> |
|||
<field name="partner_id"/> |
|||
<field name="operation_type"/> |
|||
<field name="quantity"/> |
|||
<field name="user_id"/> |
|||
<field name="state"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="operation_request_form" model="ir.ui.view"> |
|||
<field name="name">operation.request.form</field> |
|||
<field name="model">operation.request</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Operation request"> |
|||
<header> |
|||
<button string="Submit" type="object" name="submit_operation" states="draft"/> |
|||
<button string="Approve" type="object" name="approve_operation" states="waiting"/> |
|||
<button string="Refuse" type="object" name="refuse_operation" states="waiting"/> |
|||
<button string="Cancel" type="object" name="cancel_operation" states="draft,waiting,approved"/> |
|||
<button string="Draft" type="object" name="reset_to_draft" states="waiting,cancelled"/> |
|||
<button string="Execute" type="object" name="execute_operation" states="approved"/> |
|||
<field name="state" widget="statusbar" statusbar_visible="draft,done,cancelled,refused" statusbar_colors='{"draft":"grey","done":"green","cancelled":"orange","refused":"red"}'/> |
|||
<record id="operation_request_form" model="ir.ui.view"> |
|||
<field name="name">operation.request.form</field> |
|||
<field name="model">operation.request</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Operation request"> |
|||
<header> |
|||
<button string="Submit" type="object" |
|||
name="submit_operation" states="draft"/> |
|||
<button string="Approve" type="object" |
|||
name="approve_operation" states="waiting"/> |
|||
<button string="Refuse" type="object" |
|||
name="refuse_operation" states="waiting"/> |
|||
<button string="Cancel" type="object" |
|||
name="cancel_operation" |
|||
states="draft,waiting,approved"/> |
|||
<button string="Draft" type="object" name="reset_to_draft" |
|||
states="waiting,cancelled"/> |
|||
<button string="Execute" type="object" |
|||
name="execute_operation" states="approved"/> |
|||
<field name="state" widget="statusbar" |
|||
statusbar_visible="draft,done,cancelled,refused" |
|||
statusbar_colors='{"draft":"grey","done":"green","cancelled":"orange","refused":"red"}'/> |
|||
</header> |
|||
<sheet> |
|||
<group> |
|||
<group> |
|||
<field name="request_date" attrs="{'readonly':[('state','!=','draft')]}"/> |
|||
<field name="operation_type" attrs="{'readonly':[('state','!=','draft')]}"/> |
|||
<field name="receiver_not_member" attrs="{'invisible':[('operation_type','!=','transfer')]}"/> |
|||
<field name="partner_id" options="{'no_create':True}" attrs="{'readonly':[('state','!=','draft')]}"/> |
|||
<field name="partner_id_to" options="{'no_create':True}" attrs="{'invisible':['|',('operation_type','!=','transfer'), ('receiver_not_member','=',True)]}"/> |
|||
</group> |
|||
<group> |
|||
<field name="user_id"/> |
|||
<field name="share_product_id" attrs="{'readonly':[('state','!=','draft')]}" widget="selection"/> |
|||
<field name="share_short_name" readonly="True"/> |
|||
<field name="share_to_product_id" attrs="{'invisible':[('operation_type','!=','convert')],'required':[('operation_type','=','convert')],'readonly':[('state','!=','draft')]}" widget="selection"/> |
|||
<field name="share_to_short_name" readonly="True"/> |
|||
<field name="quantity" attrs="{'readonly':[('state','!=','draft')]}"/> |
|||
<field name="share_unit_price" readonly="True"/> |
|||
<field name="subscription_amount" readonly="True" /> |
|||
</group> |
|||
</group> |
|||
<group> |
|||
<field name="subscription_request" attrs="{'invisible':['|',('operation_type','!=','transfer'),('receiver_not_member','=',False)]}" context="{'default_is_operation': True, 'default_ordered_parts':quantity,'default_share_product_id': share_product_id, 'default_source':'operation'}"> |
|||
<tree> |
|||
<field name="name"/> |
|||
<field name="birthdate"/> |
|||
<field name="phone"/> |
|||
<field name="email"/> |
|||
<field name="iban"/> |
|||
<field name="state" invisible="True"/> |
|||
</tree> |
|||
<form string="Subscription Requests"> |
|||
<sheet> |
|||
<group> |
|||
<group> |
|||
<field name="name"/> |
|||
<field name="firstname"/> |
|||
<field name="lastname"/> |
|||
<field name="birthdate"/> |
|||
<field name="gender"/> |
|||
<field name="email"/> |
|||
<field name="phone"/> |
|||
<field name="iban"/> |
|||
</group> |
|||
<group> |
|||
<field name="address"/> |
|||
<field name="zip_code"/> |
|||
<field name="city"/> |
|||
<field name="country_id"/> |
|||
<field name="lang"/> |
|||
<field name="validated"/> |
|||
<field name="skip_control_ng"/> |
|||
<field name="ordered_parts" invisible="True"/> |
|||
<field name="source" invisible="True"/> |
|||
<field name="state" invisible="True"/> |
|||
<field name="share_product_id" invisible="True"/> |
|||
</group> |
|||
</group> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</group> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<sheet> |
|||
<group> |
|||
<group> |
|||
<field name="request_date" |
|||
attrs="{'readonly':[('state','!=','draft')]}"/> |
|||
<field name="operation_type" |
|||
attrs="{'readonly':[('state','!=','draft')]}"/> |
|||
<field name="receiver_not_member" |
|||
attrs="{'invisible':[('operation_type','!=','transfer')]}"/> |
|||
<field name="partner_id" |
|||
options="{'no_create':True}" |
|||
attrs="{'readonly':[('state','!=','draft')]}"/> |
|||
<field name="partner_id_to" |
|||
options="{'no_create':True}" |
|||
attrs="{'invisible':['|',('operation_type','!=','transfer'), ('receiver_not_member','=',True)]}"/> |
|||
</group> |
|||
<group> |
|||
<field name="user_id"/> |
|||
<field name="share_product_id" |
|||
attrs="{'readonly':[('state','!=','draft')]}" |
|||
widget="selection"/> |
|||
<field name="share_short_name" readonly="True"/> |
|||
<field name="share_to_product_id" |
|||
attrs="{'invisible':[('operation_type','!=','convert')],'required':[('operation_type','=','convert')],'readonly':[('state','!=','draft')]}" |
|||
widget="selection"/> |
|||
<field name="share_to_short_name" readonly="True"/> |
|||
<field name="quantity" |
|||
attrs="{'readonly':[('state','!=','draft')]}"/> |
|||
<field name="share_unit_price" readonly="True"/> |
|||
<field name="subscription_amount" readonly="True"/> |
|||
</group> |
|||
</group> |
|||
<group> |
|||
<field name="subscription_request" |
|||
attrs="{'invisible':['|',('operation_type','!=','transfer'),('receiver_not_member','=',False)]}" |
|||
context="{'default_is_operation': True, 'default_ordered_parts':quantity,'default_share_product_id': share_product_id, 'default_source':'operation'}"> |
|||
<tree> |
|||
<field name="name"/> |
|||
<field name="birthdate"/> |
|||
<field name="phone"/> |
|||
<field name="email"/> |
|||
<field name="iban"/> |
|||
<field name="state" invisible="True"/> |
|||
</tree> |
|||
<form string="Subscription Requests"> |
|||
<sheet> |
|||
<group> |
|||
<group> |
|||
<field name="name"/> |
|||
<field name="firstname"/> |
|||
<field name="lastname"/> |
|||
<field name="birthdate"/> |
|||
<field name="gender"/> |
|||
<field name="email"/> |
|||
<field name="phone"/> |
|||
<field name="iban"/> |
|||
</group> |
|||
<group> |
|||
<field name="address"/> |
|||
<field name="zip_code"/> |
|||
<field name="city"/> |
|||
<field name="country_id"/> |
|||
<field name="lang"/> |
|||
<field name="validated"/> |
|||
<field name="skip_control_ng"/> |
|||
<field name="ordered_parts" |
|||
invisible="True"/> |
|||
<field name="source" |
|||
invisible="True"/> |
|||
<field name="state" |
|||
invisible="True"/> |
|||
<field name="share_product_id" |
|||
invisible="True"/> |
|||
</group> |
|||
</group> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</group> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="operation_request_action" model="ir.actions.act_window"> |
|||
<field name="name">Operation request</field> |
|||
<field name="res_model">operation.request</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_id" ref="operation_request_tree"/> |
|||
</record> |
|||
<record id="operation_request_action" model="ir.actions.act_window"> |
|||
<field name="name">Operation request</field> |
|||
<field name="res_model">operation.request</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_id" ref="operation_request_tree"/> |
|||
</record> |
|||
|
|||
</odoo> |
@ -1,168 +1,168 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<record id="product_template_share_form_view" model="ir.ui.view"> |
|||
<field name="name">product.template.share.form</field> |
|||
<field name="model">product.template</field> |
|||
<field name="inherit_id" ref="product.product_template_form_view"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='purchase_ok']/.." position="after"> |
|||
<div groups="easy_my_coop.group_easy_my_coop_manager"> |
|||
<field name="is_share"/> |
|||
<label for="is_share"/> |
|||
</div> |
|||
<div attrs="{'invisible':[('is_share','=',False)]}" groups="easy_my_coop.group_easy_my_coop_user"> |
|||
<field name="display_on_website"/> |
|||
<label for="display_on_website"/> |
|||
</div> |
|||
</xpath> |
|||
<page name="general_information" position="after"> |
|||
<page string="Share Information" name="share_information" attrs="{'invisible':[('is_share','=',False)]}" groups="easy_my_coop.group_easy_my_coop_user"> |
|||
<group> |
|||
<group name="Info" string="Info"> |
|||
<field name="short_name"/> |
|||
<field name="default_share_product"/> |
|||
<field name="mail_template"/> |
|||
</group> |
|||
<group name="configuration" string="Configuration"> |
|||
<field name="force_min_qty"/> |
|||
<field name="minimum_quantity"/> |
|||
<field name="customer" attrs="{'invisible':[('is_share','=',False)]}"/> |
|||
<field name="by_company"/> |
|||
<field name="by_individual"/> |
|||
</group> |
|||
</group> |
|||
</page> |
|||
<record id="product_template_share_form_view" model="ir.ui.view"> |
|||
<field name="name">product.template.share.form</field> |
|||
<field name="model">product.template</field> |
|||
<field name="inherit_id" ref="product.product_template_form_view"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='purchase_ok']/.." position="after"> |
|||
<div groups="easy_my_coop.group_easy_my_coop_manager"> |
|||
<field name="is_share"/> |
|||
<label for="is_share"/> |
|||
</div> |
|||
<div attrs="{'invisible':[('is_share','=',False)]}" |
|||
groups="easy_my_coop.group_easy_my_coop_user"> |
|||
<field name="display_on_website"/> |
|||
<label for="display_on_website"/> |
|||
</div> |
|||
</xpath> |
|||
<page name="general_information" position="after"> |
|||
<page string="Share Information" name="share_information" |
|||
attrs="{'invisible':[('is_share','=',False)]}" |
|||
groups="easy_my_coop.group_easy_my_coop_user"> |
|||
<group> |
|||
<group name="Info" string="Info"> |
|||
<field name="short_name"/> |
|||
<field name="default_share_product"/> |
|||
<field name="mail_template"/> |
|||
</group> |
|||
<group name="configuration" string="Configuration"> |
|||
<field name="force_min_qty"/> |
|||
<field name="minimum_quantity"/> |
|||
<field name="customer" |
|||
attrs="{'invisible':[('is_share','=',False)]}"/> |
|||
<field name="by_company"/> |
|||
<field name="by_individual"/> |
|||
</group> |
|||
</group> |
|||
</page> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="share_product_filter" model="ir.ui.view"> |
|||
<field name="name">product.template.share.filter</field> |
|||
<field name="model">product.template</field> |
|||
<field name="inherit_id" ref="product.product_template_search_view"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="." position="inside"> |
|||
<group expand="0" name="group_by" string="Group By"> |
|||
<filter name="Creation Date" context="{'group_by': 'create_date'}"/> |
|||
</group> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="product_template_only_form_view" model="ir.ui.view"> |
|||
<field name="name">product.template.product.form</field> |
|||
<field name="model">product.template</field> |
|||
<field name="inherit_id" ref="product.product_template_only_form_view"/> |
|||
<field name="arch" type="xml"> |
|||
<field name="default_code" position="attributes"> |
|||
<attribute name="attrs">{'required': [('is_share', '=', True)]}</attribute> |
|||
</field> |
|||
</field> |
|||
</record> |
|||
</page> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="share_product_action" model="ir.actions.act_window"> |
|||
<field name="name">Share type</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">product.template</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">kanban,tree,form</field> |
|||
<!-- <field name="context">{"search_default_filter_to_purchase":1}</field> --> |
|||
<field name="search_view_id" eval="False" /> <!-- Force empty --> |
|||
<field name="view_id" eval="False" /> <!-- Force empty --> |
|||
<field name="domain">[('is_share','=',True)]</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Click to define a new share product. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
<record id="share_product_filter" model="ir.ui.view"> |
|||
<field name="name">product.template.share.filter</field> |
|||
<field name="model">product.template</field> |
|||
<field name="inherit_id" ref="product.product_template_search_view"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="." position="inside"> |
|||
<group expand="0" name="group_by" string="Group By"> |
|||
<filter name="Creation Date" |
|||
context="{'group_by': 'create_date'}"/> |
|||
</group> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="product_template_only_form_view" model="ir.ui.view"> |
|||
<field name="name">product.template.product.form</field> |
|||
<field name="model">product.template</field> |
|||
<field name="inherit_id" ref="product.product_template_only_form_view"/> |
|||
<field name="arch" type="xml"> |
|||
<field name="default_code" position="attributes"> |
|||
<attribute name="attrs">{'required': [('is_share', '=', |
|||
True)]} |
|||
</attribute> |
|||
</field> |
|||
</field> |
|||
</record> |
|||
|
|||
<!-- overriding product views to not display share product in the purchase and sale views--> |
|||
<record id="share_product_action" model="ir.actions.act_window"> |
|||
<field name="name">Share type</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">product.template</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">kanban,tree,form</field> |
|||
<!-- <field name="context">{"search_default_filter_to_purchase":1}</field> --> |
|||
<field name="search_view_id" eval="False"/> <!-- Force empty --> |
|||
<field name="view_id" eval="False"/> <!-- Force empty --> |
|||
<field name="domain">[('is_share','=',True)]</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Click to define a new share product. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="product.product_normal_action" model="ir.actions.act_window"> |
|||
<field name="name">Product</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">product.product</field> |
|||
<field name="view_mode">tree,form,kanban</field> |
|||
<field name="view_type">form</field> |
|||
<field name="search_view_id" ref="product.product_search_form_view"/> |
|||
<field name="view_id" eval="False"/> <!-- Force empty --> |
|||
<field name="domain">[('is_share','=',False)]</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Click to define a new product. |
|||
</p><p> |
|||
You must define a product for everything you sell, whether it's |
|||
a physical product, a consumable or a service you offer to |
|||
customers. |
|||
</p><p> |
|||
The product form contains information to simplify the sale |
|||
process: price, notes in the quotation, accounting data, |
|||
procurement methods, etc. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="product.product_template_action" model="ir.actions.act_window"> |
|||
<field name="name">Products</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">product.template</field> |
|||
<field name="view_mode">tree,form,kanban</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_id" ref="product.product_template_kanban_view"/> |
|||
<field name="context">{"search_default_filter_to_sell":1}</field> |
|||
<field name="domain">[('is_share','=',False)]</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Click to define a new product. |
|||
</p><p> |
|||
You must define a product for everything you sell, whether it's a physical product, a consumable or a service you offer to customers. |
|||
</p><p> |
|||
The product form contains information to simplify the sale process: price, notes in the quotation, accounting data, procurement methods, etc. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
<!-- overriding product views to not display share product in the purchase and sale views--> |
|||
|
|||
<record id="product.product_template_action" model="ir.actions.act_window"> |
|||
<field name="name">Products</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">product.template</field> |
|||
<field name="view_mode">tree,form,kanban</field> |
|||
<field name="view_type">form</field> |
|||
<field name="context">{"search_default_products": 1, 'default_type': 'product'}</field> |
|||
<field name="domain">[('is_share','=',False)]</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Click to define a new product. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
<record id="product.product_normal_action" model="ir.actions.act_window"> |
|||
<field name="name">Product</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">product.product</field> |
|||
<field name="view_mode">tree,form,kanban</field> |
|||
<field name="view_type">form</field> |
|||
<field name="search_view_id" ref="product.product_search_form_view"/> |
|||
<field name="view_id" eval="False"/> <!-- Force empty --> |
|||
<field name="domain">[('is_share','=',False)]</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Click to define a new product. |
|||
</p> |
|||
<p> |
|||
You must define a product for everything you sell, whether it's |
|||
a physical product, a consumable or a service you offer to |
|||
customers. |
|||
</p> |
|||
<p> |
|||
The product form contains information to simplify the sale |
|||
process: price, notes in the quotation, accounting data, |
|||
procurement methods, etc. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
|
|||
<!-- move this action to another module cause the original action has been |
|||
moved to purchase module. So we want to avoid make purchase module installed |
|||
<record id="product.product_normal_action_puchased" model="ir.actions.act_window"> |
|||
<record id="product.product_template_action" model="ir.actions.act_window"> |
|||
<field name="name">Products</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">product.template</field> |
|||
<field name="view_mode">tree,form,kanban</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">kanban,tree,form</field> |
|||
<field name="context">{"search_default_filter_to_purchase":1}</field> |
|||
<field name="search_view_id" eval="False"/> Force empty |
|||
<field name="view_id" eval="False"/> Force empty |
|||
<field name="view_id" ref="product.product_template_kanban_view"/> |
|||
<field name="context">{"search_default_filter_to_sell":1}</field> |
|||
<field name="domain">[('is_share','=',False)]</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Click to define a new product. |
|||
</p><p> |
|||
You must define a product for everything you purchase, whether |
|||
it's a physical product, a consumable or services you buy to |
|||
subcontractants. |
|||
</p><p> |
|||
The product form contains detailed information to improve the |
|||
purchase process: prices, procurement logistics, accounting data, |
|||
available vendors, etc. |
|||
</p> |
|||
<p class="oe_view_nocontent_create"> |
|||
Click to define a new product. |
|||
</p> |
|||
<p> |
|||
You must define a product for everything you sell, whether it's |
|||
a physical product, a consumable or a service you offer to |
|||
customers. |
|||
</p> |
|||
<p> |
|||
The product form contains information to simplify the sale |
|||
process: price, notes in the quotation, accounting data, |
|||
procurement methods, etc. |
|||
</p> |
|||
</field> |
|||
</record> --> |
|||
</record> |
|||
|
|||
<!-- move this action to another module cause the original action has been |
|||
moved to purchase module. So we want to avoid make purchase module installed |
|||
<record id="product.product_normal_action_puchased" model="ir.actions.act_window"> |
|||
<field name="name">Products</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">product.template</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">kanban,tree,form</field> |
|||
<field name="context">{"search_default_filter_to_purchase":1}</field> |
|||
<field name="search_view_id" eval="False"/> Force empty |
|||
<field name="view_id" eval="False"/> Force empty |
|||
<field name="domain">[('is_share','=',False)]</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Click to define a new product. |
|||
</p><p> |
|||
You must define a product for everything you purchase, whether |
|||
it's a physical product, a consumable or services you buy to |
|||
subcontractants. |
|||
</p><p> |
|||
The product form contains detailed information to improve the |
|||
purchase process: prices, procurement logistics, accounting data, |
|||
available vendors, etc. |
|||
</p> |
|||
</field> |
|||
</record> --> |
|||
</odoo> |
@ -1,34 +1,35 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<record model="ir.ui.view" id="view_company_inherit_form2"> |
|||
<field name="name">res.company.form.easymy.coop</field> |
|||
<field name="inherit_id" ref="base.view_company_form"/> |
|||
<field name="model">res.company</field> |
|||
<field name="arch" type="xml"> |
|||
<group name="social_media" position="before"> |
|||
<group name="coop_grp" string="EasyMy Coop" groups="easy_my_coop.group_easy_my_coop_user"> |
|||
<field name="unmix_share_type"/> |
|||
<field name="allow_id_card_upload"/> |
|||
<field name="create_user"/> |
|||
<field name="display_logo1"/> |
|||
<field name="bottom_logo1"/> |
|||
<field name="display_logo2"/> |
|||
<field name="bottom_logo2"/> |
|||
<field name="coop_email_contact"/> |
|||
<field name="subscription_maximum_amount"/> |
|||
<field name="property_cooperator_account"/> |
|||
<field name="default_country_id"/> |
|||
<field name="default_lang_id"/> |
|||
<field name="board_representative"/> |
|||
<field name="signature_scan"/> |
|||
<field name="display_data_policy_approval"/> |
|||
<field name="data_policy_approval_required"/> |
|||
<field name="data_policy_approval_text"/> |
|||
<field name="display_internal_rules_approval"/> |
|||
<field name="internal_rules_approval_required"/> |
|||
<field name="internal_rules_approval_text"/> |
|||
</group> |
|||
</group> |
|||
</field> |
|||
</record> |
|||
<record model="ir.ui.view" id="view_company_inherit_form2"> |
|||
<field name="name">res.company.form.easymy.coop</field> |
|||
<field name="inherit_id" ref="base.view_company_form"/> |
|||
<field name="model">res.company</field> |
|||
<field name="arch" type="xml"> |
|||
<group name="social_media" position="before"> |
|||
<group name="coop_grp" string="EasyMy Coop" |
|||
groups="easy_my_coop.group_easy_my_coop_user"> |
|||
<field name="unmix_share_type"/> |
|||
<field name="allow_id_card_upload"/> |
|||
<field name="create_user"/> |
|||
<field name="display_logo1"/> |
|||
<field name="bottom_logo1"/> |
|||
<field name="display_logo2"/> |
|||
<field name="bottom_logo2"/> |
|||
<field name="coop_email_contact"/> |
|||
<field name="subscription_maximum_amount"/> |
|||
<field name="property_cooperator_account"/> |
|||
<field name="default_country_id"/> |
|||
<field name="default_lang_id"/> |
|||
<field name="board_representative"/> |
|||
<field name="signature_scan"/> |
|||
<field name="display_data_policy_approval"/> |
|||
<field name="data_policy_approval_required"/> |
|||
<field name="data_policy_approval_text"/> |
|||
<field name="display_internal_rules_approval"/> |
|||
<field name="internal_rules_approval_required"/> |
|||
<field name="internal_rules_approval_text"/> |
|||
</group> |
|||
</group> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -1,41 +1,48 @@ |
|||
<?xml version="1.0" ?> |
|||
<openerp> |
|||
<data> |
|||
<record id="view_cooperative_history_wizard" model="ir.ui.view"> |
|||
<field name="name">cooperative.history.wizard.form</field> |
|||
<field name="model">cooperative.history.report</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Reporting" version="7.0"> |
|||
<separator string="Cooperative History"/> |
|||
<group> |
|||
<field name="report"/> |
|||
</group> |
|||
<label string="This report allows you to print a pdf of history and number of share for each cooperator"/> |
|||
<group> |
|||
<field name="display_cooperator"/> |
|||
</group> |
|||
<odoo> |
|||
<!-- <data>--> |
|||
<!-- <record id="view_cooperative_history_wizard" model="ir.ui.view">--> |
|||
<!-- <field name="name">cooperative.history.wizard.form</field>--> |
|||
<!-- <field name="model">cooperative.history.report</field>--> |
|||
<!-- <field name="arch" type="xml">--> |
|||
<!-- <form string="Reporting" version="7.0">--> |
|||
<!-- <separator string="Cooperative History"/>--> |
|||
<!-- <group>--> |
|||
<!-- <field name="report"/>--> |
|||
<!-- </group>--> |
|||
<!-- <label string="This report allows you to print a pdf of history and number of share for each cooperator"/>--> |
|||
<!-- <group>--> |
|||
<!-- <field name="display_cooperator"/>--> |
|||
<!-- </group>--> |
|||
|
|||
<footer> |
|||
<button name="check_report" string="Print" type="object" default_focus="1" class="oe_highlight"/> |
|||
or |
|||
<button string="Cancel" class="oe_link" special="cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<!-- <footer>--> |
|||
<!-- <button name="check_report" string="Print" type="object"--> |
|||
<!-- default_focus="1" class="oe_highlight"/>--> |
|||
<!-- or--> |
|||
<!-- <button string="Cancel" class="oe_link"--> |
|||
<!-- special="cancel"/>--> |
|||
<!-- </footer>--> |
|||
<!-- </form>--> |
|||
<!-- </field>--> |
|||
<!-- </record>--> |
|||
|
|||
<record id="action_cooperative_history_wizard" model="ir.actions.act_window"> |
|||
<field name="name">Cooperative history</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">cooperative.history.report</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="view_cooperative_history_wizard"/> |
|||
<field name="target">new</field> |
|||
<field name="multi">True</field> |
|||
</record> |
|||
<!-- <record id="action_cooperative_history_wizard"--> |
|||
<!-- model="ir.actions.act_window">--> |
|||
<!-- <field name="name">Cooperative history</field>--> |
|||
<!-- <field name="type">ir.actions.act_window</field>--> |
|||
<!-- <field name="res_model">cooperative.history.report</field>--> |
|||
<!-- <field name="view_type">form</field>--> |
|||
<!-- <field name="view_mode">form</field>--> |
|||
<!-- <field name="view_id" ref="view_cooperative_history_wizard"/>--> |
|||
<!-- <field name="target">new</field>--> |
|||
<!-- <field name="multi">True</field>--> |
|||
<!-- </record>--> |
|||
|
|||
<menuitem id="menu_easy_my_coop_reporting" name="Reporting" parent="menu_main_easy_my_coop" sequence="20"/> |
|||
<menuitem id="menu_coop_history_wizard_report" name="Cooperative history report" parent="menu_easy_my_coop_reporting" action="action_cooperative_history_wizard" sequence="10"/> |
|||
</data> |
|||
</openerp> |
|||
<!-- <menuitem id="menu_easy_my_coop_reporting" name="Reporting"--> |
|||
<!-- parent="menu_main_easy_my_coop" sequence="20"/>--> |
|||
<!-- <menuitem id="menu_coop_history_wizard_report"--> |
|||
<!-- name="Cooperative history report"--> |
|||
<!-- parent="menu_easy_my_coop_reporting"--> |
|||
<!-- action="action_cooperative_history_wizard" sequence="10"/>--> |
|||
<!-- </data>--> |
|||
</odoo> |
@ -0,0 +1,58 @@ |
|||
==================== |
|||
Easy My Coop Belgium |
|||
==================== |
|||
|
|||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
!! This file is generated by oca-gen-addon-readme !! |
|||
!! changes will be overwritten. !! |
|||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
|
|||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png |
|||
:target: https://odoo-community.org/page/development-status |
|||
:alt: Beta |
|||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png |
|||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html |
|||
:alt: License: AGPL-3 |
|||
.. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github |
|||
:target: https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_be |
|||
:alt: coopiteasy/vertical-cooperative |
|||
|
|||
|badge1| |badge2| |badge3| |
|||
|
|||
This is the belgian localization for the easy my coop module. |
|||
|
|||
**Table of contents** |
|||
|
|||
.. contents:: |
|||
:local: |
|||
|
|||
Bug Tracker |
|||
=========== |
|||
|
|||
Bugs are tracked on `GitHub Issues <https://github.com/coopiteasy/vertical-cooperative/issues>`_. |
|||
In case of trouble, please check there if your issue has already been reported. |
|||
If you spotted it first, help us smashing it by providing a detailed and welcomed |
|||
`feedback <https://github.com/coopiteasy/vertical-cooperative/issues/new?body=module:%20easy_my_coop_be%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
|||
|
|||
Do not contact contributors directly about support or help with technical issues. |
|||
|
|||
Credits |
|||
======= |
|||
|
|||
Authors |
|||
~~~~~~~ |
|||
|
|||
* Coop IT Easy SCRLfs |
|||
|
|||
Contributors |
|||
~~~~~~~~~~~~ |
|||
|
|||
* Coop IT Easy SCRLfs |
|||
|
|||
|
|||
Maintainers |
|||
~~~~~~~~~~~ |
|||
|
|||
This module is part of the `coopiteasy/vertical-cooperative <https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_be>`_ project on GitHub. |
|||
|
|||
You are welcome to contribute. |
@ -0,0 +1 @@ |
|||
* Coop IT Easy SCRLfs |
@ -0,0 +1 @@ |
|||
This is the belgian localization for the easy my coop module. |
@ -0,0 +1,414 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|||
<head> |
|||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|||
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" /> |
|||
<title>Easy My Coop Belgium</title> |
|||
<style type="text/css"> |
|||
|
|||
/* |
|||
:Author: David Goodger (goodger@python.org) |
|||
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $ |
|||
:Copyright: This stylesheet has been placed in the public domain. |
|||
|
|||
Default cascading style sheet for the HTML output of Docutils. |
|||
|
|||
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to |
|||
customize this style sheet. |
|||
*/ |
|||
|
|||
/* used to remove borders from tables and images */ |
|||
.borderless, table.borderless td, table.borderless th { |
|||
border: 0 } |
|||
|
|||
table.borderless td, table.borderless th { |
|||
/* Override padding for "table.docutils td" with "! important". |
|||
The right padding separates the table cells. */ |
|||
padding: 0 0.5em 0 0 ! important } |
|||
|
|||
.first { |
|||
/* Override more specific margin styles with "! important". */ |
|||
margin-top: 0 ! important } |
|||
|
|||
.last, .with-subtitle { |
|||
margin-bottom: 0 ! important } |
|||
|
|||
.hidden { |
|||
display: none } |
|||
|
|||
.subscript { |
|||
vertical-align: sub; |
|||
font-size: smaller } |
|||
|
|||
.superscript { |
|||
vertical-align: super; |
|||
font-size: smaller } |
|||
|
|||
a.toc-backref { |
|||
text-decoration: none ; |
|||
color: black } |
|||
|
|||
blockquote.epigraph { |
|||
margin: 2em 5em ; } |
|||
|
|||
dl.docutils dd { |
|||
margin-bottom: 0.5em } |
|||
|
|||
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] { |
|||
overflow: hidden; |
|||
} |
|||
|
|||
/* Uncomment (and remove this text!) to get bold-faced definition list terms |
|||
dl.docutils dt { |
|||
font-weight: bold } |
|||
*/ |
|||
|
|||
div.abstract { |
|||
margin: 2em 5em } |
|||
|
|||
div.abstract p.topic-title { |
|||
font-weight: bold ; |
|||
text-align: center } |
|||
|
|||
div.admonition, div.attention, div.caution, div.danger, div.error, |
|||
div.hint, div.important, div.note, div.tip, div.warning { |
|||
margin: 2em ; |
|||
border: medium outset ; |
|||
padding: 1em } |
|||
|
|||
div.admonition p.admonition-title, div.hint p.admonition-title, |
|||
div.important p.admonition-title, div.note p.admonition-title, |
|||
div.tip p.admonition-title { |
|||
font-weight: bold ; |
|||
font-family: sans-serif } |
|||
|
|||
div.attention p.admonition-title, div.caution p.admonition-title, |
|||
div.danger p.admonition-title, div.error p.admonition-title, |
|||
div.warning p.admonition-title, .code .error { |
|||
color: red ; |
|||
font-weight: bold ; |
|||
font-family: sans-serif } |
|||
|
|||
/* Uncomment (and remove this text!) to get reduced vertical space in |
|||
compound paragraphs. |
|||
div.compound .compound-first, div.compound .compound-middle { |
|||
margin-bottom: 0.5em } |
|||
|
|||
div.compound .compound-last, div.compound .compound-middle { |
|||
margin-top: 0.5em } |
|||
*/ |
|||
|
|||
div.dedication { |
|||
margin: 2em 5em ; |
|||
text-align: center ; |
|||
font-style: italic } |
|||
|
|||
div.dedication p.topic-title { |
|||
font-weight: bold ; |
|||
font-style: normal } |
|||
|
|||
div.figure { |
|||
margin-left: 2em ; |
|||
margin-right: 2em } |
|||
|
|||
div.footer, div.header { |
|||
clear: both; |
|||
font-size: smaller } |
|||
|
|||
div.line-block { |
|||
display: block ; |
|||
margin-top: 1em ; |
|||
margin-bottom: 1em } |
|||
|
|||
div.line-block div.line-block { |
|||
margin-top: 0 ; |
|||
margin-bottom: 0 ; |
|||
margin-left: 1.5em } |
|||
|
|||
div.sidebar { |
|||
margin: 0 0 0.5em 1em ; |
|||
border: medium outset ; |
|||
padding: 1em ; |
|||
background-color: #ffffee ; |
|||
width: 40% ; |
|||
float: right ; |
|||
clear: right } |
|||
|
|||
div.sidebar p.rubric { |
|||
font-family: sans-serif ; |
|||
font-size: medium } |
|||
|
|||
div.system-messages { |
|||
margin: 5em } |
|||
|
|||
div.system-messages h1 { |
|||
color: red } |
|||
|
|||
div.system-message { |
|||
border: medium outset ; |
|||
padding: 1em } |
|||
|
|||
div.system-message p.system-message-title { |
|||
color: red ; |
|||
font-weight: bold } |
|||
|
|||
div.topic { |
|||
margin: 2em } |
|||
|
|||
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, |
|||
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { |
|||
margin-top: 0.4em } |
|||
|
|||
h1.title { |
|||
text-align: center } |
|||
|
|||
h2.subtitle { |
|||
text-align: center } |
|||
|
|||
hr.docutils { |
|||
width: 75% } |
|||
|
|||
img.align-left, .figure.align-left, object.align-left, table.align-left { |
|||
clear: left ; |
|||
float: left ; |
|||
margin-right: 1em } |
|||
|
|||
img.align-right, .figure.align-right, object.align-right, table.align-right { |
|||
clear: right ; |
|||
float: right ; |
|||
margin-left: 1em } |
|||
|
|||
img.align-center, .figure.align-center, object.align-center { |
|||
display: block; |
|||
margin-left: auto; |
|||
margin-right: auto; |
|||
} |
|||
|
|||
table.align-center { |
|||
margin-left: auto; |
|||
margin-right: auto; |
|||
} |
|||
|
|||
.align-left { |
|||
text-align: left } |
|||
|
|||
.align-center { |
|||
clear: both ; |
|||
text-align: center } |
|||
|
|||
.align-right { |
|||
text-align: right } |
|||
|
|||
/* reset inner alignment in figures */ |
|||
div.align-right { |
|||
text-align: inherit } |
|||
|
|||
/* div.align-center * { */ |
|||
/* text-align: left } */ |
|||
|
|||
.align-top { |
|||
vertical-align: top } |
|||
|
|||
.align-middle { |
|||
vertical-align: middle } |
|||
|
|||
.align-bottom { |
|||
vertical-align: bottom } |
|||
|
|||
ol.simple, ul.simple { |
|||
margin-bottom: 1em } |
|||
|
|||
ol.arabic { |
|||
list-style: decimal } |
|||
|
|||
ol.loweralpha { |
|||
list-style: lower-alpha } |
|||
|
|||
ol.upperalpha { |
|||
list-style: upper-alpha } |
|||
|
|||
ol.lowerroman { |
|||
list-style: lower-roman } |
|||
|
|||
ol.upperroman { |
|||
list-style: upper-roman } |
|||
|
|||
p.attribution { |
|||
text-align: right ; |
|||
margin-left: 50% } |
|||
|
|||
p.caption { |
|||
font-style: italic } |
|||
|
|||
p.credits { |
|||
font-style: italic ; |
|||
font-size: smaller } |
|||
|
|||
p.label { |
|||
white-space: nowrap } |
|||
|
|||
p.rubric { |
|||
font-weight: bold ; |
|||
font-size: larger ; |
|||
color: maroon ; |
|||
text-align: center } |
|||
|
|||
p.sidebar-title { |
|||
font-family: sans-serif ; |
|||
font-weight: bold ; |
|||
font-size: larger } |
|||
|
|||
p.sidebar-subtitle { |
|||
font-family: sans-serif ; |
|||
font-weight: bold } |
|||
|
|||
p.topic-title { |
|||
font-weight: bold } |
|||
|
|||
pre.address { |
|||
margin-bottom: 0 ; |
|||
margin-top: 0 ; |
|||
font: inherit } |
|||
|
|||
pre.literal-block, pre.doctest-block, pre.math, pre.code { |
|||
margin-left: 2em ; |
|||
margin-right: 2em } |
|||
|
|||
pre.code .ln { color: grey; } /* line numbers */ |
|||
pre.code, code { background-color: #eeeeee } |
|||
pre.code .comment, code .comment { color: #5C6576 } |
|||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } |
|||
pre.code .literal.string, code .literal.string { color: #0C5404 } |
|||
pre.code .name.builtin, code .name.builtin { color: #352B84 } |
|||
pre.code .deleted, code .deleted { background-color: #DEB0A1} |
|||
pre.code .inserted, code .inserted { background-color: #A3D289} |
|||
|
|||
span.classifier { |
|||
font-family: sans-serif ; |
|||
font-style: oblique } |
|||
|
|||
span.classifier-delimiter { |
|||
font-family: sans-serif ; |
|||
font-weight: bold } |
|||
|
|||
span.interpreted { |
|||
font-family: sans-serif } |
|||
|
|||
span.option { |
|||
white-space: nowrap } |
|||
|
|||
span.pre { |
|||
white-space: pre } |
|||
|
|||
span.problematic { |
|||
color: red } |
|||
|
|||
span.section-subtitle { |
|||
/* font-size relative to parent (h1..h6 element) */ |
|||
font-size: 80% } |
|||
|
|||
table.citation { |
|||
border-left: solid 1px gray; |
|||
margin-left: 1px } |
|||
|
|||
table.docinfo { |
|||
margin: 2em 4em } |
|||
|
|||
table.docutils { |
|||
margin-top: 0.5em ; |
|||
margin-bottom: 0.5em } |
|||
|
|||
table.footnote { |
|||
border-left: solid 1px black; |
|||
margin-left: 1px } |
|||
|
|||
table.docutils td, table.docutils th, |
|||
table.docinfo td, table.docinfo th { |
|||
padding-left: 0.5em ; |
|||
padding-right: 0.5em ; |
|||
vertical-align: top } |
|||
|
|||
table.docutils th.field-name, table.docinfo th.docinfo-name { |
|||
font-weight: bold ; |
|||
text-align: left ; |
|||
white-space: nowrap ; |
|||
padding-left: 0 } |
|||
|
|||
/* "booktabs" style (no vertical lines) */ |
|||
table.docutils.booktabs { |
|||
border: 0px; |
|||
border-top: 2px solid; |
|||
border-bottom: 2px solid; |
|||
border-collapse: collapse; |
|||
} |
|||
table.docutils.booktabs * { |
|||
border: 0px; |
|||
} |
|||
table.docutils.booktabs th { |
|||
border-bottom: thin solid; |
|||
text-align: left; |
|||
} |
|||
|
|||
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, |
|||
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { |
|||
font-size: 100% } |
|||
|
|||
ul.auto-toc { |
|||
list-style-type: none } |
|||
|
|||
</style> |
|||
</head> |
|||
<body> |
|||
<div class="document" id="easy-my-coop-belgium"> |
|||
<h1 class="title">Easy My Coop Belgium</h1> |
|||
|
|||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
!! This file is generated by oca-gen-addon-readme !! |
|||
!! changes will be overwritten. !! |
|||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> |
|||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_be"><img alt="coopiteasy/vertical-cooperative" src="https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github" /></a></p> |
|||
<p>This is the belgian localization for the easy my coop module.</p> |
|||
<p><strong>Table of contents</strong></p> |
|||
<div class="contents local topic" id="contents"> |
|||
<ul class="simple"> |
|||
<li><a class="reference internal" href="#bug-tracker" id="id1">Bug Tracker</a></li> |
|||
<li><a class="reference internal" href="#credits" id="id2">Credits</a><ul> |
|||
<li><a class="reference internal" href="#authors" id="id3">Authors</a></li> |
|||
<li><a class="reference internal" href="#contributors" id="id4">Contributors</a></li> |
|||
<li><a class="reference internal" href="#maintainers" id="id5">Maintainers</a></li> |
|||
</ul> |
|||
</li> |
|||
</ul> |
|||
</div> |
|||
<div class="section" id="bug-tracker"> |
|||
<h1><a class="toc-backref" href="#id1">Bug Tracker</a></h1> |
|||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/issues">GitHub Issues</a>. |
|||
In case of trouble, please check there if your issue has already been reported. |
|||
If you spotted it first, help us smashing it by providing a detailed and welcomed |
|||
<a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/issues/new?body=module:%20easy_my_coop_be%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> |
|||
<p>Do not contact contributors directly about support or help with technical issues.</p> |
|||
</div> |
|||
<div class="section" id="credits"> |
|||
<h1><a class="toc-backref" href="#id2">Credits</a></h1> |
|||
<div class="section" id="authors"> |
|||
<h2><a class="toc-backref" href="#id3">Authors</a></h2> |
|||
<ul class="simple"> |
|||
<li>Coop IT Easy SCRLfs</li> |
|||
</ul> |
|||
</div> |
|||
<div class="section" id="contributors"> |
|||
<h2><a class="toc-backref" href="#id4">Contributors</a></h2> |
|||
<ul class="simple"> |
|||
<li>Coop IT Easy SCRLfs</li> |
|||
</ul> |
|||
</div> |
|||
<div class="section" id="maintainers"> |
|||
<h2><a class="toc-backref" href="#id5">Maintainers</a></h2> |
|||
<p>This module is part of the <a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_be">coopiteasy/vertical-cooperative</a> project on GitHub.</p> |
|||
<p>You are welcome to contribute.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</body> |
|||
</html> |
@ -0,0 +1,55 @@ |
|||
======================== |
|||
Easy My Coop Switzerland |
|||
======================== |
|||
|
|||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
!! This file is generated by oca-gen-addon-readme !! |
|||
!! changes will be overwritten. !! |
|||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
|
|||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png |
|||
:target: https://odoo-community.org/page/development-status |
|||
:alt: Beta |
|||
.. |badge2| image:: https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github |
|||
:target: https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_ch |
|||
:alt: coopiteasy/vertical-cooperative |
|||
|
|||
|badge1| |badge2| |
|||
|
|||
This is the swiss localization for the easy my coop module |
|||
|
|||
**Table of contents** |
|||
|
|||
.. contents:: |
|||
:local: |
|||
|
|||
Bug Tracker |
|||
=========== |
|||
|
|||
Bugs are tracked on `GitHub Issues <https://github.com/coopiteasy/vertical-cooperative/issues>`_. |
|||
In case of trouble, please check there if your issue has already been reported. |
|||
If you spotted it first, help us smashing it by providing a detailed and welcomed |
|||
`feedback <https://github.com/coopiteasy/vertical-cooperative/issues/new?body=module:%20easy_my_coop_ch%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
|||
|
|||
Do not contact contributors directly about support or help with technical issues. |
|||
|
|||
Credits |
|||
======= |
|||
|
|||
Authors |
|||
~~~~~~~ |
|||
|
|||
* Houssine BAKKALI <houssine@coopiteasy.be> |
|||
|
|||
Contributors |
|||
~~~~~~~~~~~~ |
|||
|
|||
* Coop IT Easy SCRLfs |
|||
|
|||
|
|||
Maintainers |
|||
~~~~~~~~~~~ |
|||
|
|||
This module is part of the `coopiteasy/vertical-cooperative <https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_ch>`_ project on GitHub. |
|||
|
|||
You are welcome to contribute. |
@ -1,37 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# Copyright (C) 2013-2017 Open Architects Consulting SPRL. |
|||
# Copyright (C) 2018- Coop IT Easy SCRLfs. |
|||
# |
|||
# This program is free software: you can redistribute it and/or modify |
|||
# it under the terms of the GNU Affero General Public License as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
# Copyright 2013-2018 Open Architects Consulting SPRL. |
|||
# Copyright 2018 Coop IT Easy SCRLfs (<http://www.coopiteasy.be>) |
|||
# - Houssine BAKKALI - <houssine@coopiteasy.be> |
|||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
|||
{ |
|||
"name": "Easy My Coop CH", |
|||
"name": "Easy My Coop Switzerland", |
|||
"summary": "Easy My Coop Switzerland localization", |
|||
"version": "12.0.1.0.2", |
|||
"depends": ["easy_my_coop", |
|||
"l10n_ch"], |
|||
"author": "Houssine BAKKALI <houssine@coopiteasy.be>", |
|||
"license": "AGPL-3", |
|||
"depends": ["easy_my_coop", "easy_my_coop_website", "l10n_ch"], |
|||
"author": "Coop IT Easy SCRLfs", |
|||
"category": "Cooperative management", |
|||
'webstite': "https://coopiteasy.be", |
|||
"website": "https://www.coopiteasy.be", |
|||
"description": """ |
|||
This is the swiss localization for the easy my coop module |
|||
""", |
|||
'data': [ |
|||
'views/subscription_template.xml', |
|||
'views/subscription_request_view.xml' |
|||
"data": [ |
|||
"views/subscription_template.xml", |
|||
# "views/subscription_request_view.xml", |
|||
], |
|||
'installable': True, |
|||
"installable": True, |
|||
} |
@ -0,0 +1,2 @@ |
|||
* Coop IT Easy SCRLfs |
|||
* Houssine BAKKALI <houssine@coopiteasy.be> |
@ -0,0 +1 @@ |
|||
This is the swiss localization for the easy my coop module |
@ -0,0 +1,414 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|||
<head> |
|||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|||
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" /> |
|||
<title>Easy My Coop Switzerland</title> |
|||
<style type="text/css"> |
|||
|
|||
/* |
|||
:Author: David Goodger (goodger@python.org) |
|||
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $ |
|||
:Copyright: This stylesheet has been placed in the public domain. |
|||
|
|||
Default cascading style sheet for the HTML output of Docutils. |
|||
|
|||
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to |
|||
customize this style sheet. |
|||
*/ |
|||
|
|||
/* used to remove borders from tables and images */ |
|||
.borderless, table.borderless td, table.borderless th { |
|||
border: 0 } |
|||
|
|||
table.borderless td, table.borderless th { |
|||
/* Override padding for "table.docutils td" with "! important". |
|||
The right padding separates the table cells. */ |
|||
padding: 0 0.5em 0 0 ! important } |
|||
|
|||
.first { |
|||
/* Override more specific margin styles with "! important". */ |
|||
margin-top: 0 ! important } |
|||
|
|||
.last, .with-subtitle { |
|||
margin-bottom: 0 ! important } |
|||
|
|||
.hidden { |
|||
display: none } |
|||
|
|||
.subscript { |
|||
vertical-align: sub; |
|||
font-size: smaller } |
|||
|
|||
.superscript { |
|||
vertical-align: super; |
|||
font-size: smaller } |
|||
|
|||
a.toc-backref { |
|||
text-decoration: none ; |
|||
color: black } |
|||
|
|||
blockquote.epigraph { |
|||
margin: 2em 5em ; } |
|||
|
|||
dl.docutils dd { |
|||
margin-bottom: 0.5em } |
|||
|
|||
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] { |
|||
overflow: hidden; |
|||
} |
|||
|
|||
/* Uncomment (and remove this text!) to get bold-faced definition list terms |
|||
dl.docutils dt { |
|||
font-weight: bold } |
|||
*/ |
|||
|
|||
div.abstract { |
|||
margin: 2em 5em } |
|||
|
|||
div.abstract p.topic-title { |
|||
font-weight: bold ; |
|||
text-align: center } |
|||
|
|||
div.admonition, div.attention, div.caution, div.danger, div.error, |
|||
div.hint, div.important, div.note, div.tip, div.warning { |
|||
margin: 2em ; |
|||
border: medium outset ; |
|||
padding: 1em } |
|||
|
|||
div.admonition p.admonition-title, div.hint p.admonition-title, |
|||
div.important p.admonition-title, div.note p.admonition-title, |
|||
div.tip p.admonition-title { |
|||
font-weight: bold ; |
|||
font-family: sans-serif } |
|||
|
|||
div.attention p.admonition-title, div.caution p.admonition-title, |
|||
div.danger p.admonition-title, div.error p.admonition-title, |
|||
div.warning p.admonition-title, .code .error { |
|||
color: red ; |
|||
font-weight: bold ; |
|||
font-family: sans-serif } |
|||
|
|||
/* Uncomment (and remove this text!) to get reduced vertical space in |
|||
compound paragraphs. |
|||
div.compound .compound-first, div.compound .compound-middle { |
|||
margin-bottom: 0.5em } |
|||
|
|||
div.compound .compound-last, div.compound .compound-middle { |
|||
margin-top: 0.5em } |
|||
*/ |
|||
|
|||
div.dedication { |
|||
margin: 2em 5em ; |
|||
text-align: center ; |
|||
font-style: italic } |
|||
|
|||
div.dedication p.topic-title { |
|||
font-weight: bold ; |
|||
font-style: normal } |
|||
|
|||
div.figure { |
|||
margin-left: 2em ; |
|||
margin-right: 2em } |
|||
|
|||
div.footer, div.header { |
|||
clear: both; |
|||
font-size: smaller } |
|||
|
|||
div.line-block { |
|||
display: block ; |
|||
margin-top: 1em ; |
|||
margin-bottom: 1em } |
|||
|
|||
div.line-block div.line-block { |
|||
margin-top: 0 ; |
|||
margin-bottom: 0 ; |
|||
margin-left: 1.5em } |
|||
|
|||
div.sidebar { |
|||
margin: 0 0 0.5em 1em ; |
|||
border: medium outset ; |
|||
padding: 1em ; |
|||
background-color: #ffffee ; |
|||
width: 40% ; |
|||
float: right ; |
|||
clear: right } |
|||
|
|||
div.sidebar p.rubric { |
|||
font-family: sans-serif ; |
|||
font-size: medium } |
|||
|
|||
div.system-messages { |
|||
margin: 5em } |
|||
|
|||
div.system-messages h1 { |
|||
color: red } |
|||
|
|||
div.system-message { |
|||
border: medium outset ; |
|||
padding: 1em } |
|||
|
|||
div.system-message p.system-message-title { |
|||
color: red ; |
|||
font-weight: bold } |
|||
|
|||
div.topic { |
|||
margin: 2em } |
|||
|
|||
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, |
|||
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { |
|||
margin-top: 0.4em } |
|||
|
|||
h1.title { |
|||
text-align: center } |
|||
|
|||
h2.subtitle { |
|||
text-align: center } |
|||
|
|||
hr.docutils { |
|||
width: 75% } |
|||
|
|||
img.align-left, .figure.align-left, object.align-left, table.align-left { |
|||
clear: left ; |
|||
float: left ; |
|||
margin-right: 1em } |
|||
|
|||
img.align-right, .figure.align-right, object.align-right, table.align-right { |
|||
clear: right ; |
|||
float: right ; |
|||
margin-left: 1em } |
|||
|
|||
img.align-center, .figure.align-center, object.align-center { |
|||
display: block; |
|||
margin-left: auto; |
|||
margin-right: auto; |
|||
} |
|||
|
|||
table.align-center { |
|||
margin-left: auto; |
|||
margin-right: auto; |
|||
} |
|||
|
|||
.align-left { |
|||
text-align: left } |
|||
|
|||
.align-center { |
|||
clear: both ; |
|||
text-align: center } |
|||
|
|||
.align-right { |
|||
text-align: right } |
|||
|
|||
/* reset inner alignment in figures */ |
|||
div.align-right { |
|||
text-align: inherit } |
|||
|
|||
/* div.align-center * { */ |
|||
/* text-align: left } */ |
|||
|
|||
.align-top { |
|||
vertical-align: top } |
|||
|
|||
.align-middle { |
|||
vertical-align: middle } |
|||
|
|||
.align-bottom { |
|||
vertical-align: bottom } |
|||
|
|||
ol.simple, ul.simple { |
|||
margin-bottom: 1em } |
|||
|
|||
ol.arabic { |
|||
list-style: decimal } |
|||
|
|||
ol.loweralpha { |
|||
list-style: lower-alpha } |
|||
|
|||
ol.upperalpha { |
|||
list-style: upper-alpha } |
|||
|
|||
ol.lowerroman { |
|||
list-style: lower-roman } |
|||
|
|||
ol.upperroman { |
|||
list-style: upper-roman } |
|||
|
|||
p.attribution { |
|||
text-align: right ; |
|||
margin-left: 50% } |
|||
|
|||
p.caption { |
|||
font-style: italic } |
|||
|
|||
p.credits { |
|||
font-style: italic ; |
|||
font-size: smaller } |
|||
|
|||
p.label { |
|||
white-space: nowrap } |
|||
|
|||
p.rubric { |
|||
font-weight: bold ; |
|||
font-size: larger ; |
|||
color: maroon ; |
|||
text-align: center } |
|||
|
|||
p.sidebar-title { |
|||
font-family: sans-serif ; |
|||
font-weight: bold ; |
|||
font-size: larger } |
|||
|
|||
p.sidebar-subtitle { |
|||
font-family: sans-serif ; |
|||
font-weight: bold } |
|||
|
|||
p.topic-title { |
|||
font-weight: bold } |
|||
|
|||
pre.address { |
|||
margin-bottom: 0 ; |
|||
margin-top: 0 ; |
|||
font: inherit } |
|||
|
|||
pre.literal-block, pre.doctest-block, pre.math, pre.code { |
|||
margin-left: 2em ; |
|||
margin-right: 2em } |
|||
|
|||
pre.code .ln { color: grey; } /* line numbers */ |
|||
pre.code, code { background-color: #eeeeee } |
|||
pre.code .comment, code .comment { color: #5C6576 } |
|||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } |
|||
pre.code .literal.string, code .literal.string { color: #0C5404 } |
|||
pre.code .name.builtin, code .name.builtin { color: #352B84 } |
|||
pre.code .deleted, code .deleted { background-color: #DEB0A1} |
|||
pre.code .inserted, code .inserted { background-color: #A3D289} |
|||
|
|||
span.classifier { |
|||
font-family: sans-serif ; |
|||
font-style: oblique } |
|||
|
|||
span.classifier-delimiter { |
|||
font-family: sans-serif ; |
|||
font-weight: bold } |
|||
|
|||
span.interpreted { |
|||
font-family: sans-serif } |
|||
|
|||
span.option { |
|||
white-space: nowrap } |
|||
|
|||
span.pre { |
|||
white-space: pre } |
|||
|
|||
span.problematic { |
|||
color: red } |
|||
|
|||
span.section-subtitle { |
|||
/* font-size relative to parent (h1..h6 element) */ |
|||
font-size: 80% } |
|||
|
|||
table.citation { |
|||
border-left: solid 1px gray; |
|||
margin-left: 1px } |
|||
|
|||
table.docinfo { |
|||
margin: 2em 4em } |
|||
|
|||
table.docutils { |
|||
margin-top: 0.5em ; |
|||
margin-bottom: 0.5em } |
|||
|
|||
table.footnote { |
|||
border-left: solid 1px black; |
|||
margin-left: 1px } |
|||
|
|||
table.docutils td, table.docutils th, |
|||
table.docinfo td, table.docinfo th { |
|||
padding-left: 0.5em ; |
|||
padding-right: 0.5em ; |
|||
vertical-align: top } |
|||
|
|||
table.docutils th.field-name, table.docinfo th.docinfo-name { |
|||
font-weight: bold ; |
|||
text-align: left ; |
|||
white-space: nowrap ; |
|||
padding-left: 0 } |
|||
|
|||
/* "booktabs" style (no vertical lines) */ |
|||
table.docutils.booktabs { |
|||
border: 0px; |
|||
border-top: 2px solid; |
|||
border-bottom: 2px solid; |
|||
border-collapse: collapse; |
|||
} |
|||
table.docutils.booktabs * { |
|||
border: 0px; |
|||
} |
|||
table.docutils.booktabs th { |
|||
border-bottom: thin solid; |
|||
text-align: left; |
|||
} |
|||
|
|||
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, |
|||
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { |
|||
font-size: 100% } |
|||
|
|||
ul.auto-toc { |
|||
list-style-type: none } |
|||
|
|||
</style> |
|||
</head> |
|||
<body> |
|||
<div class="document" id="easy-my-coop-switzerland"> |
|||
<h1 class="title">Easy My Coop Switzerland</h1> |
|||
|
|||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
!! This file is generated by oca-gen-addon-readme !! |
|||
!! changes will be overwritten. !! |
|||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> |
|||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_ch"><img alt="coopiteasy/vertical-cooperative" src="https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github" /></a></p> |
|||
<p>This is the swiss localization for the easy my coop module</p> |
|||
<p><strong>Table of contents</strong></p> |
|||
<div class="contents local topic" id="contents"> |
|||
<ul class="simple"> |
|||
<li><a class="reference internal" href="#bug-tracker" id="id1">Bug Tracker</a></li> |
|||
<li><a class="reference internal" href="#credits" id="id2">Credits</a><ul> |
|||
<li><a class="reference internal" href="#authors" id="id3">Authors</a></li> |
|||
<li><a class="reference internal" href="#contributors" id="id4">Contributors</a></li> |
|||
<li><a class="reference internal" href="#maintainers" id="id5">Maintainers</a></li> |
|||
</ul> |
|||
</li> |
|||
</ul> |
|||
</div> |
|||
<div class="section" id="bug-tracker"> |
|||
<h1><a class="toc-backref" href="#id1">Bug Tracker</a></h1> |
|||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/issues">GitHub Issues</a>. |
|||
In case of trouble, please check there if your issue has already been reported. |
|||
If you spotted it first, help us smashing it by providing a detailed and welcomed |
|||
<a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/issues/new?body=module:%20easy_my_coop_ch%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> |
|||
<p>Do not contact contributors directly about support or help with technical issues.</p> |
|||
</div> |
|||
<div class="section" id="credits"> |
|||
<h1><a class="toc-backref" href="#id2">Credits</a></h1> |
|||
<div class="section" id="authors"> |
|||
<h2><a class="toc-backref" href="#id3">Authors</a></h2> |
|||
<ul class="simple"> |
|||
<li>Houssine BAKKALI <<a class="reference external" href="mailto:houssine@coopiteasy.be">houssine@coopiteasy.be</a>></li> |
|||
</ul> |
|||
</div> |
|||
<div class="section" id="contributors"> |
|||
<h2><a class="toc-backref" href="#id4">Contributors</a></h2> |
|||
<ul class="simple"> |
|||
<li>Coop IT Easy SCRLfs</li> |
|||
</ul> |
|||
</div> |
|||
<div class="section" id="maintainers"> |
|||
<h2><a class="toc-backref" href="#id5">Maintainers</a></h2> |
|||
<p>This module is part of the <a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_ch">coopiteasy/vertical-cooperative</a> project on GitHub.</p> |
|||
<p>You are welcome to contribute.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</body> |
|||
</html> |
@ -1,63 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data> |
|||
<template id="certificate_i18n_fr" inherit_id="easy_my_coop.cooperator_certificat_G001_document" name="French Layout Certificate"> |
|||
<xpath expr="//div[@name='label_coop_number']" position="replace"> |
|||
<div name="label_coop_number" style="position:relative;top:35px;font-size:16;"> |
|||
<span>Ce document atteste de la souscription de parts sociales au capital de la SAS Coopérative à Capital Variable SuperQuinquin par </span> |
|||
<b><span t-field="o.name"></span></b> |
|||
<span>, enregistré(e) sous le <b>numéro de coopérateur </b></span> |
|||
<span t-field="o.cooperator_register_number"></span> |
|||
</div> |
|||
</xpath> |
|||
|
|||
<xpath expr="//div[@name='total_table']" position="after"> |
|||
<div name="legal_text" style="position:relative;top:145px;font-size:12;"> |
|||
<div>Ce document atteste d’une souscription en numéraire au capital d’une société, répondant à la définition communautaire de la Petite et Moyenne Entreprise, dont les titres ne sont pas admis aux négociations sur un marché d’instruments financiers français ou étranger en application de l’article 199 terdecies 0A du CGI.<br/> |
|||
Conformément aux statuts, les souscriptions de parts sociales de type A et B n’ouvre pas droit à rémunération.<br/> |
|||
La société remplit les conditions mentionnées aux c, d et e du 2° du I de l’article 199 terdecies-0 A du code général des impôts : <br/> |
|||
c) La société est soumise à l’impôt sur les sociétés dans les conditions de droit commun ;<br/> |
|||
<br/> |
|||
c bis) La société compte au moins deux salariés à la clôture de son premier exercice ou un salarié si elle est soumise à l’obligation de s’inscrire à la chambre de métiers et de l’artisanat ;<br/> |
|||
<br/> |
|||
d) La société exerce une activité commerciale, industrielle, artisanale, libérale ou agricole, à l’exclusion des activités procurant des revenus garantis en raison de l’existence d’un tarif réglementé de rachat de la production, des activités financières, des activités de gestion de patrimoine mobilier définie à l’article 885 O quater et des activités immobilières. Toutefois, les exclusions relatives à l’exercice d’une activité financière ou immobilière ne sont pas applicables aux entreprises solidaires mentionnées à l’article L. 3332-17-1 du code du travail.<br/> |
|||
La société n’exerce pas une activité de production d’électricité utilisant l’énergie radiative du soleil ;<br/> |
|||
<br/> |
|||
d bis) Les actifs de la société ne sont pas constitués de façon prépondérante de métaux précieux, d’œuvres d’art, d’objets de collection, d’antiquités, de chevaux de course ou de concours ou, sauf si l’objet même de son activité consiste en leur consommation ou en leur vente au détail, de vins ou d’alcools ;<br/> |
|||
<br/> |
|||
d ter) Les souscriptions au capital de la société confèrent aux souscripteurs les seuls droits résultant de la qualité d’actionnaire ou d’associé, à l’exclusion de toute autre contrepartie notamment sous la forme de tarifs préférentiels ou d’accès prioritaire aux biens produits ou aux services rendus par la société ;<br/> |
|||
<br/> |
|||
e) La société doit être une petite et moyenne entreprise qui satisfait à la définition des petites et moyennes entreprises qui figure à l’annexe I au règlement (CE) n° 800/2008 de la Commission du 6 août 2008 déclarant certaines catégories d’aide compatibles avec le marché commun en application des articles 87 et 88 du traité (Règlement général d’exemption par catégorie) ;<br/> |
|||
</div> |
|||
</div> |
|||
</xpath> |
|||
<xpath expr="//div[@name='board_commitee']" position="replace"> |
|||
<div name="" class="col-xs-6 pull-left" style="position:relative;top:105px;font-size:20;color:black;font-family:Roboto-Regular;"> |
|||
<div style="position:relative;top:105px;"> |
|||
Pour le Conseil d'administration de <span t-field="o.company_id.name"/>. |
|||
</div> |
|||
<div style="position:relative;top:110px;"> |
|||
<strong><span t-field="o.company_id.board_representative"/></strong> |
|||
</div> |
|||
<div style="position:relative;top:115px;"> |
|||
<img t-if="o.company_id.signature_scan" t-att-src="'data:image/png;base64,%s' % o.company_id.signature_scan" style="width:240px;height:180px;padding-bottom:5px;"/> |
|||
</div> |
|||
</div> |
|||
</xpath> |
|||
</template> |
|||
|
|||
<template id="capital_release_request_i18n_fr" inherit_id="easy_my_coop.theme_invoice_G002_document" name="French Layout Certificate"> |
|||
<xpath expr="//p[@t-if='o.comment']" position="before"> |
|||
<div class="row"> |
|||
<div style="position:relative;top:225px;font-size:16;"> |
|||
Votre demande de souscription de parts sociales, détaillé dans le tableau ci-dessus, a bien été prise en compte.<br/> |
|||
<br/> |
|||
Afin de valider votre enregistrement en tant que coopérateur, vous devez tout d’abord procéder au paiement de celles-ci.<br/> |
|||
<br/> |
|||
Un email contenant les instructions de paiement vous a également été envoyé.<br/> |
|||
</div> |
|||
</div> |
|||
</xpath> |
|||
</template> |
|||
</data> |
|||
</odoo> |
@ -1,26 +1,39 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data> |
|||
<template id="subscription_i18n_ch" inherit_id="easy_my_coop_website.becomecooperator" name="Removing fields"> |
|||
<xpath expr="//label[@for='iban']/.." position="replace"> |
|||
<div t-attf-class="form-group #{error and 'iban' in error and 'has-error' or ''}"> |
|||
<label class="col-md-3 col-sm-4 control-label" for="iban">Bank Account Number</label> |
|||
<div class="col-md-7 col-sm-8"> |
|||
<input type="text" class="form-control mandatory-field" name="iban" t-attf-value="#{iban or ''}" placeholder="BE48523080767127"/> |
|||
</div> |
|||
</div> |
|||
</xpath> |
|||
</template> |
|||
<data> |
|||
<template id="subscription_i18n_ch" |
|||
inherit_id="easy_my_coop_website.becomecooperator" |
|||
name="Removing fields"> |
|||
<!-- fixme instead of removing here, it should be added in easy_my_coop_be --> |
|||
<xpath expr="//label[@for='iban']/.." position="replace"> |
|||
<div t-attf-class="form-group #{error and 'iban' in error and 'has-error' or ''}"> |
|||
<label class="col-md-3 col-sm-4 control-label" for="iban"> |
|||
Bank Account Number |
|||
</label> |
|||
<div class="col-md-7 col-sm-8"> |
|||
<input type="text" class="form-control mandatory-field" |
|||
name="iban" t-attf-value="#{iban or ''}" |
|||
placeholder="BE48523080767127"/> |
|||
</div> |
|||
</div> |
|||
</xpath> |
|||
</template> |
|||
|
|||
<template id="company_subscription_i18n_ch" inherit_id="easy_my_coop_website.becomecompanycooperator" name="Company Removing fields"> |
|||
<xpath expr="//label[@for='iban']/.." position="replace"> |
|||
<div t-attf-class="form-group #{error and 'iban' in error and 'has-error' or ''}"> |
|||
<label class="col-md-3 col-sm-4 control-label" for="iban">Bank Account Number</label> |
|||
<div class="col-md-7 col-sm-8"> |
|||
<input type="text" class="form-control mandatory-field" name="iban" t-attf-value="#{iban or ''}" placeholder="BE48523080767127"/> |
|||
</div> |
|||
</div> |
|||
</xpath> |
|||
</template> |
|||
</data> |
|||
<template id="company_subscription_i18n_ch" |
|||
inherit_id="easy_my_coop_website.becomecompanycooperator" |
|||
name="Company Removing fields"> |
|||
<xpath expr="//label[@for='iban']/.." position="replace"> |
|||
<div t-attf-class="form-group #{error and 'iban' in error and 'has-error' or ''}"> |
|||
<label class="col-md-3 col-sm-4 control-label" for="iban"> |
|||
Bank Account Number |
|||
</label> |
|||
<div class="col-md-7 col-sm-8"> |
|||
<input type="text" class="form-control mandatory-field" |
|||
name="iban" t-attf-value="#{iban or ''}" |
|||
placeholder="BE48523080767127"/> |
|||
</div> |
|||
</div> |
|||
</xpath> |
|||
</template> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,62 @@ |
|||
============================ |
|||
Easy My Coop Dividend Engine |
|||
============================ |
|||
|
|||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
!! This file is generated by oca-gen-addon-readme !! |
|||
!! changes will be overwritten. !! |
|||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
|
|||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png |
|||
:target: https://odoo-community.org/page/development-status |
|||
:alt: Beta |
|||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png |
|||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html |
|||
:alt: License: AGPL-3 |
|||
.. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github |
|||
:target: https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_dividend |
|||
:alt: coopiteasy/vertical-cooperative |
|||
|
|||
|badge1| |badge2| |badge3| |
|||
|
|||
This module allows to calculate the dividend to give to a cooperator base |
|||
on the amount of his shares, the percentage allocated and for how long the |
|||
shares have been owned on prorata temporis calculation. |
|||
|
|||
**Table of contents** |
|||
|
|||
.. contents:: |
|||
:local: |
|||
|
|||
Bug Tracker |
|||
=========== |
|||
|
|||
Bugs are tracked on `GitHub Issues <https://github.com/coopiteasy/vertical-cooperative/issues>`_. |
|||
In case of trouble, please check there if your issue has already been reported. |
|||
If you spotted it first, help us smashing it by providing a detailed and welcomed |
|||
`feedback <https://github.com/coopiteasy/vertical-cooperative/issues/new?body=module:%20easy_my_coop_dividend%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
|||
|
|||
Do not contact contributors directly about support or help with technical issues. |
|||
|
|||
Credits |
|||
======= |
|||
|
|||
Authors |
|||
~~~~~~~ |
|||
|
|||
* Houssine BAKKALI |
|||
* <houssine@coopiteasy.be> |
|||
|
|||
Contributors |
|||
~~~~~~~~~~~~ |
|||
|
|||
* Coop IT Easy SCRLfs |
|||
* Houssine BAKKALI, <houssine@coopiteasy.be> |
|||
|
|||
|
|||
Maintainers |
|||
~~~~~~~~~~~ |
|||
|
|||
This module is part of the `coopiteasy/vertical-cooperative <https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_dividend>`_ project on GitHub. |
|||
|
|||
You are welcome to contribute. |
@ -1,2 +1 @@ |
|||
# -*- coding: utf8 -*- |
|||
from . import models |
@ -1,2 +1 @@ |
|||
# -*- coding: utf8 -*- |
|||
from . import dividend |
@ -0,0 +1,2 @@ |
|||
* Coop IT Easy SCRLfs |
|||
* Houssine BAKKALI, <houssine@coopiteasy.be> |
@ -0,0 +1,3 @@ |
|||
This module allows to calculate the dividend to give to a cooperator base |
|||
on the amount of his shares, the percentage allocated and for how long the |
|||
shares have been owned on prorata temporis calculation. |
@ -0,0 +1,419 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|||
<head> |
|||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|||
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" /> |
|||
<title>Easy My Coop Dividend Engine</title> |
|||
<style type="text/css"> |
|||
|
|||
/* |
|||
:Author: David Goodger (goodger@python.org) |
|||
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $ |
|||
:Copyright: This stylesheet has been placed in the public domain. |
|||
|
|||
Default cascading style sheet for the HTML output of Docutils. |
|||
|
|||
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to |
|||
customize this style sheet. |
|||
*/ |
|||
|
|||
/* used to remove borders from tables and images */ |
|||
.borderless, table.borderless td, table.borderless th { |
|||
border: 0 } |
|||
|
|||
table.borderless td, table.borderless th { |
|||
/* Override padding for "table.docutils td" with "! important". |
|||
The right padding separates the table cells. */ |
|||
padding: 0 0.5em 0 0 ! important } |
|||
|
|||
.first { |
|||
/* Override more specific margin styles with "! important". */ |
|||
margin-top: 0 ! important } |
|||
|
|||
.last, .with-subtitle { |
|||
margin-bottom: 0 ! important } |
|||
|
|||
.hidden { |
|||
display: none } |
|||
|
|||
.subscript { |
|||
vertical-align: sub; |
|||
font-size: smaller } |
|||
|
|||
.superscript { |
|||
vertical-align: super; |
|||
font-size: smaller } |
|||
|
|||
a.toc-backref { |
|||
text-decoration: none ; |
|||
color: black } |
|||
|
|||
blockquote.epigraph { |
|||
margin: 2em 5em ; } |
|||
|
|||
dl.docutils dd { |
|||
margin-bottom: 0.5em } |
|||
|
|||
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] { |
|||
overflow: hidden; |
|||
} |
|||
|
|||
/* Uncomment (and remove this text!) to get bold-faced definition list terms |
|||
dl.docutils dt { |
|||
font-weight: bold } |
|||
*/ |
|||
|
|||
div.abstract { |
|||
margin: 2em 5em } |
|||
|
|||
div.abstract p.topic-title { |
|||
font-weight: bold ; |
|||
text-align: center } |
|||
|
|||
div.admonition, div.attention, div.caution, div.danger, div.error, |
|||
div.hint, div.important, div.note, div.tip, div.warning { |
|||
margin: 2em ; |
|||
border: medium outset ; |
|||
padding: 1em } |
|||
|
|||
div.admonition p.admonition-title, div.hint p.admonition-title, |
|||
div.important p.admonition-title, div.note p.admonition-title, |
|||
div.tip p.admonition-title { |
|||
font-weight: bold ; |
|||
font-family: sans-serif } |
|||
|
|||
div.attention p.admonition-title, div.caution p.admonition-title, |
|||
div.danger p.admonition-title, div.error p.admonition-title, |
|||
div.warning p.admonition-title, .code .error { |
|||
color: red ; |
|||
font-weight: bold ; |
|||
font-family: sans-serif } |
|||
|
|||
/* Uncomment (and remove this text!) to get reduced vertical space in |
|||
compound paragraphs. |
|||
div.compound .compound-first, div.compound .compound-middle { |
|||
margin-bottom: 0.5em } |
|||
|
|||
div.compound .compound-last, div.compound .compound-middle { |
|||
margin-top: 0.5em } |
|||
*/ |
|||
|
|||
div.dedication { |
|||
margin: 2em 5em ; |
|||
text-align: center ; |
|||
font-style: italic } |
|||
|
|||
div.dedication p.topic-title { |
|||
font-weight: bold ; |
|||
font-style: normal } |
|||
|
|||
div.figure { |
|||
margin-left: 2em ; |
|||
margin-right: 2em } |
|||
|
|||
div.footer, div.header { |
|||
clear: both; |
|||
font-size: smaller } |
|||
|
|||
div.line-block { |
|||
display: block ; |
|||
margin-top: 1em ; |
|||
margin-bottom: 1em } |
|||
|
|||
div.line-block div.line-block { |
|||
margin-top: 0 ; |
|||
margin-bottom: 0 ; |
|||
margin-left: 1.5em } |
|||
|
|||
div.sidebar { |
|||
margin: 0 0 0.5em 1em ; |
|||
border: medium outset ; |
|||
padding: 1em ; |
|||
background-color: #ffffee ; |
|||
width: 40% ; |
|||
float: right ; |
|||
clear: right } |
|||
|
|||
div.sidebar p.rubric { |
|||
font-family: sans-serif ; |
|||
font-size: medium } |
|||
|
|||
div.system-messages { |
|||
margin: 5em } |
|||
|
|||
div.system-messages h1 { |
|||
color: red } |
|||
|
|||
div.system-message { |
|||
border: medium outset ; |
|||
padding: 1em } |
|||
|
|||
div.system-message p.system-message-title { |
|||
color: red ; |
|||
font-weight: bold } |
|||
|
|||
div.topic { |
|||
margin: 2em } |
|||
|
|||
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, |
|||
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { |
|||
margin-top: 0.4em } |
|||
|
|||
h1.title { |
|||
text-align: center } |
|||
|
|||
h2.subtitle { |
|||
text-align: center } |
|||
|
|||
hr.docutils { |
|||
width: 75% } |
|||
|
|||
img.align-left, .figure.align-left, object.align-left, table.align-left { |
|||
clear: left ; |
|||
float: left ; |
|||
margin-right: 1em } |
|||
|
|||
img.align-right, .figure.align-right, object.align-right, table.align-right { |
|||
clear: right ; |
|||
float: right ; |
|||
margin-left: 1em } |
|||
|
|||
img.align-center, .figure.align-center, object.align-center { |
|||
display: block; |
|||
margin-left: auto; |
|||
margin-right: auto; |
|||
} |
|||
|
|||
table.align-center { |
|||
margin-left: auto; |
|||
margin-right: auto; |
|||
} |
|||
|
|||
.align-left { |
|||
text-align: left } |
|||
|
|||
.align-center { |
|||
clear: both ; |
|||
text-align: center } |
|||
|
|||
.align-right { |
|||
text-align: right } |
|||
|
|||
/* reset inner alignment in figures */ |
|||
div.align-right { |
|||
text-align: inherit } |
|||
|
|||
/* div.align-center * { */ |
|||
/* text-align: left } */ |
|||
|
|||
.align-top { |
|||
vertical-align: top } |
|||
|
|||
.align-middle { |
|||
vertical-align: middle } |
|||
|
|||
.align-bottom { |
|||
vertical-align: bottom } |
|||
|
|||
ol.simple, ul.simple { |
|||
margin-bottom: 1em } |
|||
|
|||
ol.arabic { |
|||
list-style: decimal } |
|||
|
|||
ol.loweralpha { |
|||
list-style: lower-alpha } |
|||
|
|||
ol.upperalpha { |
|||
list-style: upper-alpha } |
|||
|
|||
ol.lowerroman { |
|||
list-style: lower-roman } |
|||
|
|||
ol.upperroman { |
|||
list-style: upper-roman } |
|||
|
|||
p.attribution { |
|||
text-align: right ; |
|||
margin-left: 50% } |
|||
|
|||
p.caption { |
|||
font-style: italic } |
|||
|
|||
p.credits { |
|||
font-style: italic ; |
|||
font-size: smaller } |
|||
|
|||
p.label { |
|||
white-space: nowrap } |
|||
|
|||
p.rubric { |
|||
font-weight: bold ; |
|||
font-size: larger ; |
|||
color: maroon ; |
|||
text-align: center } |
|||
|
|||
p.sidebar-title { |
|||
font-family: sans-serif ; |
|||
font-weight: bold ; |
|||
font-size: larger } |
|||
|
|||
p.sidebar-subtitle { |
|||
font-family: sans-serif ; |
|||
font-weight: bold } |
|||
|
|||
p.topic-title { |
|||
font-weight: bold } |
|||
|
|||
pre.address { |
|||
margin-bottom: 0 ; |
|||
margin-top: 0 ; |
|||
font: inherit } |
|||
|
|||
pre.literal-block, pre.doctest-block, pre.math, pre.code { |
|||
margin-left: 2em ; |
|||
margin-right: 2em } |
|||
|
|||
pre.code .ln { color: grey; } /* line numbers */ |
|||
pre.code, code { background-color: #eeeeee } |
|||
pre.code .comment, code .comment { color: #5C6576 } |
|||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } |
|||
pre.code .literal.string, code .literal.string { color: #0C5404 } |
|||
pre.code .name.builtin, code .name.builtin { color: #352B84 } |
|||
pre.code .deleted, code .deleted { background-color: #DEB0A1} |
|||
pre.code .inserted, code .inserted { background-color: #A3D289} |
|||
|
|||
span.classifier { |
|||
font-family: sans-serif ; |
|||
font-style: oblique } |
|||
|
|||
span.classifier-delimiter { |
|||
font-family: sans-serif ; |
|||
font-weight: bold } |
|||
|
|||
span.interpreted { |
|||
font-family: sans-serif } |
|||
|
|||
span.option { |
|||
white-space: nowrap } |
|||
|
|||
span.pre { |
|||
white-space: pre } |
|||
|
|||
span.problematic { |
|||
color: red } |
|||
|
|||
span.section-subtitle { |
|||
/* font-size relative to parent (h1..h6 element) */ |
|||
font-size: 80% } |
|||
|
|||
table.citation { |
|||
border-left: solid 1px gray; |
|||
margin-left: 1px } |
|||
|
|||
table.docinfo { |
|||
margin: 2em 4em } |
|||
|
|||
table.docutils { |
|||
margin-top: 0.5em ; |
|||
margin-bottom: 0.5em } |
|||
|
|||
table.footnote { |
|||
border-left: solid 1px black; |
|||
margin-left: 1px } |
|||
|
|||
table.docutils td, table.docutils th, |
|||
table.docinfo td, table.docinfo th { |
|||
padding-left: 0.5em ; |
|||
padding-right: 0.5em ; |
|||
vertical-align: top } |
|||
|
|||
table.docutils th.field-name, table.docinfo th.docinfo-name { |
|||
font-weight: bold ; |
|||
text-align: left ; |
|||
white-space: nowrap ; |
|||
padding-left: 0 } |
|||
|
|||
/* "booktabs" style (no vertical lines) */ |
|||
table.docutils.booktabs { |
|||
border: 0px; |
|||
border-top: 2px solid; |
|||
border-bottom: 2px solid; |
|||
border-collapse: collapse; |
|||
} |
|||
table.docutils.booktabs * { |
|||
border: 0px; |
|||
} |
|||
table.docutils.booktabs th { |
|||
border-bottom: thin solid; |
|||
text-align: left; |
|||
} |
|||
|
|||
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, |
|||
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { |
|||
font-size: 100% } |
|||
|
|||
ul.auto-toc { |
|||
list-style-type: none } |
|||
|
|||
</style> |
|||
</head> |
|||
<body> |
|||
<div class="document" id="easy-my-coop-dividend-engine"> |
|||
<h1 class="title">Easy My Coop Dividend Engine</h1> |
|||
|
|||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
!! This file is generated by oca-gen-addon-readme !! |
|||
!! changes will be overwritten. !! |
|||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> |
|||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_dividend"><img alt="coopiteasy/vertical-cooperative" src="https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github" /></a></p> |
|||
<blockquote> |
|||
This module allows to calculate the dividend to give to a cooperator base |
|||
on the amount of his shares, the percentage allocated and for how long the |
|||
shares have been owned on prorata temporis calculation.</blockquote> |
|||
<p><strong>Table of contents</strong></p> |
|||
<div class="contents local topic" id="contents"> |
|||
<ul class="simple"> |
|||
<li><a class="reference internal" href="#bug-tracker" id="id1">Bug Tracker</a></li> |
|||
<li><a class="reference internal" href="#credits" id="id2">Credits</a><ul> |
|||
<li><a class="reference internal" href="#authors" id="id3">Authors</a></li> |
|||
<li><a class="reference internal" href="#contributors" id="id4">Contributors</a></li> |
|||
<li><a class="reference internal" href="#maintainers" id="id5">Maintainers</a></li> |
|||
</ul> |
|||
</li> |
|||
</ul> |
|||
</div> |
|||
<div class="section" id="bug-tracker"> |
|||
<h1><a class="toc-backref" href="#id1">Bug Tracker</a></h1> |
|||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/issues">GitHub Issues</a>. |
|||
In case of trouble, please check there if your issue has already been reported. |
|||
If you spotted it first, help us smashing it by providing a detailed and welcomed |
|||
<a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/issues/new?body=module:%20easy_my_coop_dividend%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> |
|||
<p>Do not contact contributors directly about support or help with technical issues.</p> |
|||
</div> |
|||
<div class="section" id="credits"> |
|||
<h1><a class="toc-backref" href="#id2">Credits</a></h1> |
|||
<div class="section" id="authors"> |
|||
<h2><a class="toc-backref" href="#id3">Authors</a></h2> |
|||
<ul class="simple"> |
|||
<li>Houssine BAKKALI</li> |
|||
<li><<a class="reference external" href="mailto:houssine@coopiteasy.be">houssine@coopiteasy.be</a>></li> |
|||
</ul> |
|||
</div> |
|||
<div class="section" id="contributors"> |
|||
<h2><a class="toc-backref" href="#id4">Contributors</a></h2> |
|||
<ul class="simple"> |
|||
<li>Coop IT Easy SCRLfs</li> |
|||
<li>Houssine BAKKALI, <<a class="reference external" href="mailto:houssine@coopiteasy.be">houssine@coopiteasy.be</a>></li> |
|||
</ul> |
|||
</div> |
|||
<div class="section" id="maintainers"> |
|||
<h2><a class="toc-backref" href="#id5">Maintainers</a></h2> |
|||
<p>This module is part of the <a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_dividend">coopiteasy/vertical-cooperative</a> project on GitHub.</p> |
|||
<p>You are welcome to contribute.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</body> |
|||
</html> |
@ -0,0 +1,54 @@ |
|||
========================= |
|||
Easy My Coop Eater/worker |
|||
========================= |
|||
|
|||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
!! This file is generated by oca-gen-addon-readme !! |
|||
!! changes will be overwritten. !! |
|||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
|
|||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png |
|||
:target: https://odoo-community.org/page/development-status |
|||
:alt: Beta |
|||
.. |badge2| image:: https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github |
|||
:target: https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_eater |
|||
:alt: coopiteasy/vertical-cooperative |
|||
|
|||
|badge1| |badge2| |
|||
|
|||
This module allows to manage the activity of the cooperator in the supermarket. |
|||
|
|||
**Table of contents** |
|||
|
|||
.. contents:: |
|||
:local: |
|||
|
|||
Bug Tracker |
|||
=========== |
|||
|
|||
Bugs are tracked on `GitHub Issues <https://github.com/coopiteasy/vertical-cooperative/issues>`_. |
|||
In case of trouble, please check there if your issue has already been reported. |
|||
If you spotted it first, help us smashing it by providing a detailed and welcomed |
|||
`feedback <https://github.com/coopiteasy/vertical-cooperative/issues/new?body=module:%20easy_my_coop_eater%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
|||
|
|||
Do not contact contributors directly about support or help with technical issues. |
|||
|
|||
Credits |
|||
======= |
|||
|
|||
Authors |
|||
~~~~~~~ |
|||
|
|||
* Coop IT Easy SCRLfs |
|||
|
|||
Contributors |
|||
~~~~~~~~~~~~ |
|||
|
|||
* Coop IT Easy SCRLfs |
|||
|
|||
Maintainers |
|||
~~~~~~~~~~~ |
|||
|
|||
This module is part of the `coopiteasy/vertical-cooperative <https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_eater>`_ project on GitHub. |
|||
|
|||
You are welcome to contribute. |
@ -1 +0,0 @@ |
|||
from . import models |
@ -1,35 +0,0 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# Copyright (C) 2013-2017 Open Architects Consulting SPRL. |
|||
# Copyright (C) 2018- Coop IT Easy SCRLfs. |
|||
# |
|||
# This program is free software: you can redistribute it and/or modify |
|||
# it under the terms of the GNU Affero General Public License as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
{ |
|||
"name": "Easy My Coop Eater/worker", |
|||
"version": "12.0.1.0.0", |
|||
"depends": ["easy_my_coop", "partner_age"], |
|||
"author": "Houssine BAKKALI <houssine@coopiteasy.be>", |
|||
"category": "Cooperative management", |
|||
'website': "https://coopiteasy.be", |
|||
"description": """ |
|||
This module allows to manage the activity of the cooperator. |
|||
""", |
|||
'data': [ |
|||
'view/product_view.xml', |
|||
], |
|||
'installable': True, |
|||
} |
@ -1,28 +0,0 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from openerp import api, models |
|||
|
|||
|
|||
class SubscriptionRequest(models.Model): |
|||
_inherit = 'subscription.request' |
|||
|
|||
def get_eater_vals(self, partner, share_product_id): |
|||
vals = {} |
|||
eater = share_product_id.eater |
|||
|
|||
if partner.is_company or partner.age < 18: |
|||
eater = 'eater' |
|||
|
|||
vals['eater'] = eater |
|||
|
|||
return vals |
|||
|
|||
@api.one |
|||
def validate_subscription_request(self): |
|||
|
|||
invoice = super(SubscriptionRequest, self).validate_subscription_request()[0] |
|||
partner = invoice.partner_id |
|||
|
|||
vals = self.get_eater_vals(partner, self.share_product_id) |
|||
partner.write(vals) |
|||
|
|||
return invoice |
@ -1,10 +0,0 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from openerp import fields, models |
|||
|
|||
|
|||
class ProductTemplate(models.Model): |
|||
_inherit = 'product.template' |
|||
|
|||
eater = fields.Selection([('eater', 'Eater'), |
|||
('worker_eater', 'Worker and Eater')], |
|||
string="Eater/Worker") |
@ -0,0 +1 @@ |
|||
* Coop IT Easy SCRLfs |
@ -0,0 +1 @@ |
|||
This module allows to manage the activity of the cooperator in the supermarket. |
@ -0,0 +1,415 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|||
<head> |
|||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|||
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" /> |
|||
<title>Easy My Coop Eater/worker</title> |
|||
<style type="text/css"> |
|||
|
|||
/* |
|||
:Author: David Goodger (goodger@python.org) |
|||
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $ |
|||
:Copyright: This stylesheet has been placed in the public domain. |
|||
|
|||
Default cascading style sheet for the HTML output of Docutils. |
|||
|
|||
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to |
|||
customize this style sheet. |
|||
*/ |
|||
|
|||
/* used to remove borders from tables and images */ |
|||
.borderless, table.borderless td, table.borderless th { |
|||
border: 0 } |
|||
|
|||
table.borderless td, table.borderless th { |
|||
/* Override padding for "table.docutils td" with "! important". |
|||
The right padding separates the table cells. */ |
|||
padding: 0 0.5em 0 0 ! important } |
|||
|
|||
.first { |
|||
/* Override more specific margin styles with "! important". */ |
|||
margin-top: 0 ! important } |
|||
|
|||
.last, .with-subtitle { |
|||
margin-bottom: 0 ! important } |
|||
|
|||
.hidden { |
|||
display: none } |
|||
|
|||
.subscript { |
|||
vertical-align: sub; |
|||
font-size: smaller } |
|||
|
|||
.superscript { |
|||
vertical-align: super; |
|||
font-size: smaller } |
|||
|
|||
a.toc-backref { |
|||
text-decoration: none ; |
|||
color: black } |
|||
|
|||
blockquote.epigraph { |
|||
margin: 2em 5em ; } |
|||
|
|||
dl.docutils dd { |
|||
margin-bottom: 0.5em } |
|||
|
|||
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] { |
|||
overflow: hidden; |
|||
} |
|||
|
|||
/* Uncomment (and remove this text!) to get bold-faced definition list terms |
|||
dl.docutils dt { |
|||
font-weight: bold } |
|||
*/ |
|||
|
|||
div.abstract { |
|||
margin: 2em 5em } |
|||
|
|||
div.abstract p.topic-title { |
|||
font-weight: bold ; |
|||
text-align: center } |
|||
|
|||
div.admonition, div.attention, div.caution, div.danger, div.error, |
|||
div.hint, div.important, div.note, div.tip, div.warning { |
|||
margin: 2em ; |
|||
border: medium outset ; |
|||
padding: 1em } |
|||
|
|||
div.admonition p.admonition-title, div.hint p.admonition-title, |
|||
div.important p.admonition-title, div.note p.admonition-title, |
|||
div.tip p.admonition-title { |
|||
font-weight: bold ; |
|||
font-family: sans-serif } |
|||
|
|||
div.attention p.admonition-title, div.caution p.admonition-title, |
|||
div.danger p.admonition-title, div.error p.admonition-title, |
|||
div.warning p.admonition-title, .code .error { |
|||
color: red ; |
|||
font-weight: bold ; |
|||
font-family: sans-serif } |
|||
|
|||
/* Uncomment (and remove this text!) to get reduced vertical space in |
|||
compound paragraphs. |
|||
div.compound .compound-first, div.compound .compound-middle { |
|||
margin-bottom: 0.5em } |
|||
|
|||
div.compound .compound-last, div.compound .compound-middle { |
|||
margin-top: 0.5em } |
|||
*/ |
|||
|
|||
div.dedication { |
|||
margin: 2em 5em ; |
|||
text-align: center ; |
|||
font-style: italic } |
|||
|
|||
div.dedication p.topic-title { |
|||
font-weight: bold ; |
|||
font-style: normal } |
|||
|
|||
div.figure { |
|||
margin-left: 2em ; |
|||
margin-right: 2em } |
|||
|
|||
div.footer, div.header { |
|||
clear: both; |
|||
font-size: smaller } |
|||
|
|||
div.line-block { |
|||
display: block ; |
|||
margin-top: 1em ; |
|||
margin-bottom: 1em } |
|||
|
|||
div.line-block div.line-block { |
|||
margin-top: 0 ; |
|||
margin-bottom: 0 ; |
|||
margin-left: 1.5em } |
|||
|
|||
div.sidebar { |
|||
margin: 0 0 0.5em 1em ; |
|||
border: medium outset ; |
|||
padding: 1em ; |
|||
background-color: #ffffee ; |
|||
width: 40% ; |
|||
float: right ; |
|||
clear: right } |
|||
|
|||
div.sidebar p.rubric { |
|||
font-family: sans-serif ; |
|||
font-size: medium } |
|||
|
|||
div.system-messages { |
|||
margin: 5em } |
|||
|
|||
div.system-messages h1 { |
|||
color: red } |
|||
|
|||
div.system-message { |
|||
border: medium outset ; |
|||
padding: 1em } |
|||
|
|||
div.system-message p.system-message-title { |
|||
color: red ; |
|||
font-weight: bold } |
|||
|
|||
div.topic { |
|||
margin: 2em } |
|||
|
|||
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, |
|||
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { |
|||
margin-top: 0.4em } |
|||
|
|||
h1.title { |
|||
text-align: center } |
|||
|
|||
h2.subtitle { |
|||
text-align: center } |
|||
|
|||
hr.docutils { |
|||
width: 75% } |
|||
|
|||
img.align-left, .figure.align-left, object.align-left, table.align-left { |
|||
clear: left ; |
|||
float: left ; |
|||
margin-right: 1em } |
|||
|
|||
img.align-right, .figure.align-right, object.align-right, table.align-right { |
|||
clear: right ; |
|||
float: right ; |
|||
margin-left: 1em } |
|||
|
|||
img.align-center, .figure.align-center, object.align-center { |
|||
display: block; |
|||
margin-left: auto; |
|||
margin-right: auto; |
|||
} |
|||
|
|||
table.align-center { |
|||
margin-left: auto; |
|||
margin-right: auto; |
|||
} |
|||
|
|||
.align-left { |
|||
text-align: left } |
|||
|
|||
.align-center { |
|||
clear: both ; |
|||
text-align: center } |
|||
|
|||
.align-right { |
|||
text-align: right } |
|||
|
|||
/* reset inner alignment in figures */ |
|||
div.align-right { |
|||
text-align: inherit } |
|||
|
|||
/* div.align-center * { */ |
|||
/* text-align: left } */ |
|||
|
|||
.align-top { |
|||
vertical-align: top } |
|||
|
|||
.align-middle { |
|||
vertical-align: middle } |
|||
|
|||
.align-bottom { |
|||
vertical-align: bottom } |
|||
|
|||
ol.simple, ul.simple { |
|||
margin-bottom: 1em } |
|||
|
|||
ol.arabic { |
|||
list-style: decimal } |
|||
|
|||
ol.loweralpha { |
|||
list-style: lower-alpha } |
|||
|
|||
ol.upperalpha { |
|||
list-style: upper-alpha } |
|||
|
|||
ol.lowerroman { |
|||
list-style: lower-roman } |
|||
|
|||
ol.upperroman { |
|||
list-style: upper-roman } |
|||
|
|||
p.attribution { |
|||
text-align: right ; |
|||
margin-left: 50% } |
|||
|
|||
p.caption { |
|||
font-style: italic } |
|||
|
|||
p.credits { |
|||
font-style: italic ; |
|||
font-size: smaller } |
|||
|
|||
p.label { |
|||
white-space: nowrap } |
|||
|
|||
p.rubric { |
|||
font-weight: bold ; |
|||
font-size: larger ; |
|||
color: maroon ; |
|||
text-align: center } |
|||
|
|||
p.sidebar-title { |
|||
font-family: sans-serif ; |
|||
font-weight: bold ; |
|||
font-size: larger } |
|||
|
|||
p.sidebar-subtitle { |
|||
font-family: sans-serif ; |
|||
font-weight: bold } |
|||
|
|||
p.topic-title { |
|||
font-weight: bold } |
|||
|
|||
pre.address { |
|||
margin-bottom: 0 ; |
|||
margin-top: 0 ; |
|||
font: inherit } |
|||
|
|||
pre.literal-block, pre.doctest-block, pre.math, pre.code { |
|||
margin-left: 2em ; |
|||
margin-right: 2em } |
|||
|
|||
pre.code .ln { color: grey; } /* line numbers */ |
|||
pre.code, code { background-color: #eeeeee } |
|||
pre.code .comment, code .comment { color: #5C6576 } |
|||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } |
|||
pre.code .literal.string, code .literal.string { color: #0C5404 } |
|||
pre.code .name.builtin, code .name.builtin { color: #352B84 } |
|||
pre.code .deleted, code .deleted { background-color: #DEB0A1} |
|||
pre.code .inserted, code .inserted { background-color: #A3D289} |
|||
|
|||
span.classifier { |
|||
font-family: sans-serif ; |
|||
font-style: oblique } |
|||
|
|||
span.classifier-delimiter { |
|||
font-family: sans-serif ; |
|||
font-weight: bold } |
|||
|
|||
span.interpreted { |
|||
font-family: sans-serif } |
|||
|
|||
span.option { |
|||
white-space: nowrap } |
|||
|
|||
span.pre { |
|||
white-space: pre } |
|||
|
|||
span.problematic { |
|||
color: red } |
|||
|
|||
span.section-subtitle { |
|||
/* font-size relative to parent (h1..h6 element) */ |
|||
font-size: 80% } |
|||
|
|||
table.citation { |
|||
border-left: solid 1px gray; |
|||
margin-left: 1px } |
|||
|
|||
table.docinfo { |
|||
margin: 2em 4em } |
|||
|
|||
table.docutils { |
|||
margin-top: 0.5em ; |
|||
margin-bottom: 0.5em } |
|||
|
|||
table.footnote { |
|||
border-left: solid 1px black; |
|||
margin-left: 1px } |
|||
|
|||
table.docutils td, table.docutils th, |
|||
table.docinfo td, table.docinfo th { |
|||
padding-left: 0.5em ; |
|||
padding-right: 0.5em ; |
|||
vertical-align: top } |
|||
|
|||
table.docutils th.field-name, table.docinfo th.docinfo-name { |
|||
font-weight: bold ; |
|||
text-align: left ; |
|||
white-space: nowrap ; |
|||
padding-left: 0 } |
|||
|
|||
/* "booktabs" style (no vertical lines) */ |
|||
table.docutils.booktabs { |
|||
border: 0px; |
|||
border-top: 2px solid; |
|||
border-bottom: 2px solid; |
|||
border-collapse: collapse; |
|||
} |
|||
table.docutils.booktabs * { |
|||
border: 0px; |
|||
} |
|||
table.docutils.booktabs th { |
|||
border-bottom: thin solid; |
|||
text-align: left; |
|||
} |
|||
|
|||
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, |
|||
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { |
|||
font-size: 100% } |
|||
|
|||
ul.auto-toc { |
|||
list-style-type: none } |
|||
|
|||
</style> |
|||
</head> |
|||
<body> |
|||
<div class="document" id="easy-my-coop-eater-worker"> |
|||
<h1 class="title">Easy My Coop Eater/worker</h1> |
|||
|
|||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
!! This file is generated by oca-gen-addon-readme !! |
|||
!! changes will be overwritten. !! |
|||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> |
|||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_eater"><img alt="coopiteasy/vertical-cooperative" src="https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github" /></a></p> |
|||
<blockquote> |
|||
This module allows to manage the activity of the cooperator in the supermarket.</blockquote> |
|||
<p><strong>Table of contents</strong></p> |
|||
<div class="contents local topic" id="contents"> |
|||
<ul class="simple"> |
|||
<li><a class="reference internal" href="#bug-tracker" id="id1">Bug Tracker</a></li> |
|||
<li><a class="reference internal" href="#credits" id="id2">Credits</a><ul> |
|||
<li><a class="reference internal" href="#authors" id="id3">Authors</a></li> |
|||
<li><a class="reference internal" href="#contributors" id="id4">Contributors</a></li> |
|||
<li><a class="reference internal" href="#maintainers" id="id5">Maintainers</a></li> |
|||
</ul> |
|||
</li> |
|||
</ul> |
|||
</div> |
|||
<div class="section" id="bug-tracker"> |
|||
<h1><a class="toc-backref" href="#id1">Bug Tracker</a></h1> |
|||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/issues">GitHub Issues</a>. |
|||
In case of trouble, please check there if your issue has already been reported. |
|||
If you spotted it first, help us smashing it by providing a detailed and welcomed |
|||
<a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/issues/new?body=module:%20easy_my_coop_eater%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> |
|||
<p>Do not contact contributors directly about support or help with technical issues.</p> |
|||
</div> |
|||
<div class="section" id="credits"> |
|||
<h1><a class="toc-backref" href="#id2">Credits</a></h1> |
|||
<div class="section" id="authors"> |
|||
<h2><a class="toc-backref" href="#id3">Authors</a></h2> |
|||
<ul class="simple"> |
|||
<li>Coop IT Easy SCRLfs</li> |
|||
</ul> |
|||
</div> |
|||
<div class="section" id="contributors"> |
|||
<h2><a class="toc-backref" href="#id4">Contributors</a></h2> |
|||
<ul class="simple"> |
|||
<li>Coop IT Easy SCRLfs</li> |
|||
</ul> |
|||
</div> |
|||
<div class="section" id="maintainers"> |
|||
<h2><a class="toc-backref" href="#id5">Maintainers</a></h2> |
|||
<p>This module is part of the <a class="reference external" href="https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_eater">coopiteasy/vertical-cooperative</a> project on GitHub.</p> |
|||
<p>You are welcome to contribute.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</body> |
|||
</html> |
@ -1,13 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<record id="product_template_form_view_eater" model="ir.ui.view"> |
|||
<field name="name">product.template.share.form</field> |
|||
<field name="model">product.template</field> |
|||
<field name="inherit_id" ref="easy_my_coop.product_template_form_view"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='minimum_quantity']" position="after"> |
|||
<field name="eater" attrs="{'invisible':[('is_share','=',False)]}"/> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -0,0 +1,60 @@ |
|||
======================== |
|||
Easy My Coop Export XLSX |
|||
======================== |
|||
|
|||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
!! This file is generated by oca-gen-addon-readme !! |
|||
!! changes will be overwritten. !! |
|||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|||
|
|||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png |
|||
:target: https://odoo-community.org/page/development-status |
|||
:alt: Beta |
|||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png |
|||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html |
|||
:alt: License: AGPL-3 |
|||
.. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github |
|||
:target: https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_export_xlsx |
|||
:alt: coopiteasy/vertical-cooperative |
|||
|
|||
|badge1| |badge2| |badge3| |
|||
|
|||
Generate a xlsx file with information on current state of subscription |
|||
request, cooperators and capital release request. |
|||
|
|||
**Table of contents** |
|||
|
|||
.. contents:: |
|||
:local: |
|||
|
|||
Bug Tracker |
|||
=========== |
|||
|
|||
Bugs are tracked on `GitHub Issues <https://github.com/coopiteasy/vertical-cooperative/issues>`_. |
|||
In case of trouble, please check there if your issue has already been reported. |
|||
If you spotted it first, help us smashing it by providing a detailed and welcomed |
|||
`feedback <https://github.com/coopiteasy/vertical-cooperative/issues/new?body=module:%20easy_my_coop_export_xlsx%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
|||
|
|||
Do not contact contributors directly about support or help with technical issues. |
|||
|
|||
Credits |
|||
======= |
|||
|
|||
Authors |
|||
~~~~~~~ |
|||
|
|||
* Coop IT Easy SCRLfs |
|||
|
|||
Contributors |
|||
~~~~~~~~~~~~ |
|||
|
|||
* Coop IT Easy SCRLfs |
|||
* Houssine BAKKALI, <houssine@coopiteasy.be> |
|||
|
|||
|
|||
Maintainers |
|||
~~~~~~~~~~~ |
|||
|
|||
This module is part of the `coopiteasy/vertical-cooperative <https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_export_xlsx>`_ project on GitHub. |
|||
|
|||
You are welcome to contribute. |
@ -1,2 +1 @@ |
|||
# -*- coding: utf8 -*- |
|||
from . import wizard |
Some files were not shown because too many files changed in this diff
Write
Preview
Loading…
Cancel
Save
Reference in new issue