Skip to content
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

[17.0][ADD] Add Pos Order Split Invoice Birthdate Check module #1312

Open
wants to merge 2 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions pos_order_split_invoice_birthdate_check/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
=======================================
Pos Order Split Invoice Birthdate Check
=======================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:0d941f682c3c714e3404402ab8ab75494c485579392dcc6d2d01685b7fa2a9b8
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github
:target: https://github.com/OCA/pos/tree/17.0/pos_order_split_invoice_birthdate_check
:alt: OCA/pos
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/pos-17-0/pos-17-0-pos_order_split_invoice_birthdate_check
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/pos&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows adding new fields to the splitted invoice form view,
such as the birthdate of the partner to whom the splitted invoice
belongs, and thus enables to check other information.

**Table of contents**

.. contents::
:local:

Configuration
=============

This module has no configuration required.

Usage
=====

You have nothing to do, open the splitted invoice form view and you will
see the extra fields.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_order_split_invoice_birthdate_check%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* INVITU

Contributors
------------

- INVITU <[email protected]>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/17.0/pos_order_split_invoice_birthdate_check>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions pos_order_split_invoice_birthdate_check/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
14 changes: 14 additions & 0 deletions pos_order_split_invoice_birthdate_check/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Pos Order Split Invoice Birthdate Check",
"version": "17.0.1.0.0",
"category": "Point Of Sale",
"summary": "Add Splitted partner birthdate in Splitted invoice form view",
"author": "INVITU,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/pos",
"license": "AGPL-3",
"depends": ["base", "pos_order_split_invoice", "pos_partner_birthdate"],
"data": ["views/account_move_views.xml"],
"installable": True,
}
3 changes: 3 additions & 0 deletions pos_order_split_invoice_birthdate_check/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import account_move
16 changes: 16 additions & 0 deletions pos_order_split_invoice_birthdate_check/models/account_move.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright (C) 2014-2015 Grupo ESOC <www.grupoesoc.es>
# Copyright 2017-Apertoso N.V. (<http://www.apertoso.be>)
# Copyright 2019-2020: Druidoo (<https://www.druidoo.io>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from odoo import fields, models


class AccountMove(models.Model):
_name = "account.move"
_inherit = "account.move"

splitting_partner_birthdate = fields.Date(
related="splitting_partner_id.birthdate_date",
string="Splitting Partner Birthdate",
)
3 changes: 3 additions & 0 deletions pos_order_split_invoice_birthdate_check/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module has no configuration required.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- INVITU \<<[email protected]>\>
3 changes: 3 additions & 0 deletions pos_order_split_invoice_birthdate_check/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This module allows adding new fields to the splitted invoice form view, such
as the birthdate of the partner to whom the splitted invoice belongs, and
thus enables to check other information.
1 change: 1 addition & 0 deletions pos_order_split_invoice_birthdate_check/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
You have nothing to do, open the splitted invoice form view and you will see the extra fields.
Loading
Loading