-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[11.0][3810][REF] sale_ext_sst (#355)
* [REF] sale_ext_sst
- Loading branch information
1 parent
98cf1bb
commit 8e0718a
Showing
19 changed files
with
208 additions
and
128 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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 2017-2018 Quartile Limited | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Sale Order Invoice Residual", | ||
"version": "11.0.1.0.0", | ||
"author": "Quartile Limited", | ||
"website": "https://www.quartile.co", | ||
"category": "Sale", | ||
"license": "AGPL-3", | ||
"depends": ["sale"], | ||
"data": ["views/sale_order_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,31 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * sale_order_invoice_residual | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 11.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-10-03 05:59+0000\n" | ||
"PO-Revision-Date: 2023-10-03 05:59+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: sale_order_invoice_residual | ||
#: model:ir.model.fields,field_description:sale_order_invoice_residual.field_sale_order_invoice_residual | ||
msgid "Invoice Amount Due" | ||
msgstr "未払額" | ||
|
||
#. module: sale_order_invoice_residual | ||
#: model:ir.model,name:sale_order_invoice_residual.model_sale_order | ||
msgid "Quotation" | ||
msgstr "見積" | ||
|
||
#. module: sale_order_invoice_residual | ||
#: model:ir.model.fields,help:sale_order_invoice_residual.field_sale_order_invoice_residual | ||
msgid "Remaining amount due of invoice(s)." | ||
msgstr "請求書の未払額。" |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
This module adds the invoice_residual field in sale order. |
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,28 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<record id="sale_view_order_tree" model="ir.ui.view"> | ||
<field name="name">sale.view.order.tree</field> | ||
<field name="model">sale.order</field> | ||
<field name="inherit_id" ref="sale.view_order_tree" /> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//field[@name='amount_total']" position="after"> | ||
<field name="invoice_residual" widget="monetary" /> | ||
</xpath> | ||
</field> | ||
</record> | ||
<record id="view_order_form" model="ir.ui.view"> | ||
<field name="name">sale.order.view.order.form</field> | ||
<field name="model">sale.order</field> | ||
<field name="inherit_id" ref="sale.view_order_form" /> | ||
<field name="priority" eval="15" /> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//field[@name='payment_term_id']" position="after"> | ||
<field | ||
name="invoice_residual" | ||
widget="monetary" | ||
attrs="{'invisible': [('state', 'not in', ['sale', 'done'])]}" | ||
/> | ||
</xpath> | ||
</field> | ||
</record> | ||
</odoo> |
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 models |
6 changes: 3 additions & 3 deletions
6
sale_ext_sst/__manifest__.py → sale_order_partner_phone/__manifest__.py
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,13 +1,13 @@ | ||
# Copyright 2017-2018 Quartile Limited | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Extension for sales functions", | ||
"version": "11.0.1.2.1", | ||
"name": "Sale Order Partner Phone", | ||
"version": "11.0.1.0.0", | ||
"author": "Quartile Limited", | ||
"website": "https://www.quartile.co", | ||
"category": "Sale", | ||
"license": "AGPL-3", | ||
"depends": ["sale_stock", "sale_order_dates"], | ||
"depends": ["sale"], | ||
"data": ["views/sale_order_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,26 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * sale_order_partner_phone | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 11.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-10-03 05:58+0000\n" | ||
"PO-Revision-Date: 2023-10-03 05:58+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: sale_order_partner_phone | ||
#: model:ir.model.fields,field_description:sale_order_partner_phone.field_sale_order_phone | ||
msgid "Phone" | ||
msgstr "電話" | ||
|
||
#. module: sale_order_partner_phone | ||
#: model:ir.model,name:sale_order_partner_phone.model_sale_order | ||
msgid "Quotation" | ||
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 sale_order |
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,10 @@ | ||
# Copyright 2017-2018 Quartile Limited | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from odoo import fields, models | ||
|
||
|
||
class SaleOrder(models.Model): | ||
_inherit = "sale.order" | ||
|
||
phone = fields.Char(related="partner_id.phone", string="Phone",) |
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 @@ | ||
This module adds partner's phone in sale order. |
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,33 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<record id="sale_view_order_tree" model="ir.ui.view"> | ||
<field name="name">sale.view.order.tree</field> | ||
<field name="model">sale.order</field> | ||
<field name="inherit_id" ref="sale.view_order_tree" /> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//field[@name='partner_id']" position="after"> | ||
<field name="phone" /> | ||
</xpath> | ||
</field> | ||
</record> | ||
<record id="sale_viw_quotation_tree" model="ir.ui.view"> | ||
<field name="name">sale.view.quotation.tree</field> | ||
<field name="model">sale.order</field> | ||
<field name="inherit_id" ref="sale.view_quotation_tree" /> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//field[@name='partner_id']" position="after"> | ||
<field name="phone" /> | ||
</xpath> | ||
</field> | ||
</record> | ||
<record id="sale_view_sales_order_filter" model="ir.ui.view"> | ||
<field name="name">sale.view.sales.order.filter</field> | ||
<field name="model">sale.order</field> | ||
<field name="inherit_id" ref="sale.view_sales_order_filter" /> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//field[@name='partner_id']" position="after"> | ||
<field name="phone" /> | ||
</xpath> | ||
</field> | ||
</record> | ||
</odoo> |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * sale_view_adj_sst | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 11.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-10-03 08:39+0000\n" | ||
"PO-Revision-Date: 2023-10-03 08:39+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: sale_view_adj_sst | ||
#: model:ir.ui.view,arch_db:sale_view_adj_sst.sale_view_order_line_filter | ||
msgid "Today's Order" | ||
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