Commit Graph

19 Commits

Author SHA1 Message Date
Jordi Ballester Alomar
6b4286aead [FIX] Errors in navigation to customer invoices / vendor bills 2023-03-15 12:37:28 +01:00
sbejaoui
09684f1461 [MIG] contract: Migration to 12.0 2023-03-15 12:37:28 +01:00
mreficent
4aaaa4549e [IMP] Make sure it works for sale and purchase contracts
[UPD] Update contract.pot
2023-03-15 12:37:28 +01:00
Stefan Becker
da498fdd26 [IMP] Add type to analytic account / contract 2023-03-15 12:37:28 +01:00
Pedro M. Baeza
6a7d445072 [IMP] contract: Automatic prices for lines 2023-03-15 10:54:36 +01:00
Carlos Dauden
a8fba7f55c [IMP+FIX] contract: Several things:
* [IMP] Add computed dates from/to period invoiced (#140)
* [IMP] Improve partner contract smartbutton
* [FIX] Onchange contract template raise error
* [FIX] Invalid pricelist name
2023-03-15 10:54:36 +01:00
Pedro M. Baeza
590088df4b [FIX+IMP] contract: Real fix to company_id missing + improvements + Correct references in the contract report
* company_id was empty because an onchange, not inheritance nor visibility
* Added multi-company group to company_id fields
* Added multi-company access rule to contract templates
* Fix double %% in XML dates that was causing an error
* When creating a contract, recurring_invoices is set by default
2023-03-15 10:54:24 +01:00
Gustavo Orozco H
2ee02e0aa4 [10.0][FIX] Correct domain attribute in field journal_id (#120)
* Correct domain attribute in field journal_id

Original domain includes unknown value company_id. Throws error when selecting the journal.

* Corregidos errores detectados por Lint

* Refactoring, DRY

* [FIX] Add missing field company_id to account_analytic_contract

* Small refactoring for company_id field
2023-03-15 10:43:56 +01:00
Pedro M. Baeza
3954c9073d [10.0][FIX+IMP] contract: Improve usability and don't fail on wrong data (#130)
* [FIX+IMP] contract: Improve usability and don't fail on wrong data

* Cron create invoices masked for avoiding silent errors
* New constraints for assuring data consistency
* UI helps for entering consistent data
* Spanish translation
* Remove double company_id field on form
2023-03-15 10:43:56 +01:00
Pedro M. Baeza
2252fe1171 [IMP] contract: Menu position 2023-03-15 10:43:56 +01:00
Pedro Castro Silva
3b3ae8ad34 [IMP] contract: Add display sequence on contract lines (#119) 2023-03-15 10:43:56 +01:00
Carlos Dauden
3d173b9259 [IMP] contract: Module contract improvements (#107) 2023-03-15 10:43:56 +01:00
Pedro M. Baeza
73f2ddd76b [FIX] contract: fix views assignment + improvement on tests + copyright in headers
**Be totally deterministic about which views to use**

Having a primary view that is not explicitly declared to be uses and w/o priority
makes Odoo to choose between one of them randomly (well, not exactly, but kind of),
so we put here which views to use.

I have also put tree view as primary and put a large priority for not being
selected on other actions that don't have this explicit views.

A friendly name in views is also assigned.

**Improvements in tests**

* Use SavepointCase for making the setup only once for all tests
* Make them inheritable, creating a base class with only the setup,
  so that it can be inherited without the need of executing all tests
  contained here each time you inherit it, and adding other class
  in the same module that inherits from the base class that actually
  performs the tests.
* Removed duplicated test method
2023-03-15 10:43:56 +01:00
cubells
7753273a4e [IMP][10.0] contract: Add report + send by mail (#86)
* [IMP][9.0] contract: Add report + send by mail

* Update translation and rename contract report

* Changes requested and translation updated
2023-03-15 10:43:56 +01:00
Andrea
102245495b Add 'Date of Next Invoice' in contract list view 2023-03-15 10:43:56 +01:00
Dave Lasley
30207c45bc [IMP][10.0] contract: Add templating (#42)
Add template functionality for contracts
2023-03-15 10:43:56 +01:00
Pedro M. Baeza
1e0352a162 [MIG] contract: Migration to version 10.0 2023-03-15 10:43:56 +01:00
Carlos Dauden
e65f6605ac [IMP] contract: Add past receipt type. Fix yearly. Add month last day 2023-03-15 10:43:56 +01:00
Carlos Incaser
0aa65b2e52 [MIG] contract: from v7 to v9 improving features
* Tests added
* Filters added.
* Add _id/_ids in old property fields
* Translations
2023-03-15 10:43:56 +01:00