Comments (6)
If we really want to have contracts (account.analytic.account) and contract templates (account.analytic.contract) in different models, I think it is a bad idea to have the inheritance defined from contracts to templates, but for lines in the other direction: from template lines to contract lines.
But maybe it would be better to have contracts and contract templates in the same models, with some fields als partner_id not required when used as a template.
Anyway that might be to big a change for now, but maybe there are good ideas to solve the problem without changing to much?
from contract.
What about depending on the module contract?
from contract.
Issue can be solved, or should I say worked around, with this PR: #129
from contract.
@pedrobaeza What did you mean with depending on contract? My code was depending on contract, that is how I ran into the issue described.
from contract.
May be related: #169
from contract.
Solved here: 3c0c73c
from contract.
Related Issues (20)
- Issue with auto pricing on contract template lines HOT 1
- Migration to version 17.0 HOT 5
- Error when selected auto renew in contract template HOT 3
- Invoice lines are not assigned with the correct partner_id HOT 2
- Question regarding subscription and contract modules HOT 7
- [16.0] contract: Error migrating from 15.0 to 16.0 HOT 5
- [16.0] Bugs and improvements in subscription_oca HOT 2
- [16.0] Problem with post-period contracts HOT 2
- [16.0][BUG] contract: 'last_date_invoiced' is not calculating correctly on the lines.
- [16.0] contract: Invoices after contract termination HOT 6
- [16.0] subscription_oca: error when creating subscription invoice (manually or cron) with "Next Invoice Date" value is empty
- Reccuring Stopped
- [16.0] Error Group by date end
- [17.0] New module: subscription_oca_purchase HOT 1
- Purpose of refactoring subscription_oca module HOT 17
- [17.0] Bug in subscription_oca
- [17.0] bug in contract HOT 1
- [16.0] Wrong translation HOT 2
- [16.0] Wrong translation HOT 1
- When creating invoice, the last_date_invoice is with wrong date for 2 or more products HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contract.