Cédric Krier 74e321f32c Do not set unit price or quantity if empty
The unit price or the quantity of the credit note line should not be updated
if the value from the complain invoice line is None as it means we must use
the original one.

issue9497
review290651002
2020-08-02 23:56:32 +02:00
2020-06-01 10:08:02 +01:00
2020-05-02 10:29:24 +02:00
2020-03-01 12:33:53 +01:00
2020-03-01 12:33:53 +01:00
2020-05-04 12:25:55 +02:00
2020-03-01 12:33:53 +01:00
2020-05-04 12:25:55 +02: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-05-02 12:26:47 +02:00
2020-03-19 19:10:40 +01:00
2020-05-04 12:26:04 +02: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%