mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
@@ -1,8 +1,7 @@
|
|||||||
# Do NOT update manually; changes here will be overwritten by Copier
|
# Do NOT update manually; changes here will be overwritten by Copier
|
||||||
_commit: v1.14.2
|
_commit: v1.17.2
|
||||||
_src_path: gh:oca/oca-addons-repo-template
|
_src_path: gh:oca/oca-addons-repo-template
|
||||||
ci: GitHub
|
ci: GitHub
|
||||||
dependency_installation_mode: PIP
|
|
||||||
generate_requirements_txt: true
|
generate_requirements_txt: true
|
||||||
github_check_license: true
|
github_check_license: true
|
||||||
github_ci_extra_env: {}
|
github_ci_extra_env: {}
|
||||||
@@ -11,6 +10,7 @@ github_enable_makepot: true
|
|||||||
github_enable_stale_action: true
|
github_enable_stale_action: true
|
||||||
github_enforce_dev_status_compatibility: true
|
github_enforce_dev_status_compatibility: true
|
||||||
include_wkhtmltopdf: false
|
include_wkhtmltopdf: false
|
||||||
|
odoo_test_flavor: Both
|
||||||
odoo_version: 14.0
|
odoo_version: 14.0
|
||||||
org_name: Odoo Community Association (OCA)
|
org_name: Odoo Community Association (OCA)
|
||||||
org_slug: OCA
|
org_slug: OCA
|
||||||
@@ -19,6 +19,4 @@ repo_description: Odoo modules related to Manufacturing
|
|||||||
repo_name: Odoo Manufacturing Modules
|
repo_name: Odoo Manufacturing Modules
|
||||||
repo_slug: manufacture
|
repo_slug: manufacture
|
||||||
repo_website: https://github.com/OCA/manufacture
|
repo_website: https://github.com/OCA/manufacture
|
||||||
travis_apt_packages: []
|
|
||||||
travis_apt_sources: []
|
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ globals:
|
|||||||
odoo: readonly
|
odoo: readonly
|
||||||
openerp: readonly
|
openerp: readonly
|
||||||
owl: readonly
|
owl: readonly
|
||||||
|
luxon: readonly
|
||||||
|
|
||||||
# Styling is handled by Prettier, so we only need to enable AST rules;
|
# Styling is handled by Prettier, so we only need to enable AST rules;
|
||||||
# see https://github.com/OCA/maintainer-quality-tools/pull/618#issuecomment-558576890
|
# see https://github.com/OCA/maintainer-quality-tools/pull/618#issuecomment-558576890
|
||||||
|
|||||||
13
.github/workflows/pre-commit.yml
vendored
13
.github/workflows/pre-commit.yml
vendored
@@ -13,8 +13,10 @@ jobs:
|
|||||||
pre-commit:
|
pre-commit:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: "3.11"
|
||||||
- name: Get python version
|
- name: Get python version
|
||||||
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
|
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
@@ -25,6 +27,15 @@ jobs:
|
|||||||
run: pip install pre-commit
|
run: pip install pre-commit
|
||||||
- name: Run pre-commit
|
- name: Run pre-commit
|
||||||
run: pre-commit run --all-files --show-diff-on-failure --color=always
|
run: pre-commit run --all-files --show-diff-on-failure --color=always
|
||||||
|
env:
|
||||||
|
# Consider valid a PR that changes README fragments but doesn't
|
||||||
|
# change the README.rst file itself. It's not really a problem
|
||||||
|
# because the bot will update it anyway after merge. This way, we
|
||||||
|
# lower the barrier for functional contributors that want to fix the
|
||||||
|
# readme fragments, while still letting developers get README
|
||||||
|
# auto-generated (which also helps functionals when using runboat).
|
||||||
|
# DOCS https://pre-commit.com/#temporarily-disabling-hooks
|
||||||
|
SKIP: oca-gen-addon-readme
|
||||||
- name: Check that all files generated by pre-commit are in git
|
- name: Check that all files generated by pre-commit are in git
|
||||||
run: |
|
run: |
|
||||||
newfiles="$(git ls-files --others --exclude-from=.gitignore)"
|
newfiles="$(git ls-files --others --exclude-from=.gitignore)"
|
||||||
|
|||||||
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Detect unreleased dependencies
|
name: Detect unreleased dependencies
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- run: |
|
- run: |
|
||||||
for reqfile in requirements.txt test-requirements.txt ; do
|
for reqfile in requirements.txt test-requirements.txt ; do
|
||||||
if [ -f ${reqfile} ] ; then
|
if [ -f ${reqfile} ] ; then
|
||||||
@@ -36,10 +36,10 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- container: ghcr.io/oca/oca-ci/py3.6-odoo14.0:latest
|
- container: ghcr.io/oca/oca-ci/py3.6-odoo14.0:latest
|
||||||
makepot: "true"
|
|
||||||
name: test with Odoo
|
name: test with Odoo
|
||||||
- container: ghcr.io/oca/oca-ci/py3.6-ocb14.0:latest
|
- container: ghcr.io/oca/oca-ci/py3.6-ocb14.0:latest
|
||||||
name: test with OCB
|
name: test with OCB
|
||||||
|
makepot: "true"
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:9.6
|
image: postgres:9.6
|
||||||
@@ -50,7 +50,7 @@ jobs:
|
|||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- name: Install addons and dependencies
|
- name: Install addons and dependencies
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ exclude: |
|
|||||||
/static/(src/)?lib/|
|
/static/(src/)?lib/|
|
||||||
# Repos using Sphinx to generate docs don't need prettying
|
# Repos using Sphinx to generate docs don't need prettying
|
||||||
^docs/_templates/.*\.html$|
|
^docs/_templates/.*\.html$|
|
||||||
|
# Don't bother non-technical authors with formatting issues in docs
|
||||||
|
readme/.*\.(rst|md)$|
|
||||||
# You don't usually want a bot to modify your legal texts
|
# You don't usually want a bot to modify your legal texts
|
||||||
(LICENSE.*|COPYING.*)
|
(LICENSE.*|COPYING.*)
|
||||||
default_language_version:
|
default_language_version:
|
||||||
@@ -33,12 +35,24 @@ repos:
|
|||||||
language: fail
|
language: fail
|
||||||
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
|
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
|
||||||
- repo: https://github.com/oca/maintainer-tools
|
- repo: https://github.com/oca/maintainer-tools
|
||||||
rev: ab1d7f6
|
rev: 969238e47c07d0c40573acff81d170f63245d738
|
||||||
hooks:
|
hooks:
|
||||||
# update the NOT INSTALLABLE ADDONS section above
|
# update the NOT INSTALLABLE ADDONS section above
|
||||||
- id: oca-update-pre-commit-excluded-addons
|
- id: oca-update-pre-commit-excluded-addons
|
||||||
- id: oca-fix-manifest-website
|
- id: oca-fix-manifest-website
|
||||||
args: ["https://github.com/OCA/manufacture"]
|
args: ["https://github.com/OCA/manufacture"]
|
||||||
|
- id: oca-gen-addon-readme
|
||||||
|
args:
|
||||||
|
- --addons-dir=.
|
||||||
|
- --branch=14.0
|
||||||
|
- --org-name=OCA
|
||||||
|
- --repo-name=manufacture
|
||||||
|
- --if-source-changed
|
||||||
|
- repo: https://github.com/OCA/odoo-pre-commit-hooks
|
||||||
|
rev: v0.0.25
|
||||||
|
hooks:
|
||||||
|
- id: oca-checks-odoo-module
|
||||||
|
- id: oca-checks-po
|
||||||
- repo: https://github.com/myint/autoflake
|
- repo: https://github.com/myint/autoflake
|
||||||
rev: v1.4
|
rev: v1.4
|
||||||
hooks:
|
hooks:
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<field name="name">mrp.bom.line.tree.view</field>
|
<field name="name">mrp.bom.line.tree.view</field>
|
||||||
<field name="model">mrp.bom.line</field>
|
<field name="model">mrp.bom.line</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="Components" create="1" edit="1" delete="1">
|
<tree create="1" edit="1" delete="1">
|
||||||
<field name="bom_id" />
|
<field name="bom_id" />
|
||||||
<field name="product_id" />
|
<field name="product_id" />
|
||||||
<field name="product_qty" />
|
<field name="product_qty" />
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<field name="model">mrp.area</field>
|
<field name="model">mrp.area</field>
|
||||||
<field name="type">tree</field>
|
<field name="type">tree</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="MRP Area">
|
<tree>
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="warehouse_id" />
|
<field name="warehouse_id" />
|
||||||
<field name="company_id" groups="base.group_multi_company" />
|
<field name="company_id" groups="base.group_multi_company" />
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
<field name="model">mrp.inventory</field>
|
<field name="model">mrp.inventory</field>
|
||||||
<field name="type">tree</field>
|
<field name="type">tree</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="MRP Inventory" create="false">
|
<tree create="false">
|
||||||
<field name="mrp_area_id" />
|
<field name="mrp_area_id" />
|
||||||
<field name="company_id" groups="base.group_multi_company" />
|
<field name="company_id" groups="base.group_multi_company" />
|
||||||
<field name="product_id" />
|
<field name="product_id" />
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<field name="name">mrp.move.tree</field>
|
<field name="name">mrp.move.tree</field>
|
||||||
<field name="model">mrp.move</field>
|
<field name="model">mrp.move</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="MRP Moves">
|
<tree>
|
||||||
<field name="mrp_date" />
|
<field name="mrp_date" />
|
||||||
<field name="current_date" />
|
<field name="current_date" />
|
||||||
<field name="mrp_origin" />
|
<field name="mrp_origin" />
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<field name="model">product.mrp.area</field>
|
<field name="model">product.mrp.area</field>
|
||||||
<field name="type">tree</field>
|
<field name="type">tree</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="Product MRP Area parameters">
|
<tree>
|
||||||
<field name="mrp_area_id" />
|
<field name="mrp_area_id" />
|
||||||
<field name="company_id" groups="base.group_multi_company" />
|
<field name="company_id" groups="base.group_multi_company" />
|
||||||
<field name="product_tmpl_id" />
|
<field name="product_tmpl_id" />
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<group name="items" string="Items">
|
<group name="items" string="Items">
|
||||||
<field name="item_ids" nolabel="1">
|
<field name="item_ids" nolabel="1">
|
||||||
<tree string="Items" nocreate="1" editable="top">
|
<tree nocreate="1" editable="top">
|
||||||
<field name="mrp_inventory_id" invisible="True" />
|
<field name="mrp_inventory_id" invisible="True" />
|
||||||
<field
|
<field
|
||||||
name="warehouse_id"
|
name="warehouse_id"
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<odoo>
|
<odoo noupdate="1">
|
||||||
<data noupdate="1">
|
|
||||||
|
|
||||||
<record id="sequence_mrp_route" model="ir.sequence">
|
<record id="sequence_mrp_route" model="ir.sequence">
|
||||||
<field name="name">Routing</field>
|
<field name="name">Routing</field>
|
||||||
@@ -12,6 +11,4 @@
|
|||||||
<field name="company_id" eval="False" />
|
<field name="company_id" eval="False" />
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
|
||||||
|
|
||||||
<record id="mrp_routing_workcenter_0" model="mrp.routing.workcenter.template">
|
<record id="mrp_routing_workcenter_0" model="mrp.routing.workcenter.template">
|
||||||
<field name="workcenter_id" ref="mrp.mrp_workcenter_3" />
|
<field name="workcenter_id" ref="mrp.mrp_workcenter_3" />
|
||||||
@@ -112,5 +111,4 @@
|
|||||||
/>
|
/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
|
||||||
|
|
||||||
<record id="mrp_bom_form_view" model="ir.ui.view">
|
<record id="mrp_bom_form_view" model="ir.ui.view">
|
||||||
<field name="name">mrp.bom.form.view</field>
|
<field name="name">mrp.bom.form.view</field>
|
||||||
@@ -14,5 +13,4 @@
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
|
||||||
|
|
||||||
<record id="mrp_routing_form_view" model="ir.ui.view">
|
<record id="mrp_routing_form_view" model="ir.ui.view">
|
||||||
<field name="name">mrp.routing.form</field>
|
<field name="name">mrp.routing.form</field>
|
||||||
@@ -54,7 +53,7 @@
|
|||||||
<field name="name">mrp.routing.tree</field>
|
<field name="name">mrp.routing.tree</field>
|
||||||
<field name="model">mrp.routing</field>
|
<field name="model">mrp.routing</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="Routing">
|
<tree>
|
||||||
<field name="code" />
|
<field name="code" />
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="active" invisible="1" />
|
<field name="active" invisible="1" />
|
||||||
@@ -135,5 +134,4 @@
|
|||||||
sequence="50"
|
sequence="50"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
|
||||||
|
|
||||||
<record id="mrp_routing_workcenter_template_tree_view" model="ir.ui.view">
|
<record id="mrp_routing_workcenter_template_tree_view" model="ir.ui.view">
|
||||||
<field name="name">mrp.routing.workcenter.template.tree</field>
|
<field name="name">mrp.routing.workcenter.template.tree</field>
|
||||||
<field name="model">mrp.routing.workcenter.template</field>
|
<field name="model">mrp.routing.workcenter.template</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="Template Routing Work Centers">
|
<tree>
|
||||||
<field name="sequence" widget="handle" />
|
<field name="sequence" widget="handle" />
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="workcenter_id" />
|
<field name="workcenter_id" />
|
||||||
@@ -36,9 +35,7 @@
|
|||||||
for="time_mode_batch"
|
for="time_mode_batch"
|
||||||
attrs="{'invisible': [('time_mode', '=', 'manual')]}"
|
attrs="{'invisible': [('time_mode', '=', 'manual')]}"
|
||||||
/>
|
/>
|
||||||
<div
|
<div attrs="{'invisible': [('time_mode', '=', 'manual')]}">
|
||||||
attrs="{'invisible': [('time_mode', '=', 'manual')]}"
|
|
||||||
>
|
|
||||||
last
|
last
|
||||||
<field name="time_mode_batch" class="oe_inline" />
|
<field name="time_mode_batch" class="oe_inline" />
|
||||||
work orders
|
work orders
|
||||||
@@ -48,9 +45,7 @@
|
|||||||
attrs="{'invisible': [('time_mode', '=', 'auto')]}"
|
attrs="{'invisible': [('time_mode', '=', 'auto')]}"
|
||||||
string="Default Duration"
|
string="Default Duration"
|
||||||
/>
|
/>
|
||||||
<div
|
<div attrs="{'invisible': [('time_mode', '=', 'auto')]}">
|
||||||
attrs="{'invisible': [('time_mode', '=', 'auto')]}"
|
|
||||||
>
|
|
||||||
<field
|
<field
|
||||||
name="time_cycle_manual"
|
name="time_cycle_manual"
|
||||||
widget="float_time"
|
widget="float_time"
|
||||||
@@ -138,6 +133,4 @@
|
|||||||
sequence="100"
|
sequence="100"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
|
||||||
|
|
||||||
<record id="mrp_routing_workcenter_tree_view" model="ir.ui.view">
|
<record id="mrp_routing_workcenter_tree_view" model="ir.ui.view">
|
||||||
<field name="name">mrp.routing.workcenter.tree</field>
|
<field name="name">mrp.routing.workcenter.tree</field>
|
||||||
@@ -39,5 +38,4 @@
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<odoo>
|
<odoo noupdate="1">
|
||||||
<data noupdate="1">
|
|
||||||
<record id="route_subcontracting_dropshipping" model='stock.location.route'>
|
<record id="route_subcontracting_dropshipping" model='stock.location.route'>
|
||||||
<field name="name">Dropship Subcontractor on Order</field>
|
<field name="name">Dropship Subcontractor on Order</field>
|
||||||
<field name="sequence">5</field>
|
<field name="sequence">5</field>
|
||||||
@@ -20,5 +19,4 @@
|
|||||||
/>
|
/>
|
||||||
<value eval="{'subcontracting_dropshipping_to_resupply': True}" />
|
<value eval="{'subcontracting_dropshipping_to_resupply': True}" />
|
||||||
</function>
|
</function>
|
||||||
</data>
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
<field name="name">mrp.tag.view.tree</field>
|
<field name="name">mrp.tag.view.tree</field>
|
||||||
<field name="model">mrp.tag</field>
|
<field name="model">mrp.tag</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="Tags" editable="bottom">
|
<tree editable="bottom">
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="color" widget="color_picker" />
|
<field name="color" widget="color_picker" />
|
||||||
</tree>
|
</tree>
|
||||||
|
|||||||
@@ -6,19 +6,14 @@
|
|||||||
Copyright 2017 Simone Rubino - Agile Business Group
|
Copyright 2017 Simone Rubino - Agile Business Group
|
||||||
Copyright 2021 Tecnativa - Carlos Roca
|
Copyright 2021 Tecnativa - Carlos Roca
|
||||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||||
<odoo>
|
<odoo noupdate="1">
|
||||||
<data noupdate="1">
|
|
||||||
<record id="qc_test_template_category_generic" model="qc.test.category">
|
<record id="qc_test_template_category_generic" model="qc.test.category">
|
||||||
<field name="name">Generic</field>
|
<field name="name">Generic</field>
|
||||||
</record>
|
</record>
|
||||||
<record id="qc_test_template_category_referenced" model="qc.test.category">
|
<record id="qc_test_template_category_referenced" model="qc.test.category">
|
||||||
<field name="name">Referenced</field>
|
<field name="name">Referenced</field>
|
||||||
</record>
|
</record>
|
||||||
<record
|
<record forcecreate="True" id="decimal_quality_control" model="decimal.precision">
|
||||||
forcecreate="True"
|
|
||||||
id="decimal_quality_control"
|
|
||||||
model="decimal.precision"
|
|
||||||
>
|
|
||||||
<field name="name">Quality Control</field>
|
<field name="name">Quality Control</field>
|
||||||
<field name="digits">5</field>
|
<field name="digits">5</field>
|
||||||
</record>
|
</record>
|
||||||
@@ -28,5 +23,4 @@
|
|||||||
<field name="prefix">QC-</field>
|
<field name="prefix">QC-</field>
|
||||||
<field name="padding">6</field>
|
<field name="padding">6</field>
|
||||||
</record>
|
</record>
|
||||||
</data>
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<odoo>
|
<odoo noupdate="1">
|
||||||
<data noupdate="1">
|
|
||||||
<record model="qc.test" id="qc_test_1">
|
<record model="qc.test" id="qc_test_1">
|
||||||
<field name="name">Generic Test (demo)</field>
|
<field name="name">Generic Test (demo)</field>
|
||||||
<field name="type">generic</field>
|
<field name="type">generic</field>
|
||||||
@@ -30,5 +29,4 @@
|
|||||||
<field name="max_value" eval="10.0" />
|
<field name="max_value" eval="10.0" />
|
||||||
<field name="uom_id" ref="uom.product_uom_unit" />
|
<field name="uom_id" ref="uom.product_uom_unit" />
|
||||||
</record>
|
</record>
|
||||||
</data>
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -336,17 +336,11 @@ msgstr ""
|
|||||||
|
|
||||||
#. module: quality_control_oca
|
#. module: quality_control_oca
|
||||||
#: model:ir.model.fields,help:quality_control_oca.field_qc_inspection__message_has_error
|
#: model:ir.model.fields,help:quality_control_oca.field_qc_inspection__message_has_error
|
||||||
#: model:ir.model.fields,help:quality_control_oca.field_qc_inspection__message_has_sms_error
|
|
||||||
#: model:ir.model.fields,help:quality_control_oca.field_qc_test__message_has_error
|
#: model:ir.model.fields,help:quality_control_oca.field_qc_test__message_has_error
|
||||||
#: model:ir.model.fields,help:quality_control_oca.field_qc_test__message_has_sms_error
|
|
||||||
#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_line__message_has_error
|
#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_line__message_has_error
|
||||||
#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_line__message_has_sms_error
|
|
||||||
#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_product_category_line__message_has_error
|
#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_product_category_line__message_has_error
|
||||||
#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_product_category_line__message_has_sms_error
|
|
||||||
#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_product_line__message_has_error
|
#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_product_line__message_has_error
|
||||||
#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_product_line__message_has_sms_error
|
|
||||||
#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_product_template_line__message_has_error
|
#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_product_template_line__message_has_error
|
||||||
#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_product_template_line__message_has_sms_error
|
|
||||||
msgid "If checked, some messages have a delivery error."
|
msgid "If checked, some messages have a delivery error."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -847,16 +841,6 @@ msgstr ""
|
|||||||
msgid "Responsible User"
|
msgid "Responsible User"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: quality_control_oca
|
|
||||||
#: model:ir.model.fields,field_description:quality_control_oca.field_qc_inspection__message_has_sms_error
|
|
||||||
#: model:ir.model.fields,field_description:quality_control_oca.field_qc_test__message_has_sms_error
|
|
||||||
#: model:ir.model.fields,field_description:quality_control_oca.field_qc_trigger_line__message_has_sms_error
|
|
||||||
#: model:ir.model.fields,field_description:quality_control_oca.field_qc_trigger_product_category_line__message_has_sms_error
|
|
||||||
#: model:ir.model.fields,field_description:quality_control_oca.field_qc_trigger_product_line__message_has_sms_error
|
|
||||||
#: model:ir.model.fields,field_description:quality_control_oca.field_qc_trigger_product_template_line__message_has_sms_error
|
|
||||||
msgid "SMS Delivery error"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: quality_control_oca
|
#. module: quality_control_oca
|
||||||
#: model_terms:ir.ui.view,arch_db:quality_control_oca.qc_inspection_search_view
|
#: model_terms:ir.ui.view,arch_db:quality_control_oca.qc_inspection_search_view
|
||||||
msgid "Search inspection"
|
msgid "Search inspection"
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<group name="first" position="after">
|
<group name="first" position="after">
|
||||||
<group name="qc" string="Quality control">
|
<group name="qc" string="Quality control">
|
||||||
<field name="qc_triggers" nolabel="1">
|
<field name="qc_triggers" nolabel="1">
|
||||||
<tree string="Quality control triggers" editable="bottom">
|
<tree editable="bottom">
|
||||||
<field
|
<field
|
||||||
name="trigger"
|
name="trigger"
|
||||||
options="{'no_create': True, 'no_edit': True, 'no_open': True}"
|
options="{'no_create': True, 'no_edit': True, 'no_open': True}"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<page name="inventory" position="inside">
|
<page name="inventory" position="inside">
|
||||||
<group name="qc" string="Quality control">
|
<group name="qc" string="Quality control">
|
||||||
<field name="qc_triggers" nolabel="1">
|
<field name="qc_triggers" nolabel="1">
|
||||||
<tree string="Quality control triggers" editable="bottom">
|
<tree editable="bottom">
|
||||||
<field
|
<field
|
||||||
name="trigger"
|
name="trigger"
|
||||||
options="{'no_create': True, 'no_edit': True, 'no_open': True}"
|
options="{'no_create': True, 'no_edit': True, 'no_open': True}"
|
||||||
|
|||||||
@@ -86,12 +86,7 @@
|
|||||||
<notebook>
|
<notebook>
|
||||||
<page string="Questions">
|
<page string="Questions">
|
||||||
<field name="inspection_lines" nolabel="1">
|
<field name="inspection_lines" nolabel="1">
|
||||||
<tree
|
<tree editable="top" delete="false" create="false">
|
||||||
string="Inspection lines"
|
|
||||||
editable="top"
|
|
||||||
delete="false"
|
|
||||||
create="false"
|
|
||||||
>
|
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="question_type" />
|
<field name="question_type" />
|
||||||
<field name="possible_ql_values" invisible="1" />
|
<field name="possible_ql_values" invisible="1" />
|
||||||
@@ -141,7 +136,7 @@
|
|||||||
<field name="name">qc.inspection.tree</field>
|
<field name="name">qc.inspection.tree</field>
|
||||||
<field name="model">qc.inspection</field>
|
<field name="model">qc.inspection</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="Inspections">
|
<tree>
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="user" />
|
<field name="user" />
|
||||||
<field name="test" />
|
<field name="test" />
|
||||||
@@ -241,7 +236,6 @@
|
|||||||
<tree
|
<tree
|
||||||
decoration-danger="success==False"
|
decoration-danger="success==False"
|
||||||
decoration-info="success==True"
|
decoration-info="success==True"
|
||||||
string="Inspection lines"
|
|
||||||
delete="false"
|
delete="false"
|
||||||
create="false"
|
create="false"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<field name="name">qc.test.category.tree</field>
|
<field name="name">qc.test.category.tree</field>
|
||||||
<field name="model">qc.test.category</field>
|
<field name="model">qc.test.category</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="Test categories" editable="bottom">
|
<tree editable="bottom">
|
||||||
<field name="complete_name" />
|
<field name="complete_name" />
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="parent_id" />
|
<field name="parent_id" />
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
<field name="test_lines" nolabel="1">
|
<field name="test_lines" nolabel="1">
|
||||||
<tree string="Questions">
|
<tree>
|
||||||
<field name="sequence" widget="handle" />
|
<field name="sequence" widget="handle" />
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="type" />
|
<field name="type" />
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
<field name="name">qc.test.tree</field>
|
<field name="name">qc.test.tree</field>
|
||||||
<field name="model">qc.test</field>
|
<field name="model">qc.test</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="Tests">
|
<tree>
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="category" />
|
<field name="category" />
|
||||||
<field name="type" />
|
<field name="type" />
|
||||||
@@ -95,7 +95,7 @@
|
|||||||
nolabel="1"
|
nolabel="1"
|
||||||
attrs="{'required': [('type','=','qualitative')]}"
|
attrs="{'required': [('type','=','qualitative')]}"
|
||||||
>
|
>
|
||||||
<tree string="Question value" editable="bottom">
|
<tree editable="bottom">
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="ok" />
|
<field name="ok" />
|
||||||
</tree>
|
</tree>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
<field name="name">qc.trigger.tree</field>
|
<field name="name">qc.trigger.tree</field>
|
||||||
<field name="model">qc.trigger</field>
|
<field name="model">qc.trigger</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="Quality control triggers" editable="bottom">
|
<tree editable="bottom">
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="company_id" groups="base.group_multi_company" />
|
<field name="company_id" groups="base.group_multi_company" />
|
||||||
<field name="partner_selectable" />
|
<field name="partner_selectable" />
|
||||||
|
|||||||
@@ -1,16 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
|
||||||
|
|
||||||
<record id="view_repair_order_form" model="ir.ui.view">
|
<record id="view_repair_order_form" model="ir.ui.view">
|
||||||
<field name="name">repair.order.form.view</field>
|
<field name="name">repair.order.form.view</field>
|
||||||
<field name="model">repair.order</field>
|
<field name="model">repair.order</field>
|
||||||
<field name="inherit_id" ref="repair.view_repair_order_form" />
|
<field name="inherit_id" ref="repair.view_repair_order_form" />
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath
|
<xpath expr="//button[@name='action_created_invoice']" position="before">
|
||||||
expr="//button[@name='action_created_invoice']"
|
|
||||||
position="before"
|
|
||||||
>
|
|
||||||
<button
|
<button
|
||||||
name="action_show_sales_order"
|
name="action_show_sales_order"
|
||||||
type="object"
|
type="object"
|
||||||
@@ -29,10 +25,7 @@
|
|||||||
<xpath expr="//field[@name='invoice_state']" position="after">
|
<xpath expr="//field[@name='invoice_state']" position="after">
|
||||||
<field name="create_sale_order" invisible="1" />
|
<field name="create_sale_order" invisible="1" />
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath
|
<xpath expr="//button[@name='action_repair_start']" position="attributes">
|
||||||
expr="//button[@name='action_repair_start']"
|
|
||||||
position="attributes"
|
|
||||||
>
|
|
||||||
<attribute
|
<attribute
|
||||||
name="attrs"
|
name="attrs"
|
||||||
>{'invisible': ['|', ('create_sale_order', '=', True), '&', ('state','!=','confirmed'), '!', '&', ('state','=','ready'), ('invoice_method','=','b4repair')]}</attribute>
|
>{'invisible': ['|', ('create_sale_order', '=', True), '&', ('state','!=','confirmed'), '!', '&', ('state','=','ready'), ('invoice_method','=','b4repair')]}</attribute>
|
||||||
@@ -80,5 +73,4 @@
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
|
||||||
|
|
||||||
<record id="view_repair_type_form" model="ir.ui.view">
|
<record id="view_repair_type_form" model="ir.ui.view">
|
||||||
<field name="name">repair.type.form.view</field>
|
<field name="name">repair.type.form.view</field>
|
||||||
@@ -50,5 +49,4 @@
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
|
||||||
|
|
||||||
<record id="view_sale_order_form" model="ir.ui.view">
|
<record id="view_sale_order_form" model="ir.ui.view">
|
||||||
<field name="name">sale.order.form.view</field>
|
<field name="name">sale.order.form.view</field>
|
||||||
@@ -25,5 +24,4 @@
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Reference in New Issue
Block a user