Skip to content

Commit

Permalink
Merge pull request #102 from oihane/8.0-partnerinfo
Browse files Browse the repository at this point in the history
[IMP] product_pricelist_partnerinfo: All related computed to improve …
  • Loading branch information
pedrobaeza authored and oihane committed Oct 22, 2015
2 parents cf371e5 + 4fff181 commit 3b8a7cc
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 3 deletions.
2 changes: 1 addition & 1 deletion oca_dependencies.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# List the OdooMRP project dependencies, one per line
odoomrp-wip
odoomrp-wip https://github.com/odoomrp/odoomrp-wip
# List the OCA project dependencies, one per line
stock-logistics-workflow https://github.com/OCA/stock-logistics-workflow
stock-logistics-warehouse https://github.com/OCA/stock-logistics-warehouse
Expand Down
119 changes: 119 additions & 0 deletions product_pricelist_partnerinfo/i18n/product_pricelist_partnerinfo.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_pricelist_partnerinfo
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-10-22 13:12+0000\n"
"PO-Revision-Date: 2015-10-22 13:12+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: product_pricelist_partnerinfo
#: model:ir.actions.act_window,help:product_pricelist_partnerinfo.pricelist_partnerinfo_action
msgid "<p class=\"oe_view_nocontent_create\">\n"
" Click to define a new pricelist.partnerinfo.\n"
" </p>\n"
" "
msgstr ""

#. module: product_pricelist_partnerinfo
#: help:pricelist.partnerinfo,sequence:0
msgid "Assigns the priority to the list of product supplier."
msgstr ""

#. module: product_pricelist_partnerinfo
#: view:pricelist.partnerinfo:product_pricelist_partnerinfo.pricelist_partnerinfo_search_view
#: field:pricelist.partnerinfo,company_id:0
msgid "Company"
msgstr ""

#. module: product_pricelist_partnerinfo
#: view:pricelist.partnerinfo:product_pricelist_partnerinfo.pricelist_partnerinfo_search_view
msgid "Customer"
msgstr ""

#. module: product_pricelist_partnerinfo
#: view:pricelist.partnerinfo:product_pricelist_partnerinfo.pricelist_partnerinfo_search_view
msgid "Group By"
msgstr ""

#. module: product_pricelist_partnerinfo
#: view:pricelist.partnerinfo:product_pricelist_partnerinfo.pricelist_partnerinfo_search_view
#: field:pricelist.partnerinfo,partner:0
msgid "Partner"
msgstr ""

#. module: product_pricelist_partnerinfo
#: model:ir.actions.act_window,name:product_pricelist_partnerinfo.pricelist_partnerinfo_action
#: model:ir.ui.menu,name:product_pricelist_partnerinfo.pricelist_partnerinfo_sale_menu
#: view:pricelist.partnerinfo:product_pricelist_partnerinfo.pricelist_partnerinfo_search_view
#: view:pricelist.partnerinfo:product_pricelist_partnerinfo.pricelist_partnerinfo_tree_view
msgid "Partnerinfo"
msgstr ""

#. module: product_pricelist_partnerinfo
#: model:ir.model,name:product_pricelist_partnerinfo.model_product_product
msgid "Product"
msgstr ""

#. module: product_pricelist_partnerinfo
#: field:pricelist.partnerinfo,product_code:0
msgid "Product Code"
msgstr ""

#. module: product_pricelist_partnerinfo
#: field:pricelist.partnerinfo,product_name:0
msgid "Product Name"
msgstr ""

#. module: product_pricelist_partnerinfo
#: view:product.product:product_pricelist_partnerinfo.product_product_form_view
#: view:product.template:product_pricelist_partnerinfo.product_template_form_view
msgid "Product Partnerinfo"
msgstr ""

#. module: product_pricelist_partnerinfo
#: model:ir.model,name:product_pricelist_partnerinfo.model_product_template
#: view:pricelist.partnerinfo:product_pricelist_partnerinfo.pricelist_partnerinfo_search_view
#: field:pricelist.partnerinfo,product_tmpl_id:0
msgid "Product Template"
msgstr ""

#. module: product_pricelist_partnerinfo
#: field:pricelist.partnerinfo,sequence:0
msgid "Sequence"
msgstr ""

#. module: product_pricelist_partnerinfo
#: view:pricelist.partnerinfo:product_pricelist_partnerinfo.pricelist_partnerinfo_search_view
msgid "Supplier"
msgstr ""

#. module: product_pricelist_partnerinfo
#: help:pricelist.partnerinfo,partner:0
msgid "Supplier of this product"
msgstr ""

#. module: product_pricelist_partnerinfo
#: help:pricelist.partnerinfo,product_code:0
msgid "This supplier's product code will be used when printing a request for quotation. Keep empty to use the internal one."
msgstr ""

#. module: product_pricelist_partnerinfo
#: help:pricelist.partnerinfo,product_name:0
msgid "This supplier's product name will be used when printing a request for quotation. Keep empty to use the internal one."
msgstr ""

#. module: product_pricelist_partnerinfo
#: view:pricelist.partnerinfo:product_pricelist_partnerinfo.pricelist_partnerinfo_search_view
#: field:pricelist.partnerinfo,type:0
msgid "Type"
msgstr ""

4 changes: 2 additions & 2 deletions product_pricelist_partnerinfo/models/pricelist_partnerinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class PricelistPartnerinfo(models.Model):
product_code = fields.Char(
string='Product Code', related='suppinfo_id.product_code', store=True)
sequence = fields.Integer(
string='Sequence', related='suppinfo_id.sequence')
string='Sequence', related='suppinfo_id.sequence', store=True)
company_id = fields.Many2one(
comodel_name='res.company', string='Company',
related='suppinfo_id.company_id')
related='suppinfo_id.company_id', store=True)

0 comments on commit 3b8a7cc

Please sign in to comment.