Cédric Krier 9fd46306bf Make an invoice correction for credit note action
This is needed to keep the quantity invoiced coherent with the stock move
quantity to update the unit price.

issue9975
review353061002
2021-01-18 23:17:20 +01:00
2020-06-01 10:08:02 +01:00
2020-10-31 12:14:31 +01:00
2020-12-26 23:58:50 +01:00
2020-03-01 12:33:53 +01:00
2020-12-19 17:08:46 +01:00
2020-10-16 19:19:58 +02:00
2020-11-02 16:08:15 +01:00
2020-03-01 12:33:53 +01:00
2020-05-04 12:25:55 +02:00
2015-05-11 16:55:33 +02:00
2020-06-01 10:08:02 +01:00
2020-04-13 12:21:55 +02:00
2020-03-01 12:33:53 +01:00
2020-04-13 12:21:55 +02:00
2020-12-19 17:08:46 +01:00
2020-12-19 17:08:46 +01:00
2020-11-02 16:08:25 +01:00

Sale Complaint Module
#####################

The sale_complaint module defines Complaint model.

Complaint
*********

The complaint is mainly defined by a customer which complains about a sale or
an invoice. Actions can be taken to solve the complaint. Here is the extensive
list of the fields, most of them are optional:

- Customer: The customer.
- Address: The main address of the customer.
- Date: The date the complaint is filled.
- Number: The internal reference of the complaint (will be generated
  automatically on creation).
- Reference: The optional external reference of the complaint.
- Employee: The employee responsible of the complaint.
- Type: The type of complaint
- Origin: The original document for which the complaint if filled.
- Company: The company against which the complaint is filled.
- Description: The description of the complaint.
- Actions: The actions to take to solve it.
- State:

  - Draft
  - Waiting: The complaint is waiting for approval.
  - Approved: The complaint has been approved by a sale admin.
  - Rejected: The complaint has been rejected by a sale admin.
  - Done: The complaint's actions have been executed.
  - Cancelled

Action
******

A complaint action defines an action to execute to solve the complaint.
There are two types of action: *Create Sale Return* and *Create Credit Note*.
When the origin of the complaint is a line, only this line will proceeded and
it will be possible to define the quantity and the unit price otherwise it is
the all document.

Type
****

It defines the type of complaint per document: *Sale*, *Sale Line*, *Customer
Invoice* and *Customer Invoice Line*.
S
Description
Private Tryton customization repository for reviewed Dominican localization and controlled upstream integration.
Readme
389 MiB
Languages
Python 88.1%
JavaScript 11%
Less 0.5%
HTML 0.2%
NSIS 0.1%