1 Commits

Author SHA1 Message Date
7c99aa2dc6 [ADD]sale_order_validity_date addon 2023-10-17 16:38:14 +02:00
6 changed files with 119 additions and 0 deletions

2
sale_order_validity_date/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*.*~
*pyc

View File

@@ -0,0 +1,43 @@
=================================
sale_order_invoice_untaxed_amount
=================================
Display the quotation validity date in the sale order tree view
Installation
============
Use Odoo normal module installation procedure to install
``sale_order_validity_date``.
Known issues / Roadmap
======================
None yet.
Bug Tracker
===========
Bugs are tracked on `our issues website <https://github.com/elabore-coop/sale-tools/issues>`_. In case of
trouble, please check there if your issue has already been
reported. If you spotted it first, help us smashing it by providing a
detailed and welcomed feedback.
Credits
=======
Contributors
------------
* Laetitia Da Costa (https://github.com/LaetitiaElabore)
Funders
-------
The development of this module has been financially supported by:
* Elabore (https://elabore.coop)
Maintainer
----------
This module is maintained by Elabore (https://github.com/elabore-coop/).

View File

@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

View File

@@ -0,0 +1,37 @@
# Copyright 2022 Stéphan Sainléger (Elabore)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "sale_order_validity_date",
"version": "14.0.1.0.0",
"author": "Elabore",
"website": "https://elabore.coop",
"maintainer": "Laetitia Da Costa",
"license": "AGPL-3",
"category": "Tools",
"summary": "Display the validity date in sale orders tree view",
# any module necessary for this one to work correctly
"depends": [
"account",
"sale",
],
"qweb": [
# "static/src/xml/*.xml",
],
"external_dependencies": {
"python": [],
},
# always loaded
"data": [
"views/sale_order_view.xml",
],
# only loaded in demonstration mode
"demo": [],
"js": [],
"css": [],
"installable": True,
# Install this module automatically if all dependency have been previously
# and independently installed. Used for synergetic or glue modules.
"auto_install": False,
"application": False,
}

View File

@@ -0,0 +1,21 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_order_validity_date
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-17 14:35+0000\n"
"PO-Revision-Date: 2023-10-17 14:35+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_validity_date
#: model_terms:ir.ui.view,arch_db:sale_order_validity_date.view_order_tree_validity_date_inherit
msgid "Due date"
msgstr "Date d'échéance"

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="view_order_tree_validity_date_inherit" model="ir.ui.view">
<field name="name">view.order.tree.validity.date.inherit</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_quotation_tree_with_onboarding"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='create_date']" position="after">
<field name="validity_date" string="Due date" widget="remaining_days" optional="hide" />
</xpath>
</field>
</record>
</odoo>