新增工厂临时token密钥字段
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
""",
|
""",
|
||||||
'category': 'YZ',
|
'category': 'YZ',
|
||||||
'website': 'https://www.sf.jikimo.com',
|
'website': 'https://www.sf.jikimo.com',
|
||||||
'depends': ['account', 'base', 'mrp'],
|
'depends': ['account', 'base', 'mrp', 'sf_bpm_api'],
|
||||||
'data': [
|
'data': [
|
||||||
'security/group_security.xml',
|
'security/group_security.xml',
|
||||||
'security/ir.model.access.csv',
|
'security/ir.model.access.csv',
|
||||||
|
|||||||
@@ -133,6 +133,14 @@
|
|||||||
sequence="1"
|
sequence="1"
|
||||||
action="action_mrs_machine_control_system"/>
|
action="action_mrs_machine_control_system"/>
|
||||||
|
|
||||||
|
<menuitem
|
||||||
|
id="menu_sf_partner_views"
|
||||||
|
name="工厂token"
|
||||||
|
parent="menu_mrs_base"
|
||||||
|
sequence="1"
|
||||||
|
action="token_factory_view"
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
@@ -74,12 +74,12 @@
|
|||||||
<field name='processing_order_ids' options="{'no_create':True}" widget="one2many">
|
<field name='processing_order_ids' options="{'no_create':True}" widget="one2many">
|
||||||
<tree editable='bottom'>
|
<tree editable='bottom'>
|
||||||
<field name="sequence" widget="handle"/>
|
<field name="sequence" widget="handle"/>
|
||||||
<field name="processing_technology_ids" widget="many2many_tags" >
|
<field name="processing_technology_ids" widget="many2many_tags">
|
||||||
</field>
|
</field>
|
||||||
</tree>
|
</tree>
|
||||||
<form >
|
<form>
|
||||||
|
|
||||||
<field name="processing_technology_ids" widget="many2many">
|
<field name="processing_technology_ids" widget="many2many">
|
||||||
|
|
||||||
</field>
|
</field>
|
||||||
</form>
|
</form>
|
||||||
@@ -277,43 +277,74 @@
|
|||||||
</record>
|
</record>
|
||||||
<!--产品-->
|
<!--产品-->
|
||||||
<!-- <field name="domain">[('materials_model_ids', '!=', False)]</field>-->
|
<!-- <field name="domain">[('materials_model_ids', '!=', False)]</field>-->
|
||||||
<!-- <record id="sf_product_template" model="ir.actions.act_window">-->
|
<!-- <record id="sf_product_template" model="ir.actions.act_window">-->
|
||||||
<!-- <field name="name">产品</field>-->
|
<!-- <field name="name">产品</field>-->
|
||||||
<!-- <field name="type">ir.actions.act_window</field>-->
|
<!-- <field name="type">ir.actions.act_window</field>-->
|
||||||
|
|
||||||
<!-- <field name="res_model">product.template</field>-->
|
<!-- <field name="res_model">product.template</field>-->
|
||||||
<!-- <field name="view_mode">tree,form</field>-->
|
<!-- <field name="view_mode">tree,form</field>-->
|
||||||
<!-- <field name="help" type="html">-->
|
<!-- <field name="help" type="html">-->
|
||||||
|
|
||||||
<!-- <p class="o_view_nocontent_smiling_face">-->
|
<!-- <p class="o_view_nocontent_smiling_face">-->
|
||||||
<!-- 创建产品吧-->
|
<!-- 创建产品吧-->
|
||||||
<!-- </p>-->
|
<!-- </p>-->
|
||||||
<!-- </field>-->
|
<!-- </field>-->
|
||||||
|
|
||||||
<!-- </record>-->
|
<!-- </record>-->
|
||||||
<!-- <record id="view_product_account_purchase_ok_form" model="ir.ui.view">-->
|
<!-- <record id="view_product_account_purchase_ok_form" model="ir.ui.view">-->
|
||||||
<!-- <field name="name">product.template.materials</field>-->
|
<!-- <field name="name">product.template.materials</field>-->
|
||||||
<!-- <field name="model">product.template</field>-->
|
<!-- <field name="model">product.template</field>-->
|
||||||
<!-- <field name="inherit_id" ref="account.product_template_form_view"/>-->
|
<!-- <field name="inherit_id" ref="account.product_template_form_view"/>-->
|
||||||
<!-- <field name="arch" type="xml">-->
|
<!-- <field name="arch" type="xml">-->
|
||||||
<!-- <field name="name" position="after" >-->
|
<!-- <field name="name" position="after" >-->
|
||||||
|
|
||||||
|
|
||||||
<!-- </field>-->
|
<!-- </field>-->
|
||||||
<!-- </field>-->
|
<!-- </field>-->
|
||||||
<!-- </record>-->
|
<!-- </record>-->
|
||||||
<!-- <record id="view_product_account_purchase_ok_search" model="ir.ui.view">-->
|
<!-- <record id="view_product_account_purchase_ok_search" model="ir.ui.view">-->
|
||||||
<!-- <field name="name">product.template.materials.search</field>-->
|
<!-- <field name="name">product.template.materials.search</field>-->
|
||||||
<!-- <field name="model">product.template</field>-->
|
<!-- <field name="model">product.template</field>-->
|
||||||
<!-- <field name="arch" type="xml">-->
|
<!-- <field name="arch" type="xml">-->
|
||||||
<!-- <search string="产品名">-->
|
<!-- <search string="产品名">-->
|
||||||
<!-- <field name="name" string="产品名查询"-->
|
<!-- <field name="name" string="产品名查询"-->
|
||||||
<!-- filter_domain = "[('name','ilike',self)]" />-->
|
<!-- filter_domain = "[('name','ilike',self)]" />-->
|
||||||
|
|
||||||
<!-- </search>-->
|
<!-- </search>-->
|
||||||
<!-- </field>-->
|
<!-- </field>-->
|
||||||
<!-- </record>-->
|
<!-- </record>-->
|
||||||
|
<record id="token_factory_view" model="ir.actions.act_window">
|
||||||
|
<field name="name">合作伙伴</field>
|
||||||
|
<field name="type">ir.actions.act_window</field>
|
||||||
|
<field name="domain">[('sf_token', '!=', False),('sf_secret_key', '!=', False)]</field>
|
||||||
|
<field name="res_model">res.partner</field>
|
||||||
|
<field name="view_mode">tree,form</field>
|
||||||
|
<field name="help" type="html">
|
||||||
|
<p class="o_view_nocontent_smiling_face">
|
||||||
|
加工工厂!
|
||||||
|
</p>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="mrs_view_partner_form" model="ir.ui.view">
|
||||||
|
<field name="name">view_partner_form</field>
|
||||||
|
<field name="model">res.partner</field>
|
||||||
|
<field name="inherit_id" ref="base.view_partner_form"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
|
||||||
|
<field name="name" position="after" invisible="1">
|
||||||
|
<form>
|
||||||
|
<group>
|
||||||
|
<group>
|
||||||
|
<field name="sf_token" string='token' readonly="1"/>
|
||||||
|
<field name="sf_secret_key" string='密钥' readonly="1"/>
|
||||||
|
</group>
|
||||||
|
</group>
|
||||||
|
</form>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
Reference in New Issue
Block a user