odoo-10

    1热度

    1回答

    我在One2many字段'name','weight'和'price'内有一个One2many字段和三个字段。我想要从One2many字段的多行中添加'weight'字段的所有值。 我的Python和XML代码是在这里: Python代码: class body_processing(models.Model): _name = 'body.processing' machi

    0热度

    1回答

    我必须尝试在视图看板中显示我的字段many2many,但不适用于我。 我场是 我的代码:attribute_value_ids <templates> <t t-name="kanban-box"> <div class="oe_kanban_global_click"> <div class="oe_kanban_content"> <fi

    1热度

    1回答

    我在One2many字段'name','id'和'price'内有一个One2many字段和三个字段。我想要从One2many字段的多行中添加'价格'字段的所有值。 我的Python功能在这里: @api.onchange('price', 'vals', 'sum') def _onchange_amount_weight(self): if self.price:

    1热度

    1回答

    选择选项我想填充每个@ api.onchange向导中选择字段(“journal_id”) 我的例子: @api.multi @api.onchange('journal_id') def _populate(self): lst = [] journals = self.env['account.move'].search([('journal_id'

    1热度

    2回答

    我需要使用XMLRPC 默认odoo特定的语言来得到odoo翻译的数据,这是英语 api.execute_kw(db, uid, pwd, 'res.country', 'search_read', [[]], {'fields': ['name']}) 如何添加默认语言发送数据上下文请求使用特定的翻译语言。

    1热度

    1回答

    我想允许两个组的用户访问,因为这下面的代码: <record model="ir.ui.view"> <field name="name">sale.order.approve</field> <field name="model">sale.order</field> <field name="inherit_id" ref="sale.view_order_

    0热度

    1回答

    我必须有两个many2one类型的字段。在当地的地区“香港”,“Kawloon”和“新的Terriotories”。在另一个与这些地区有关的许多领域中。而我希望当我选择一个'本地区域',那么该区域的有效性只与该地区有关。 我的代码是在这里: Python代码: class district_code_form(models.Model): _name = 'district.distr

    0热度

    1回答

    我需要在Odoo 10中扩展一个表单(stock.view_inventory_form)。表单中有一个子树填充了来自另一个模型的相关记录。下面是我想改变原始形式的一部分: <field name="line_ids" string="Inventory Details" context="{'default_location_id': location_id, 'default_product_

    0热度

    1回答

    如何使用geoengine功能扩展odoo 10上的项目或任务模型,以便我可以在Google地图仪表板中显示项目或任务的位置?

    1热度

    1回答

    我想对我的VPS安装ODOO, 继https://www.odoo.com/documentation/10.0/setup/install.html的官方文档,当我运行 apt-get update && apt-get install odoo 我得到以下信息: Some packages could not be installed. This may mean that you hav