-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3811][11.0][REF] stock_ext_sst #356
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
9f744c7
[REF] stock_ext_sst
AungKoKoLin1997 1123a23
adjustment
AungKoKoLin1997 6b2df69
add translation
kanda999 85b7f77
[UPD] product_publish_cron: change dependency
AungKoKoLin1997 4ba6953
update
AungKoKoLin1997 b78e549
update
AungKoKoLin1997 5545ee4
fix typo
AungKoKoLin1997 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from . import product_template | ||
from . import yahoo_product_state | ||
from . import delivery_carrier_size | ||
from . import stock_quant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright 2018 Quartile Limited | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from odoo import fields, models | ||
|
||
|
||
class StockQuant(models.Model): | ||
_inherit = "stock.quant" | ||
|
||
yahoo_product_state_id = fields.Many2one( | ||
related="product_id.yahoo_product_state_id", | ||
string="Yahoo Product State", | ||
) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
from . import models | ||
from . import wizard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright 2017-2018 Quartile Limited | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Stock Quant Attribute", | ||
"version": "11.0.2.0.0", | ||
"author": "Quartile Limited", | ||
"website": "https://www.quartile.co", | ||
"category": "Stock", | ||
"license": "AGPL-3", | ||
"depends": [ | ||
"stock", | ||
"website", | ||
"stock_quant_list_view", | ||
], | ||
"data": [ | ||
"views/stock_quant_views.xml", | ||
], | ||
"installable": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * stock_quant_attribute | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 11.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-10-02 12:37+0000\n" | ||
"PO-Revision-Date: 2023-10-02 12:37+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: stock_quant_attribute | ||
#: model:ir.model.fields,field_description:stock_quant_attribute.field_stock_quant_default_code | ||
msgid "Barcode" | ||
msgstr "バーコード" | ||
|
||
#. module: stock_quant_attribute | ||
#: model:ir.model.fields,help:stock_quant_attribute.field_stock_quant_list_price | ||
msgid "Base price to compute the customer price. Sometimes called the catalog price." | ||
msgstr "顧客価格を計算するための基準価格。カタログ価格と呼ぶこともあります。" | ||
|
||
#. module: stock_quant_attribute | ||
#: model:ir.model,name:stock_quant_attribute.model_stock_quant | ||
msgid "Quants" | ||
msgstr "保管ロット" | ||
|
||
#. module: stock_quant_attribute | ||
#: model:ir.model.fields,field_description:stock_quant_attribute.field_stock_quant_list_price | ||
msgid "Sale Price" | ||
msgstr "販売価格" | ||
|
||
#. module: stock_quant_attribute | ||
#: model:ir.model.fields,field_description:stock_quant_attribute.field_stock_quant_website_published | ||
msgid "Visible in Website" | ||
msgstr "ウェブサイトに表示" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import stock_quant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright 2018 Quartile Limited | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from odoo import fields, models | ||
|
||
|
||
class StockQuant(models.Model): | ||
_inherit = "stock.quant" | ||
|
||
website_published = fields.Boolean( | ||
related="product_id.website_published", | ||
string="Visible in Website", | ||
) | ||
list_price = fields.Float( | ||
related="product_id.product_tmpl_id.list_price", string="Sale Price", | ||
) | ||
# To improve search performance by product. | ||
product_id = fields.Many2one(auto_join=True,) | ||
default_code = fields.Char( | ||
related="product_id.default_code", | ||
string="Barcode", | ||
store=True, | ||
readonly=True, | ||
index=True, | ||
) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please correct me if you have a different understanding of the reason of this change.