Commit Graph

386 Commits

Author SHA1 Message Date
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
OCA Transbot
fe44f19f00 OCA Transbot updated translations from Transifex 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
OCA Transbot
1fffe7a9d3 OCA Transbot updated translations from Transifex 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
OCA Transbot
ad2a957ad6 OCA Transbot updated translations from Transifex 2023-03-15 10:43:56 +01:00
Pedro M. Baeza
2252fe1171 [IMP] contract: Menu position 2023-03-15 10:43:56 +01:00
Fekete Mihai
3c8f8662bd [MIG] contract: Migration to version 11.0 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
Dave Lasley
48f159085c [FIX] contract: Template lines handling (#92)
Update contract template lines handling to fix #80, and fix #59 #100
2023-03-15 10:43:56 +01:00
OCA Transbot
2f0c3ad020 OCA Transbot updated translations from Transifex 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
Dave Lasley
825b7a46fa [FIX] contract: Operator issue in price get
* Add a default date in the instance that an analytic account doesn’t exist (templates) - fixes #68
2023-03-15 10:43:56 +01:00
OCA Transbot
a232e13de3 OCA Transbot updated translations from Transifex 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
OCA Transbot
1ae93d5ceb OCA Transbot updated translations from Transifex 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
OCA Transbot
aa9b2533e5 OCA Transbot updated translations from Transifex 2023-03-15 10:43:56 +01:00
Pedro M. Baeza
e552c83834 [IMP+FIX] contract: Better README + category + assign contract unconditionally 2023-03-15 10:43:56 +01:00
carlosdauden
6aadeaa0a5 [9.0][IMP] contract: Get default invoice contact. (#32) 2023-03-15 10:43:56 +01:00
OCA Transbot
a7032503e9 OCA Transbot updated translations from Transifex 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
Pedro M. Baeza
a1f967f558 [IMP] account_analytic_analysis_recurring: Hook method for preparing invoice lines 2023-03-15 10:43:56 +01:00
Federico Cruz
61df88faca [FIX] contract: Set correct company on invoices when working on multicompany environment
Now when working on multy company environmets the server action creates
invioices with accounts belong to correct company based on contract company.
2023-03-15 10:43:56 +01:00
Pedro M. Baeza
779540f91d [IMP+FIX] account_analytic_analysis_recurring: Several things
* Translations
* Access rules
* README
* Currency for created invoices.
*  #START# and #END# set correctly
* Some conventions
2023-03-15 10:43:56 +01:00
Stefan Rijnhart
a9cada69c5 [IMP+FIX] Pot file and Dutch translation + PEP8 2023-03-15 10:43:56 +01:00
unknown
e5b4679ea8 [ADD] account_analytic_analysis_recurring 2023-03-15 10:43:56 +01:00
oca-git-bot
37e65f2e3b [IMP] update dotfiles [ci skip] 2023-03-12 19:10:56 +01:00
oca-git-bot
ce54e83615 [IMP] update dotfiles [ci skip] 2023-02-10 00:26:32 +01:00
oca-git-bot
db2f9a6644 [IMP] update dotfiles [ci skip] 2022-12-11 22:42:06 +01:00
oca-git-bot
a881b8992b Initialize 16.0 branch 2022-10-03 19:54:39 +02:00